# Yahoo Finance2 (MCP server)

> 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.

Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill. Copyright (c) 2021 by Gadi Cohen and Pilwon Huh. MIT licensed.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/gadicc/yahoo-finance2 |
| GitHub stars | 801 |
| License | MIT |
| Language | HTML |
| Transport | stdio |
| Packages | npm: yahoo-finance2 |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Finance |
| Latest release | v4.0.3 (Oct 4, 2026) |
| Last commit | Oct 4, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "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

```sh
claude mcp add --transport stdio yahoo-finance2 -- npx -y yahoo-finance2
```

### Cursor (.cursor/mcp.json)

```json
{
  "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 (.vscode/mcp.json)

```json
{
  "servers": {
    "yahoo-finance2": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yahoo-finance2"
      ]
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Similar MCP servers

- [CCXT](https://appsgit.com/mcp-servers/ccxt): Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets. (44,271 stars, MIT, official)
- [Finance Toolkit](https://appsgit.com/mcp-servers/finance-toolkit): 200+ transparent financial metrics calculated from raw statements, not third-party endpoints. (5,402 stars, MIT, needs API key)
- [Tradingview MCP](https://appsgit.com/mcp-servers/tradingview-mcp): Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex. (4,948 stars, MIT)
- [EdgarTools](https://appsgit.com/mcp-servers/edgartools): Open-source SEC EDGAR toolkit — 13 tools, 7 prompts, every filing type. (2,776 stars, MIT)
- [AI](https://appsgit.com/mcp-servers/ai): MCP server integrating with Stripe - tools for customers, products, payments, and more. (1,859 stars, MIT, official)
- [Tradememory Protocol](https://appsgit.com/mcp-servers/tradememory-protocol): Tamper-evident decision audit trail and outcome-weighted memory for AI trading agents. (1,425 stars, MIT)

---

Canonical page: https://appsgit.com/mcp-servers/yahoo-finance2
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
