Financial Modeling Prep MCP Server
The Financial Modeling Prep MCP Server enables AI assistants to access comprehensive financial data through a Model Context Protocol (MCP) implementation, offering 253+ tools across 24 categories with flexible configuration options.
Key Capabilities:
Dynamic Server Modes: Supports Dynamic, Static, and Legacy modes with runtime toolset management (beta) for task-specific optimization
Company Intelligence: Search symbols/names, access detailed profiles, executive information, market cap, employee counts, and M&A data
Financial Statements: Retrieve income statements, balance sheets, cash flow statements (as-reported and TTM), with revenue segmentation by product/geography
Valuation & Analysis: Key metrics, ratios, DCF valuations (standard and custom), enterprise value, and financial health scores
Technical Analysis: Calculate SMA, EMA, RSI, ADX, Williams %R, and other indicators with real-time/historical price data
Market Data: Access S&P 500, NASDAQ, Dow Jones constituents, sector/industry performance, market hours, and calendars (earnings, IPO, economic events)
News & Filings: Financial news, press releases, SEC filings (8-K, 10-K, 10-Q) with analytics, and filing extracts
Trading Intelligence: Track insider trades, institutional ownership (13F filings), and government trading disclosures (Senate/House)
ETFs & Funds: Holdings, sector/country weightings, asset exposure, and fund disclosures
Global Markets: Cryptocurrency and forex quotes, historical charts, commodities, treasury rates, and economic indicators
Bulk Data: CSV format support for large-scale analysis of profiles, statements, and metrics
Integration: Standardized HTTP/JSON-RPC interface with deployment options via registries (Smithery.ai, Glama.ai, Contexaai.com) or local/Docker setup.
Implements the Creative Commons licensing framework, with the project specifically licensed under the Attribution-NonCommercial-NoDerivatives 4.0 International License.
Enables interaction with GitHub through the MCP server, allowing for repository management and triggering workflows that verify builds through pull requests.
Integrates with GitHub Actions to automatically verify build processes when pull requests are created and to automate the release process by building and publishing packages to NPM.
Provides integration with NPM to automate package publishing as part of the release process when new GitHub releases are created.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Financial Modeling Prep MCP Serverget the latest stock price and P/E ratio for Apple"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Financial Modeling Prep MCP Server
A Model Context Protocol (MCP) server for the Financial Modeling Prep API, exposing 250+ financial data tools to AI assistants.
Features
250+ Financial Tools across 24 categories — stocks, ETFs, crypto, forex, commodities, economics, and more
Dynamic Tool Management — built on toolception for runtime enable/disable of toolsets via meta-tools
Three Server Modes — Dynamic (meta-tools), Static (pre-loaded toolsets), or All Tools (default)
Flexible Deployment — use the hosted instance or self-host via npm, Docker, or source
HTTP/SSE Transport — compatible with Claude.ai, Claude Desktop, and MCP registries
Related MCP server: MCP Yahoo Finance
Quick Start
Hosted Instance (Fastest)
No installation required. Connect directly:
https://financial-modeling-prep-mcp-server-production.up.railway.app/mcpProvide your FMP_ACCESS_TOKEN in session configuration and start using 5 meta-tools to load toolsets on demand.
Self-Hosted (One-Liner)
npx financial-modeling-prep-mcp-server --fmp-token=YOUR_FMP_API_KEYOr install globally:
npm install -g financial-modeling-prep-mcp-server
fmp-mcp --fmp-token=YOUR_FMP_API_KEYGet your API key at financialmodelingprep.com.
Table of Contents
Installation
Prerequisites: Node.js 25.3.0 or higher (for v2.6.0+). For older versions (v2.5.x and below), Node.js 20+ is required.
Choose the method that fits your workflow:
NPM —
npm install -g financial-modeling-prep-mcp-serverDocker — build from source or pull a pre-built image
Source — clone and run with
npm install && npm run build
See docs/INSTALLATION.md for detailed steps per method.
Configuration
The server supports three operational modes controlled via CLI arguments, environment variables, or session configuration:
Mode | How to Enable | Description |
Dynamic |
| Starts with 5 meta-tools; load toolsets at runtime |
Static |
| Pre-loads specified toolsets on session creation |
All Tools (default) | (default) | Loads all 250+ tools immediately |
Precedence: CLI args > Environment variables > Session config > Defaults.
See docs/CONFIGURATION.md for the full configuration reference.
Usage
Connect to the server via HTTP/SSE transport:
Claude.ai / Claude Desktop — add as a remote connector (Settings > Connectors)
Custom clients — POST to
/mcpwithmcp-client-idheaderMCP registries — Smithery.ai, Glama.ai, and others
See docs/USAGE.md for client-specific setup, session headers, and request examples.
Available Tools
24 categories covering:
Search · Directory & Symbol Lists · Company Information · Financial Statements · Financial Metrics & Analysis · Technical Indicators · Quotes & Price Data · Market Indexes & Performance · Market Data · News & Press Releases · SEC Filings · Insider & Institutional Trading · ETFs & Funds · Government Trading · Cryptocurrency & Forex · Earnings · Special Data Sets · Commodities · Economics · Bulk Data Tools
See docs/API_REFERENCE.md for the complete tool catalog.
Registries
This server is listed on multiple MCP registries for easy discovery:
See docs/REGISTRIES.md for registry-specific setup instructions.
Contributing
Contributions are welcome. Please see CONTRIBUTING.md for development setup, testing, and pull request guidelines.
License
Maintenance
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/imbenrabi/Financial-Modeling-Prep-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server