Gene Library Courses Download Pricing Contact Sign in
fmp logo
finance Official Website

FMP MCP Server – Financial Market Data Access

Financial Modeling Prep's official MCP server exposes FMP financial market datasets to AI agents through a single MCP connection URL. Use it to retrieve real-time prices, historical data, financial statements, analyst data, filings, news, economics, ETFs, forex, crypto, commodities, and other structured market data.

#market-data#stocks#fundamentals

Overview

Financial Modeling Prep (FMP) provides an official MCP server that connects AI agents to FMP's financial market data APIs through the Model Context Protocol. It is intended for analysts, developers, and fintech builders who want AI assistants to retrieve live and historical financial data without writing custom API-wrapper code for each endpoint.

What the MCP server enables

FMP's MCP server wraps FMP REST API endpoints into MCP tools with strict parameter definitions. Once connected, compatible agents can discover available tools and call them directly for financial research and analysis.

Documented capability areas include:

  • Real-time market data, quotes, company search, and company profiles.
  • Historical market data, charts, dividends, splits, and market calendars.
  • Financial statements, ratios, discounted cash flow data, analyst estimates, and price targets.
  • Earnings, earnings-call transcripts, SEC filings, Form 13F data, insider trades, and congressional trading datasets.
  • Market news, economics data, index data, ETF and mutual fund data, forex, crypto, commodities, ESG data, and technical indicators.

FMP describes the MCP server as a way to give agents direct access to more than 70,000 stock data points while reducing context-window waste and avoiding hallucinated financial figures.

When to use it

Use FMP MCP when an AI workflow needs current or historical financial data. Practical examples include comparing valuation ratios across companies, pulling a company's latest balance sheet, researching a stock after a price move, summarizing recent news and filings, generating a market-intelligence briefing, building a junior analyst chatbot, or adding live financial context inside an IDE while developing a fintech application.

It is especially useful when the agent needs structured market data from a known financial-data provider rather than general web-search snippets.

Connection and authentication

The official connection URL is:

https://financialmodelingprep.com/mcp?apikey=${FMP_API_KEY}

FMP documents this URL for MCP-compatible clients such as Claude, Cursor, Cloudflare Workers AI, and custom Python agents using MCP libraries. An active FMP API key is required. The API key is supplied as the apikey query parameter in the MCP URL.

Key considerations

Each request made by an AI agent through the MCP server counts toward the user's existing FMP API limits. The available data and request volume depend on the user's FMP plan and API-key permissions. Store the API key securely and avoid pasting it into public files, screenshots, or shared prompts. FMP MCP provides financial data access and tool definitions; it does not replace investment judgment, compliance review, or independent validation of market data. Agents should show source context and calculations clearly when producing financial analysis or investment research.

Supported Transports

streamable_http

URL: https://financialmodelingprep.com/mcp?apikey=${FMP_API_KEY}

Frequently Asked Questions

When should an AI agent use the FMP MCP server?
Use it when an agent needs structured financial market data, such as real-time stock quotes, company fundamentals, financial statements, valuation ratios, filings, analyst estimates, market news, technical indicators, or multi-company research workflows.
What does the FMP MCP server add to an AI agent's capabilities?
It gives the agent direct tool-based access to FMP datasets and strict parameter schemas, allowing the agent to retrieve live and historical market data instead of guessing figures or requiring pasted API documentation.
What can an AI agent access or manage through FMP MCP?
The agent can access FMP financial datasets such as quotes, historical prices, company profiles, financial statements, charts, earnings, transcripts, SEC filings, Form 13F data, insider trades, analyst data, economics, news, indexes, ETFs, mutual funds, forex, crypto, commodities, ESG data, and technical indicators.
How is authentication configured for the FMP MCP server?
FMP requires an active FMP API key. The key is provided in the MCP connection URL as the apikey query parameter, for example https://financialmodelingprep.com/mcp?apikey=${FMP_API_KEY}. Never place a real key in public configuration files.
Which transport should be used for the FMP MCP server?
Use the official remote MCP URL https://financialmodelingprep.com/mcp?apikey=${FMP_API_KEY} in MCP-compatible clients such as Claude, Cursor, Cloudflare Workers AI, or custom MCP clients. FMP's official documentation does not require a separate local stdio package.