Yahoo Finance2
Yahoo Finance2 is an MCP server that adds finance tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill. It has 809 GitHub stars, is released under the MIT license and runs locally with npx -y yahoo-finance2.
github.com/gadicc/yahoo-finance2 (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
Install Yahoo Finance2
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"yahoo-finance2": {
"command": "npx",
"args": [
"-y",
"yahoo-finance2"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio yahoo-finance2 -- npx -y yahoo-finance2Cursor
{
"mcpServers": {
"yahoo-finance2": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"yahoo-finance2"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"yahoo-finance2": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"yahoo-finance2"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
About Yahoo Finance2
Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill. Copyright (c) 2021 by Gadi Cohen and Pilwon Huh. MIT licensed.
- yahoo
- finance
- yahoo-finance
- agent-skill
- mcp-server
Similar MCP servers
More finance MCP servers
Attestix
VibeTensor/attestix
AI agent identity, signed credentials, delegated authority and governance evidence.
Active · last commit Oct 12, 2026
OfficialFinancePythonMaverick MCP
wshobson/maverick-mcp
Stock market MCP server for Yahoo Finance data, technical analysis, portfolio tracking, and Python backtesting.
Active · last commit Oct 17, 2026
FinancePythonCNEquity
rootSunc/CNEquity
China A-share data lake for AI agents: prices, fundamentals, flows and events, point-in-time.
Active · last commit Oct 25, 2026
FinancePythonEmilia Protocol
emiliaprotocol/emilia-protocol
Exact-action approval for consequential agent actions: request, track, and verify signed receipts.
Maintained · last commit Oct 7, 2026
FinanceTypeScriptTickDB Market Data
TickDB/tickdb-unified-realtime-marketdata-api
Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes.
Active · last commit Oct 14, 2026
FinancePythonOracle3 prediction-market arbitrage checks
YichengYang-Ethan/oracle3-prediction-market-agent
Kalshi and Polymarket data, venue fees, no-arbitrage checks and paper execution for AI agents.
Active · last commit Oct 12, 2026
FinancePython
How do I install the Yahoo Finance2 MCP server?
Add the command npx -y yahoo-finance2 to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Yahoo Finance2 free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Yahoo Finance2 actively maintained?
The most recent commit was on Oct 22, 2026. The latest release is v4.0.5, published Oct 21, 2026. appsgit only lists MCP servers with a commit in the last six months.