- Explore MCP Servers
- mcp-yfinance
Mcp Yfinance
What is Mcp Yfinance
mcp-yfinance is a Model Context Protocol server designed to fetch financial data from Yahoo Finance using the yfinance API, specifically for integration with Claude Desktop.
Use cases
Use cases for mcp-yfinance include personal finance tracking, investment analysis, market research, and financial reporting.
How to use
To use mcp-yfinance, clone the repository, install the required packages, configure the server in your Claude Desktop config file, and restart Claude Desktop to access the yfinance server from the plugin menu.
Key features
Key features include fetching current stock prices, retrieving historical stock data, checking institutional ownership, and analyzing analyst price targets.
Where to use
undefined
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Yfinance
mcp-yfinance is a Model Context Protocol server designed to fetch financial data from Yahoo Finance using the yfinance API, specifically for integration with Claude Desktop.
Use cases
Use cases for mcp-yfinance include personal finance tracking, investment analysis, market research, and financial reporting.
How to use
To use mcp-yfinance, clone the repository, install the required packages, configure the server in your Claude Desktop config file, and restart Claude Desktop to access the yfinance server from the plugin menu.
Key features
Key features include fetching current stock prices, retrieving historical stock data, checking institutional ownership, and analyzing analyst price targets.
Where to use
undefined
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










