Yahoo Finance MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yahoo Finance MCP ServerGet current quote for AAPL and MSFT"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yahoo Finance MCP Server
Live company data and news inside Claude, by ticker. Python + official MCP SDK (FastMCP, stdio) + yfinance.
Building a new MCP server for a different site? Start from MCP_PLAYBOOK.md — a self-contained recipe (with the common failure modes) that uses this repo as the reference implementation.
Tools
Tool | What it returns |
| Price, day change, day/52w range, volume, market cap — accepts multiple tickers |
| OHLCV bars over a period or date range |
| Condensed income / balance / cashflow, annual or quarterly, + Yahoo link |
| Sector, industry, description, employees, key stats |
| P/E, fwd P/E, EV/EBITDA, EV/Rev, P/B, margins, growth, leverage — multi-ticker for comps |
| Price targets, consensus, ratings breakdown, EPS/revenue estimates |
| Headlines with source, timestamp, link |
Non-US listings need the exchange suffix: D05.SI (SGX), 0700.HK (HKEX), 7203.T (Tokyo).
Related MCP server: Yahoo Finance MCP Server
Install
cd "D:\Documents\AI Automation\Claude Code Projects\Yahoo Finance"
python -m venv .venv
.venv\Scripts\pip install -r requirements.txt(Already done — the venv in this folder is ready.)
Register in Claude Desktop
Add to %APPDATA%\Claude\claude_desktop_config.json, then restart Claude Desktop:
{
"mcpServers": {
"yahoo-finance": {
"command": "D:\\Documents\\AI Automation\\Claude Code Projects\\Yahoo Finance\\.venv\\Scripts\\python.exe",
"args": ["D:\\Documents\\AI Automation\\Claude Code Projects\\Yahoo Finance\\server.py"]
}
}
}Register in Claude Code
claude mcp add yahoo-finance -s user -- "D:\Documents\AI Automation\Claude Code Projects\Yahoo Finance\.venv\Scripts\python.exe" "D:\Documents\AI Automation\Claude Code Projects\Yahoo Finance\server.py"-s user makes it available in every project.
Register in Claude chat (claude.ai) — custom connector
claude.ai only accepts remote servers, so the server must be hosted at a public
HTTPS URL. The same server.py serves this with the --http flag (Streamable HTTP
at /mcp).
Deploy free on Render (~10 min, one time):
Push this folder to a GitHub repo (
.venvis gitignored).At https://render.com → New → Web Service → connect the repo.
render.yamlis picked up automatically (build:pip install -r requirements.txt, start:python server.py --http, free plan).Copy the service URL, e.g.
https://yahoo-finance-mcp.onrender.com.
Then in any Claude account: Settings → Connectors → Add custom connector →
paste https://<your-service>.onrender.com/mcp → Add (no authentication needed).
Notes:
Render's free tier sleeps after ~15 min idle; the first tool call after a pause takes ~30–60 s to cold-start, then it's fast.
The endpoint has no auth — anyone with the URL can query it. It only serves public market data, but don't post the URL anywhere.
If tool calls fail from the cloud but work locally, Yahoo is rate-limiting the host's IP — redeploy or upgrade the instance.
Run manually (debugging)
.venv\Scripts\python.exe server.py # stdio (Claude Desktop / Code)
.venv\Scripts\python.exe server.py --http # Streamable HTTP on :8000/mcp (claude.ai)Speaks MCP over stdin/stdout; logs go to stderr. Data is unofficial Yahoo Finance via yfinance — fine for screens and sanity checks, not a substitute for filings or CapIQ on anything that goes in a deliverable.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HarveyPrs/yahoo-finance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server