Skip to main content

MCP server for Financial Modeling Prep - 19 tools for market data via Claude

Project description

fmp-mcp

Financial intelligence for your AI agent — powered by live market data.

Give Claude (or any MCP-compatible AI) the ability to analyze stocks, screen markets, compare peers, read earnings calls, and track sector rotations — all grounded in real financial data from Financial Modeling Prep.

This isn't a raw API wrapper. Each tool is purpose-built for a specific analytical task, composing multiple data sources into structured, analysis-ready outputs designed for AI consumption.

What your AI can do

Market Intelligence

  • get_market_context — One-call market snapshot: indices, sectors, gainers/losers, economic events
  • get_sector_overview — Sector and industry performance with P/E valuations
  • get_news — Stock-specific or broad market news
  • get_events_calendar — Earnings, dividends, splits, and IPO calendars
  • get_economic_data — Economic indicators and high-impact event tracking

Fundamental Analysis

  • fmp_fetch — Direct access to 60+ financial data endpoints (income statements, balance sheets, cash flows, key metrics, and more)
  • compare_peers — Side-by-side peer comparison across 12 financial ratios
  • get_earnings_transcript — Parsed earnings calls with speaker attribution and Q&A sections

Stock Screening & Discovery

  • screen_stocks — Screen by sector, market cap, beta, dividend, volume, and more
  • get_institutional_ownership — Institutional holder analytics and ownership trends
  • get_insider_trades — Insider transaction flow and statistics
  • get_etf_holdings — ETF/fund holdings, sector and country allocation

Technical Analysis

  • get_technical_analysis — Composite signals from 7 indicators (SMA, EMA, RSI, MACD, Bollinger, ADX, Williams %R) with buy/sell scoring

Analyst Sentiment

  • get_estimate_revisions — Historical EPS/revenue estimate revision trends
  • screen_estimate_revisions — Screen for estimate momentum across a universe of stocks

Data Discovery

  • fmp_list_endpoints — Browse all 60+ available data endpoints by category
  • fmp_describe — Get parameter documentation for any endpoint
  • fmp_search — Search for companies by name or ticker
  • fmp_profile — Company profile with sector, industry, and key stats

Install

pip install fmp-mcp

Optional estimate-revision tools (requires PostgreSQL):

pip install "fmp-mcp[estimates]"

Configuration

Set your API key:

export FMP_API_KEY="your_key"

Optional settings:

  • FMP_CACHE_DIR — Custom cache directory (default: ~/.cache/fmp-mcp/)
  • FMP_CACHE_MAXSIZE — Max in-memory cache entries (default: 200)

Run

fmp-mcp

Or use with Claude Code:

{
  "mcpServers": {
    "fmp-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["fmp-mcp"],
      "env": { "FMP_API_KEY": "your_key" }
    }
  }
}

How it's different

Raw API wrapper fmp-mcp
Approach Expose every endpoint 1:1 Purpose-built analytical tools
Output Raw JSON, dozens of fields Structured, summarized, analysis-ready
Composition One API call per tool Multiple sources stitched together
AI-optimized Generic descriptions Tool descriptions and schemas designed for LLM tool selection
Caching None Per-endpoint disk caching with configurable refresh strategies

Requirements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fmp_mcp-0.1.0.tar.gz (103.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fmp_mcp-0.1.0-py3-none-any.whl (125.0 kB view details)

Uploaded Python 3

File details

Details for the file fmp_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: fmp_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 103.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for fmp_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 451ff34d773089a2666f457793afdbeaf4a6958a9d49b3cbca9997d2a9c1275c
MD5 41c9febe208bad3d0043cb3fe5a3a8f5
BLAKE2b-256 7dce963e228ab3b1110f2007d941dd14a8e0317e57b62cf15805de0b2bd33691

See more details on using hashes here.

File details

Details for the file fmp_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fmp_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 125.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for fmp_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 233cd608042fb0fd8bb799c42c8b6c25836d38843b2a7d8da275c74fa7a52786
MD5 5fb6afa13e2fb6fa6780538b9af63e71
BLAKE2b-256 8913db7956d13ab9b98659a103296164a6d424dbcccd2bf2967c30859e1aad1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page