FinDataMCP

Local 2025-09-01 01:02:46 0

An MCP server that enables Claude Desktop to access and analyze financial data through Yahoo Finance integration.


To run:

  1. Clone repo

  2. Install uv (package manager):

    curl -LsSf https://astral.sh/uv/install.sh | sh

  3. Navigate to folder:

    cd FinDataMCP

  4. Install dependencies:

    # Create virtual env and activate it
    uv venv
    source .venv/bin/activate
    
    # Install dependencies
    uv add "mcp[cli]" httpx yfinance

  5. Check that everything s working by running server:

    uv run findata.py

Connecting to Claude Desktop

  1. Install Claude Desktop if you haven t already

  2. Edit Claude Desktop configuration file (Claude>settings>developer>edit config):

  3. Add the following configuration:

    {
        "mcpServers": {
            "findata": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/ABSOLUTE/PATH/TO/PARENT/FOLDER/FinDataMCP",
                    "run",
                    "findata.py"
                ]
            }
        }
    }

  4. Restart Claude Desktop

For windows cmds: see https://modelcontextprotocol.io/quickstart/server

[
  {
    "description": "Get the current stock price using yfinance.nn    Args:n        symbol: Stock ticker (e.g. AAPL, TSLA, MSFT)n    ",
    "inputSchema": {
      "properties": {
        "symbol": {
          "title": "Symbol",
          "type": "string"
        }
      },
      "required": [
        "symbol"
      ],
      "title": "get_stock_priceArguments",
      "type": "object"
    },
    "name": "get_stock_price"
  }
]