Skip to main content
Glama
aidenbmiller26-finanalyst

Financial Data MCP Server

πŸ“ˆ Financial Data MCP Server

A Model Context Protocol server that gives AI assistants like Claude live access to stock, equities, and cryptocurrency data from Yahoo Finance.

Python License: MIT MCP

Ask your assistant "What's Apple trading at?" or "Compare AAPL, MSFT, and GOOGL" and get real-time answers backed by market data β€” no copy-pasting from finance sites.

Financial Data MCP Server demo


✨ Features

Capability

Description

πŸ“Š Stock data

Real-time prices, P/E ratios, market cap, and historical OHLCV

🏒 Company info

Sector, financials, dividend yields, and analyst metrics

β‚Ώ Crypto data

Live prices and history for BTC, ETH, and major coins (24/7)

πŸ“‰ Market indices

Track the S&P 500, NASDAQ, Dow Jones, and more

βš–οΈ Comparison

Compare multiple tickers side by side in one call

🐍 Lightweight

Pure Python, Python 3.9+, only two dependencies

Related MCP server: Finance MCP Server

🧰 Available Tools

Tool

Description

Key parameters

stock_price

Current price and basic metrics

symbol

stock_history

Historical OHLCV data

symbol, period

stock_info

Detailed company information

symbol

crypto_price

Current cryptocurrency price

symbol (e.g. BTC-USD)

crypto_history

Historical cryptocurrency data

symbol, period

market_summary

Snapshot of major indices

indices (comma-separated)

compare_stocks

Side-by-side ticker comparison

symbols (comma-separated)

period values: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max

πŸ“‹ Prerequisites

  • Python 3.9 or newer

  • pip for installing dependencies

  • An MCP-compatible client (e.g. Claude Desktop) to use the server interactively

πŸš€ Installation

# 1. Clone the repository
git clone https://github.com/<your-username>/financial-data-mcp-server.git
cd financial-data-mcp-server

# 2. (Recommended) create and activate a virtual environment
python3 -m venv .venv
source .venv/bin/activate        # Windows: .venv\Scripts\activate

# 3. Install dependencies
pip install -r requirements.txt

▢️ Usage

Run the server directly (it communicates over stdio):

python server.py

Run the test suite to confirm everything works:

python test_server.py

Connect to Claude Desktop

Add the server to your claude_desktop_config.json (see DOCS.md for the exact path on your OS and platform-specific notes):

{
  "mcpServers": {
    "financial-data": {
      "command": "python3",
      "args": ["/absolute/path/to/financial-data-mcp-server/server.py"]
    }
  }
}

Restart Claude Desktop and the financial-data tools will be available.

πŸ’¬ Example

You:  Compare AAPL, MSFT, and GOOGL.

Claude (via compare_stocks):
  AAPL   $301.54   P/E 36.46
  MSFT   $411.74   P/E 24.52
  GOOGL  $363.31   P/E 27.69

πŸ—‚οΈ Project Structure

.
β”œβ”€β”€ server.py            # Main MCP server implementation
β”œβ”€β”€ test_server.py       # Functional tests
β”œβ”€β”€ client_example.py    # Example tool calls
β”œβ”€β”€ requirements.txt     # Python dependencies
β”œβ”€β”€ README.md            # You are here
└── LICENSE              # MIT License

Full documentation β€” setup, Claude Desktop connection, tools, MCP protocol reference, and troubleshooting β€” lives in DOCS.md.

πŸ“‘ Data Source

All data is sourced from Yahoo Finance via the yfinance library. This project is not affiliated with or endorsed by Yahoo. Data is provided for informational purposes only and is not financial advice.

πŸ”’ Security

Found a vulnerability? Please review our Security Policy for responsible disclosure instructions.

πŸ“„ License

Distributed under the MIT License. See LICENSE for details.

MCP-SERVER

Financial-Analysis-MCP-SERVER

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Provides real-time stock quotes, historical price data, financial news, and multi-stock comparisons using Yahoo Finance data. Enables users to access comprehensive financial market information through natural language queries.
    600
    MIT
  • A
    license
    -
    quality
    -
    maintenance
    Provides real-time financial data from Yahoo Finance, enabling stock price lookups, historical data analysis, company information retrieval, and multi-stock comparisons through natural language queries.
  • A
    license
    -
    quality
    D
    maintenance
    Enables LLMs to retrieve stock market data and financial information from Yahoo Finance using the yfinance Python library. Supports querying stock prices, historical data, and other financial metrics through natural language.
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides comprehensive financial data from Yahoo Finance, enabling retrieval of stock prices, company information, financial statements, options data, analyst recommendations, and market news through natural language queries.
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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/aidenbmiller26-finanalyst/MCP-SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server