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 801 GitHub stars, is released under the MIT license and runs locally with npx -y yahoo-finance2.
- Finance
- MIT
- Actively maintained
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
CCXT
ccxt/ccxt
Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets.
OfficialFinancePythonFinance Toolkit
JerBouma/FinanceToolkit
200+ transparent financial metrics calculated from raw statements, not third-party endpoints.
FinancePythonTradingview MCP
atilaahmettaner/tradingview-mcp
Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex.
FinancePythonEdgarTools
dgunning/edgartools
Open-source SEC EDGAR toolkit — 13 tools, 7 prompts, every filing type.
FinancePythonAI
stripe/ai
MCP server integrating with Stripe - tools for customers, products, payments, and more.
OfficialFinanceTypeScriptTradememory Protocol
mnemox-ai/tradememory-protocol
Tamper-evident decision audit trail and outcome-weighted memory for AI trading agents.
FinancePython
What is 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 801 GitHub stars, is released under the MIT license and runs locally with npx -y yahoo-finance2. The source code is at github.com/gadicc/yahoo-finance2.
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 4, 2026. The latest release is v4.0.3, published Oct 4, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.