Financial Modeling Prep MCP server

CommunityFinancial Modeling Prep132Config last verified Jun 1, 2026

An MCP server for the Financial Modeling Prep API: 250+ financial data tools — fundamentals, statements, quotes, news, filings, and more.

This Financial Modeling Prep (FMP) MCP server gives an AI agent access to the full FMP financial data API — more than 250 tools spanning company information and fundamentals, financial statements, valuation metrics and DCF, real-time and historical quotes, technical indicators, market indexes and performance, news and press releases, SEC filings, insider and institutional trading, government (Senate) trading, ETFs and funds, earnings calendars, cryptocurrency and forex, commodities, economics, ESG, and bulk data exports. With it an agent can answer a portfolio question with live numbers, pull a ticker's fundamentals into an analysis, or assemble a market briefing without you wiring up the API by hand. The tools are organized into 24 named toolsets (search, company, quotes, statements, calendar, charts, news, analyst, market-performance, insider-trades, institutional, indexes, economics, crypto, forex, commodities, etf-funds, esg, technical-indicators, senate, sec-filings, earnings, dcf, and bulk).

Loading all 250+ tools at once can overwhelm an agent's tool list, so the server offers three modes. The default loads every tool. Static mode pre-loads only the toolsets you name via FMP_TOOL_SETS. Dynamic mode (DYNAMIC_TOOL_DISCOVERY=true) starts with just five meta-tools — list_toolsets, describe_toolset, enable_toolset, disable_toolset, and list_tools — so the agent loads the toolsets it needs at runtime and keeps its context lean. It is published to npm as financial-modeling-prep-mcp-server and runs locally over stdio with npx, authenticating with your FMP API key via the --fmp-token flag or the FMP_ACCESS_TOKEN environment variable. Data coverage and freshness follow your FMP plan.

Quick install

Copy-paste configs are provided for all 8 supported clients. Pick your client below.

Add to ~/.claude.json

~/.claude.json
json
{
  "mcpServers": {
    "financial-modeling-prep": {
      "command": "npx",
      "args": [
        "financial-modeling-prep-mcp-server",
        "--fmp-token=YOUR_FMP_API_KEY"
      ],
      "env": {
        "FMP_ACCESS_TOKEN": "<FMP_ACCESS_TOKEN>",
        "DYNAMIC_TOOL_DISCOVERY": "<DYNAMIC_TOOL_DISCOVERY>"
      }
    }
  }
}
Or via CLI
bash
claude mcp add financial-modeling-prep -- npx financial-modeling-prep-mcp-server --fmp-token=YOUR_FMP_API_KEY

Available tools

ToolDescription
list_toolsetsLists the available FMP toolsets (the 24 named tool categories).
describe_toolsetDescribes the tools contained in a specific toolset.
enable_toolsetEnables a toolset at runtime, loading its tools into the session.
disable_toolsetDisables a previously enabled toolset, removing its tools from the session.
list_toolsLists the tools currently loaded in the session.

Required configuration

  • FMP_ACCESS_TOKENRequired

    Financial Modeling Prep API key. Can also be passed as the --fmp-token flag.

  • DYNAMIC_TOOL_DISCOVERYOptional

    When true, runs in dynamic mode with five meta-tools that load toolsets on demand. Optional.

  • FMP_TOOL_SETSOptional

    Comma-separated list of toolsets to pre-load in static mode (e.g. search,company,statements). Optional.

What you can do with it

Pull fundamentals into an analysis

Enable the statements and company toolsets and let the agent fetch income statements, balance sheets, and key metrics for a ticker, then reason over them to answer a valuation or screening question with live data.

Keep the tool list lean with dynamic discovery

Run with DYNAMIC_TOOL_DISCOVERY=true so the agent starts with five meta-tools and enables only the toolsets it needs (say, quotes and news) at runtime, avoiding the context cost of loading all 250+ tools at once.

FAQ

Is it free?
The MCP server is open source under Apache-2.0 and free to run, but it rides the Financial Modeling Prep API, which requires an API key. FMP has a free tier with limits; richer and higher-volume data follows your paid FMP plan.
Does it support remote/OAuth?
It runs locally over stdio with npx and authenticates using your FMP API key (the --fmp-token flag or FMP_ACCESS_TOKEN). There is no OAuth flow; the server can also be self-hosted over HTTP if you prefer, but auth is the FMP key in all cases.
How do I avoid loading 250+ tools at once?
Use static mode to pre-load only the toolsets you name with FMP_TOOL_SETS, or dynamic mode (DYNAMIC_TOOL_DISCOVERY=true), which exposes five meta-tools so the agent enables toolsets on demand and keeps its context focused.
← Browse all finance servers