About Yfinance
Yfinance is an MCP server published by 9nate-drake in the Developer Tools category: mCP Server for fething yfinance financial data into Claude Desktop.
The repository has 20 stars and 5 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/9nate-drake/mcp-yfinanceThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Yfinance
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository just now. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
yfinance MCP Server
A Model Context Protocol server that provides financial data to Claude Desktop using yfinance (Yahoo Finance api). Most code created by Claude.
Installation
Requirements
- Python 3.10 or higher
- Claude Desktop
Install
- Clone this repo:
git clone https://github.com/9nate-drake/mcp-yfinance
- Install required packages:
pip install mcp yfinance
Configuration
Add to your Claude Desktop config file claude_desktop_config.json (on Windows this is usually at %APPDATA%/Claude/):
{
"mcpServers": {
"yfinance": {
"command": "python",
"args": [
"/path/to/finance_server/server.py"
]
}
}
}
Replace the path with the actual full path to your server.py file.
Usage
- Restart Claude Desktop
- Look for the yfinance server in the 🔌 menu
- Example queries:
- Get current stock price: "Get me the current stock price for MSFT"
- Get historical data: "Analyse the last 3 months of Apple stock performance"
- Check ownership: "What's the intsitutional ownership of Nvidia?"
- Check analyst targets: "What's the median price target for TSLA?"
Development
To modify the server:
- Edit server.py directly
- Restart Claude Desktop to apply changes
TODO
* Add complete range of yfinance functions
- Check compliance with anthropic recommended practice for mcp servers
README fetched from the repository just now. The original is authoritative.