Financial Modeling Prep
Provides AI assistants access to comprehensive financial data including real-time stock quotes, company fundamentals, financial statements, market analysis, economic indicators, and 250+ financial tools across 24 categories from Financial Modeling Pr
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 provides ai assistants access to comprehensive financial data including real-time stock quotes, company fundamentals, financial statements, market analysis, economic indicators, and 250+ financial too...
Provides AI assistants access to comprehensive financial data including real-time stock quotes, company fundamentals, financial statements, market analysis, economic indicators, and 250+ financial tools across 24 categories from Financial Modeling Pr
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Provides AI assistants access to comprehensive financial dat
Use Cases
Maintainer
Works with
Installation
NPM
npx -y financial-modeling-prep-mcp-serverManual Installation
npx -y financial-modeling-prep-mcp-serverConfiguration
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 over 250 financial analysis tools spanning 24 categories, powered by the Financial Modeling Prep (FMP) API. It covers real-time stock quotes, company fundamentals, income statements, balance sheets, cash flow statements, SEC filings, insider trading data, technical indicators, ETF holdings, cryptocurrency prices, forex rates, economic indicators, commodities, earnings calendars, and bulk data exports. Analysts, traders, and developers can ask their AI assistant to pull live financial data, run fundamental analyses, and build investment research workflows without leaving their chat interface.
Prerequisites
- A Financial Modeling Prep API key — sign up at financialmodelingprep.com (free tier available)
- Node.js 20+ installed (Node.js 25.3.0+ required for version 2.6.0+)
- An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
Get your FMP API key
Sign up at financialmodelingprep.com and navigate to your dashboard to copy your API key. Free plans include a limited number of requests per day; paid plans unlock full data access.
Install the server via npm
Install the financial-modeling-prep-mcp-server package globally or use npx to run it on demand.
npm install -g financial-modeling-prep-mcp-serverTest the server from the command line
Verify that the server starts correctly by running it with your FMP API token directly.
npx financial-modeling-prep-mcp-server --fmp-token=YOUR_FMP_API_KEYAdd the server to your MCP client config
Open your Claude Desktop or other MCP client configuration file and add the FMP MCP server entry. Pass your FMP API key via the FMP_ACCESS_TOKEN environment variable.
{
"mcpServers": {
"financial-modeling-prep": {
"command": "npx",
"args": ["-y", "financial-modeling-prep-mcp-server"],
"env": {
"FMP_ACCESS_TOKEN": "your_fmp_api_key_here"
}
}
}
}Choose your tool loading mode (optional)
By default, all 250+ tools are loaded. For faster startup, set FMP_TOOL_SETS to a comma-separated list of categories (e.g., quotes,statements,news), or set DYNAMIC_TOOL_DISCOVERY=true to load toolsets on demand via meta-tools.
{
"mcpServers": {
"financial-modeling-prep": {
"command": "npx",
"args": ["-y", "financial-modeling-prep-mcp-server"],
"env": {
"FMP_ACCESS_TOKEN": "your_fmp_api_key_here",
"DYNAMIC_TOOL_DISCOVERY": "true"
}
}
}
}Restart your MCP client and verify
Restart Claude Desktop (or your MCP client) and ask for a stock quote to confirm the server is connected and your API key is working.
Financial Modeling Prep Examples
Client configuration
Claude Desktop configuration for the Financial Modeling Prep MCP server with dynamic tool discovery enabled.
{
"mcpServers": {
"financial-modeling-prep": {
"command": "npx",
"args": ["-y", "financial-modeling-prep-mcp-server"],
"env": {
"FMP_ACCESS_TOKEN": "your_fmp_api_key_here",
"DYNAMIC_TOOL_DISCOVERY": "true"
}
}
}
}Prompts to try
Example prompts that leverage the 250+ financial tools available through the FMP MCP server.
- "What is the current stock price and P/E ratio for Apple (AAPL)?"
- "Show me the last 3 years of income statements for Microsoft (MSFT)"
- "What insider trades have been reported for Tesla in the past 30 days?"
- "List the top holdings of the SPY ETF by weight"
- "What is the current federal funds rate and recent CPI data?"
- "Find the most recent SEC 10-K filing for Nvidia and summarize the risk factors"Troubleshooting Financial Modeling Prep
API returns 401 Unauthorized or 'Invalid API Key' errors
Double-check that FMP_ACCESS_TOKEN is set to your actual FMP API key (not a placeholder). You can also pass it directly as a CLI argument: --fmp-token=YOUR_KEY to confirm the key works.
Server starts but some financial tools return empty results or errors
Many advanced data endpoints (SEC filings, bulk data, historical data beyond 5 years) require a paid FMP subscription. Upgrade your FMP plan at financialmodelingprep.com/developer/docs/pricing for full access.
Node.js version error when starting the server
Version 2.6.0+ of this package requires Node.js 25.3.0+. Run 'node --version' to check. Use nvm to install a compatible version: 'nvm install 20' for older package versions or 'nvm install 22' for newer ones.
Frequently Asked Questions about Financial Modeling Prep
What is Financial Modeling Prep?
Financial Modeling Prep is a Model Context Protocol (MCP) server that provides ai assistants access to comprehensive financial data including real-time stock quotes, company fundamentals, financial statements, market analysis, economic indicators, and 250+ financial tools across 24 categories from financial modeling pr It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Financial Modeling Prep?
Install via npm with the command: npx -y financial-modeling-prep-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
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 Apache 2.0 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.