Financial Modeling Prep
Financial Modeling Prep MCP Server
What is Financial Modeling Prep?
Financial Modeling Prep is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to financial modeling prep mcp server
Financial Modeling Prep MCP Server
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Financial Modeling Prep MCP Server
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx fmpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Financial Modeling Prep
The Financial Modeling Prep MCP Server gives AI assistants access to 50+ financial data tools powered by the Financial Modeling Prep (FMP) API, covering company profiles, income statements, balance sheets, cash flow statements, stock quotes, analyst ratings, price targets, technical indicators, and alternative assets including crypto, forex, and commodities. It connects Claude and other MCP clients to real-time and historical financial data, enabling sophisticated financial analysis through natural language — from comparing company fundamentals to tracking market movers and analyst sentiment.
Prerequisites
- A Financial Modeling Prep API key — sign up at https://financialmodelingprep.com/developer/docs/ (free tier available)
- Python 3.10 or later with pip or uv for dependency management
- An MCP-compatible client such as Claude Desktop
- An OpenAI API key (only required if using the optional chat agent feature)
Obtain a Financial Modeling Prep API key
Sign up at https://financialmodelingprep.com and retrieve your API key from the developer dashboard. The free tier provides access to many endpoints suitable for personal use.
Clone the repository and set up the environment
Clone the fmp-mcp-server repository and create a Python virtual environment.
git clone https://github.com/cdtait/fmp-mcp-server.git
cd fmp-mcp-server
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activateInstall dependencies and configure API keys
Install required packages and create your .env file from the template.
python -m pip install -r requirements.txt
cp .env.template .env
# Edit .env and add your FMP_API_KEYTest the server starts correctly
Start the server in stdio mode to verify it runs without errors. Press Ctrl+C to stop after confirming.
python -m src.serverAdd to your MCP client configuration
Edit your claude_desktop_config.json to register the FMP server. Use the absolute path to the Python binary inside your virtual environment.
{
"mcpServers": {
"fmp": {
"command": "/absolute/path/to/fmp-mcp-server/.venv/bin/python",
"args": ["-m", "src.server"],
"env": {
"FMP_API_KEY": "your_fmp_api_key_here"
}
}
}
}Restart Claude Desktop and verify
Fully quit and reopen Claude Desktop. Ask it for Apple's current stock price to confirm the FMP server is connected and returning data.
Financial Modeling Prep Examples
Client configuration
Add this to claude_desktop_config.json, replacing the Python path with the absolute path to your virtual environment's Python binary and adding your FMP API key.
{
"mcpServers": {
"fmp": {
"command": "/absolute/path/to/fmp-mcp-server/.venv/bin/python",
"args": ["-m", "src.server"],
"env": {
"FMP_API_KEY": "your_fmp_api_key_here"
}
}
}
}Prompts to try
After connecting the FMP server, use these prompts in Claude to analyze financial data.
- "What is Apple's current stock price and today's change?"
- "Show me AAPL's income statement for the last 4 quarters"
- "Compare AAPL and MSFT's financial performance using key metrics"
- "What are today's biggest stock market gainers and losers?"
- "Get the latest analyst ratings and price targets for AMZN"
- "What is the current Bitcoin price and 24-hour change?"
- "Show me the EURUSD exchange rate"
- "What are the EMA technical indicators for NVDA?"Troubleshooting Financial Modeling Prep
FMP API returns 401 or 403 — invalid API key
Verify your FMP_API_KEY is correct in your .env file or MCP config env block. Some endpoints require a paid FMP plan. Check your plan limits at https://financialmodelingprep.com/developer/docs/pricing.
Python module not found error when Claude Desktop starts the server
Ensure you are using the Python binary from inside your virtual environment (e.g., /path/to/fmp-mcp-server/.venv/bin/python), not the system Python. The system Python won't have the required packages installed.
Server health check fails — curl to /health returns connection refused
The stdio mode server (python -m src.server) doesn't expose an HTTP port. Use 'python -m src.server --streamable-http --port 8000' or '--sse --port 8000' to start an HTTP server for health checks and the MCP Inspector.
Frequently Asked Questions about Financial Modeling Prep
What is Financial Modeling Prep?
Financial Modeling Prep is a Model Context Protocol (MCP) server that financial modeling prep mcp server It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Financial Modeling Prep?
Follow the installation instructions on the Financial Modeling Prep GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Financial Modeling Prep?
Financial Modeling Prep works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Financial Modeling Prep free to use?
Yes, Financial Modeling Prep is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Financial Modeling Prep Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to Financial Modeling Prep? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Browse More Finance & Fintech MCP Servers
Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Financial Modeling Prep in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Financial Modeling Prep?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.