Financial Modeling Prep MCP Server
Use this MCP server to retrieve Financial Modeling Prep financial data inside Claude.
Get real-time quotes, search symbols, and view company profiles.
Retrieve income statements, balance sheets, cash flow, key metrics, and financial ratios.
Track market gainers, losers, most active stocks, and sector performance.
Access analyst estimates, price targets, ratings, insider trading, and institutional holdings.
Compute RSI, SMA, and EMA technical indicators and fetch historical intraday charts.
Get economic and earnings calendars, economic indicators, S&P 500 constituents, and stock news (paid plan).
Click on "Deploy 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 Server Get the current stock quote for AAPL"
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
Model Context Protocol (MCP) server providing access to Financial Modeling Prep's comprehensive financial data API. Get real-time stock quotes, company fundamentals, financial statements, market insights, analyst data, and technical indicators directly in Claude Desktop.
Quick Navigation
Features | Installation | Tools | Usage examples | API rate limits | Development | Troubleshooting
Features
Real-time Market Data: Live stock quotes with price, volume, and market metrics
Company Information: Detailed profiles including industry, sector, and key executives
Financial Statements: Income statements, balance sheets, and cash flow statements
Market Performance: Track gainers, losers, most active stocks, and sector performance
Analyst Data: Price targets, estimates, ratings, and upgrades/downgrades
Insider Trading: Monitor insider transactions and institutional holdings
Technical Indicators: RSI, SMA, EMA with multiple timeframes
Economic Data: GDP, unemployment, inflation, treasury rates, and economic calendar
Historical Charts: Intraday data from 1-minute to 4-hour intervals
Symbol Search: Find companies by name or ticker across global exchanges
Related MCP server: Financial Modeling Prep MCP Server
Installation
Prerequisites
Node.js 18 or higher
Financial Modeling Prep API key (Get one here)
Quick Start with NPX
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"financial-modeling-prep": {
"command": "npx",
"args": [
"-y",
"@houtini/fmp-mcp"
],
"env": {
"FMP_API_KEY": "your_api_key_here"
}
}
}
}Replace your_api_key_here with your actual API key from Financial Modeling Prep.
Important: Restart Claude Desktop completely after updating the configuration.
Claude Code (CLI)
Claude Code uses a different registration mechanism -- it doesn't read claude_desktop_config.json. Use claude mcp add instead:
claude mcp add -e FMP_API_KEY=your_api_key_here -s user financial-modeling-prep -- npx -y @houtini/fmp-mcpVerify with:
claude mcp get financial-modeling-prepYou should see Status: Connected.
Available Tools
Core Market Data
get_quote
Get real-time stock quote data.
Parameters:
symbol(required): Stock ticker symbol (e.g., AAPL, TSLA, MSFT)
Returns: Current price, volume, market cap, P/E ratio, day high/low, and more.
search_symbol
Search for stock symbols by company name or ticker.
Parameters:
query(required): Search query (company name or partial ticker)
Returns: Matching symbols with company names and exchange information.
Company Fundamentals
get_company_profile
Get detailed company profile and fundamental data.
Parameters:
symbol(required): Stock ticker symbol
Returns: Company description, industry, sector, CEO, employee count, headquarters, website, and key financial metrics.
get_income_statement
Retrieve company income statement data.
Parameters:
symbol(required): Stock ticker symbolperiod(optional): "annual" or "quarter" (default: "annual")limit(optional): Number of periods to return (default: 5)
Returns: Revenue, expenses, net income, EPS, and other profitability metrics.
get_balance_sheet
Retrieve company balance sheet data.
Parameters:
symbol(required): Stock ticker symbolperiod(optional): "annual" or "quarter" (default: "annual")limit(optional): Number of periods to return (default: 5)
Returns: Assets, liabilities, shareholder equity, and detailed line items.
get_cash_flow
Retrieve company cash flow statement data.
Parameters:
symbol(required): Stock ticker symbolperiod(optional): "annual" or "quarter" (default: "annual")limit(optional): Number of periods to return (default: 5)
Returns: Operating cash flow, investing activities, financing activities, and free cash flow.
get_key_metrics
Get key financial metrics and ratios.
Parameters:
symbol(required): Stock ticker symbolperiod(optional): "annual" or "quarter" (default: "annual")limit(optional): Number of periods to return (default: 5)
Returns: P/E ratio, ROE, ROA, debt ratios, current ratio, and more.
get_financial_ratios
Get detailed financial ratios (profitability, liquidity, efficiency).
Parameters:
symbol(required): Stock ticker symbolperiod(optional): "annual" or "quarter" (default: "annual")limit(optional): Number of periods to return (default: 5)
Returns: Comprehensive ratio analysis including profitability, liquidity, and efficiency metrics.
Market Performance
get_market_gainers
Get stocks with the largest price increases.
Parameters: None
Returns: Top gaining stocks with price changes and volume.
get_market_losers
Get stocks with the largest price drops.
Parameters: None
Returns: Top losing stocks with price changes and volume.
get_most_active
Get most actively traded stocks by volume.
Parameters: None
Returns: Stocks with highest trading volume.
get_sector_performance
Get current sector performance snapshot.
Parameters:
date(optional): Date in YYYY-MM-DD format (defaults to latest)
Returns: Performance metrics for all market sectors.
Analyst Data
get_analyst_estimates
Get analyst financial estimates (revenue, EPS forecasts).
Parameters:
symbol(required): Stock ticker symbolperiod(optional): "annual" or "quarter" (default: "annual")limit(optional): Number of periods to return (default: 10)
Returns: Analyst revenue and earnings estimates with consensus figures.
get_price_target
Get analyst price target summary.
Parameters:
symbol(required): Stock ticker symbol
Returns: Average, high, low, and median price targets from analysts.
get_analyst_ratings
Get analyst ratings and upgrades/downgrades.
Parameters:
symbol(required): Stock ticker symbol
Returns: Recent analyst rating changes, upgrades, downgrades, and recommendations.
Insider Trading & Institutional
get_insider_trading
Get recent insider trading activity.
Parameters:
symbol(required): Stock ticker symbollimit(optional): Number of transactions to return (default: 100)
Returns: Insider buy/sell transactions with names, dates, and amounts.
get_institutional_holders
Get institutional ownership (13F filings).
Parameters:
symbol(required): Stock ticker symbollimit(optional): Number of holders to return (default: 100)
Returns: Top institutional holders with share counts and filing dates.
Technical Indicators
get_technical_indicator_rsi
Get Relative Strength Index (RSI).
Parameters:
symbol(required): Stock ticker symboltimeframe(required): "1min", "5min", "15min", "30min", "1hour", "4hour", "1day"period(optional): Period length (default: 14)
Returns: RSI values with timestamps for momentum analysis.
get_technical_indicator_sma
Get Simple Moving Average (SMA).
Parameters:
symbol(required): Stock ticker symboltimeframe(required): "1min", "5min", "15min", "30min", "1hour", "4hour", "1day"period(optional): Period length (default: 10)
Returns: SMA values with timestamps for trend analysis.
get_technical_indicator_ema
Get Exponential Moving Average (EMA).
Parameters:
symbol(required): Stock ticker symboltimeframe(required): "1min", "5min", "15min", "30min", "1hour", "4hour", "1day"period(optional): Period length (default: 10)
Returns: EMA values with timestamps for trend analysis.
Historical Data
get_historical_chart
Get historical price data with flexible time intervals.
Parameters:
symbol(required): Stock ticker symbolinterval(required): "1min", "5min", "15min", "30min", "1hour", "4hour"from(optional): Start date in YYYY-MM-DD formatto(optional): End date in YYYY-MM-DD format
Returns: OHLC price data with volume for the specified interval.
Economic Data
get_economic_calendar
Get upcoming economic data releases calendar.
Parameters:
from(optional): Start date in YYYY-MM-DD formatto(optional): End date in YYYY-MM-DD format
Returns: Scheduled economic announcements with dates and expected impact.
get_economic_indicator
Get economic indicator data (GDP, unemployment, inflation, etc.).
Parameters:
name(required): Indicator name (e.g., "GDP", "unemploymentRate", "CPI")from(optional): Start date in YYYY-MM-DD formatto(optional): End date in YYYY-MM-DD format
Returns: Historical values for the specified economic indicator.
Events & Calendars
get_earnings_calendar
Get upcoming earnings announcements calendar.
Parameters:
from(optional): Start date in YYYY-MM-DD formatto(optional): End date in YYYY-MM-DD format
Returns: Upcoming earnings dates with EPS estimates.
Index Data
get_sp500_constituents
Get list of S&P 500 index constituents.
Parameters: None
Returns: All companies in the S&P 500 with symbols and details.
News (Paid Feature)
get_stock_news
Get latest news articles for a stock.
Parameters:
symbol(required): Stock ticker symbollimit(optional): Number of articles to return (default: 10)
Returns: News headlines, publication dates, URLs, and article summaries.
Note: This endpoint requires a paid FMP plan.
Usage Examples
Once installed, you can interact with the MCP server directly through Claude Desktop:
Get a quote for Apple stockShow me Tesla's quarterly income statements for the last 8 quartersWhat are today's biggest market gainers?Get analyst price targets for NVIDIAShow me insider trading activity for MicrosoftCalculate the 14-day RSI for TSLA on the daily timeframeWhat's the current sector performance?Get upcoming earnings announcements for this weekShow me institutional holders of AmazonAPI Rate Limits
Financial Modeling Prep offers different pricing tiers:
Free Tier: 250 requests/day
Starter: 500 requests/day
Professional: 1,000+ requests/day
See FMP Pricing for current plans and limits.
Development
Local Installation
git clone https://github.com/houtini-ai/fmp-mcp.git
cd fmp-mcp
npm install
npm run buildClaude Desktop Configuration for Local Development
{
"mcpServers": {
"financial-modeling-prep": {
"command": "node",
"args": [
"/absolute/path/to/fmp-mcp/build/index.js"
],
"env": {
"FMP_API_KEY": "your_api_key_here"
}
}
}
}Building
npm run buildOutput goes to the build/ directory.
API Coverage
This MCP server implements 29 endpoints from the Financial Modeling Prep API:
Core Market Data (3)
Stock quotes, symbol search, company profiles
Financial Statements (6)
Income statement, balance sheet, cash flow, key metrics, financial ratios (annual & quarterly)
Market Performance (4)
Gainers, losers, most active, sector performance
Analyst Data (3)
Estimates, price targets, ratings
Insider & Institutional (2)
Insider trading, institutional holders
Technical Indicators (3)
RSI, SMA, EMA with multiple timeframes
Historical Data (1)
Intraday charts (1min to 4hour)
Economic Data (2)
Economic calendar, economic indicators
Events & Calendars (1)
Earnings calendar
Index Data (1)
S&P 500 constituents
News (1)
Stock news (paid feature)
For the complete API reference, see the FMP Developer Documentation.
Troubleshooting
MCP Server Not Appearing in Claude Desktop
Verify your
claude_desktop_config.jsonsyntax is valid JSONCheck that the
FMP_API_KEYenvironment variable is setRestart Claude Desktop completely (quit from system tray/menu bar)
Check Claude Desktop logs for error messages
API Authentication Errors
If you see 403 Forbidden errors:
Verify your API key is correct
Check you haven't exceeded your rate limit
Ensure your API key has the required permissions
Tool Execution Failures
Verify the stock symbol exists (use
search_symbolfirst)Check your internet connection
Verify FMP API is operational at status.financialmodelingprep.com
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - see LICENSE file for details.
Resources
Acknowledgments
Built with the Model Context Protocol SDK by Anthropic.
Available Tools
26 toolsget_analyst_estimatesA
Get analyst financial estimates for a stock (revenue, EPS forecasts)
Inputs: symbol (required), limit, period.
get_analyst_ratingsA
Get analyst ratings and upgrades/downgrades for a stock
Inputs: symbol (required).
get_balance_sheetB
Get company balance sheet statement (annual or quarterly)
Inputs: symbol (required), limit, period.
get_cash_flowA
Get company cash flow statement (annual or quarterly)
Inputs: symbol (required), limit, period.
get_company_profileA
Get detailed company profile information including description, industry, sector, CEO, and more
Inputs: symbol (required).
get_earnings_calendarB
Get upcoming earnings announcements calendar
Inputs: to, from.
get_economic_calendarC
Get upcoming economic data releases calendar
Inputs: to, from.
get_economic_indicatorB
Get economic indicator data (GDP, unemployment, inflation, etc.)
Inputs: name (required), to, from.
get_financial_ratiosC
Get detailed financial ratios (profitability, liquidity, efficiency)
Inputs: symbol (required), limit, period.
get_historical_chartC
Get historical price data with flexible time intervals
Inputs: symbol (required), interval (required), to, from.
get_income_statementA
Get company income statement (annual or quarterly)
Inputs: symbol (required), limit, period.
get_insider_tradingB
Get recent insider trading activity for a stock
Inputs: symbol (required), limit.
get_institutional_holdersA
Get institutional ownership (13F filings) for a stock
Inputs: symbol (required), limit.
get_key_metricsC
Get key financial metrics (P/E, ROE, debt ratios, etc.)
Inputs: symbol (required), limit, period.
get_market_gainersA
Get stocks with the largest price increases (top gainers)
Inputs: no named parameters.
get_market_losersA
Get stocks with the largest price drops (top losers)
Inputs: no named parameters.
get_most_activeA
Get most actively traded stocks by volume
Inputs: no named parameters.
get_price_targetB
Get analyst price target summary for a stock
Inputs: symbol (required).
get_quoteA
Get real-time stock quote for a symbol (e.g., AAPL, TSLA, MSFT)
Inputs: symbol (required).
get_sector_performanceC
Get current sector performance snapshot
Inputs: date.
get_sp500_constituentsA
Get list of S&P 500 index constituents
Inputs: no named parameters.
get_stock_newsA
Get latest news articles for a stock symbol
Inputs: symbol (required), limit.
get_technical_indicator_emaB
Get Exponential Moving Average (EMA) technical indicator
Inputs: symbol (required), timeframe (required), period.
get_technical_indicator_rsiB
Get Relative Strength Index (RSI) technical indicator
Inputs: symbol (required), timeframe (required), period.
get_technical_indicator_smaB
Get Simple Moving Average (SMA) technical indicator
Inputs: symbol (required), timeframe (required), period.
search_symbolB
Search for stock symbols by company name or ticker
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Most tools have clearly distinct purposes, such as get_quote for real-time snapshots and get_historical_chart for time series. The main potential confusion is between get_key_metrics and get_financial_ratios, which both provide financial ratios but with different scopes; descriptions help clarify but some ambiguity remains.
All 26 tools follow a consistent get_<object> pattern in snake_case, with the verb 'get' always used. Technical indicators are uniformly named as get_technical_indicator_<type>, and all other tools follow the same predictable structure.
With 26 tools, the server exceeds the recommended 25-tool threshold for a coherent tool set. Although the broad financial domain justifies many endpoints, there is some redundancy (e.g., key_metrics vs. financial_ratios) and the sheer number may overwhelm agents.
The tool set provides comprehensive coverage of financial data: real-time quotes, fundamental statements, technical indicators, analyst estimates, insider trading, market statistics, and index constituents. Minor gaps exist, such as no dedicated dividend or split data, but core financial workflows are well-supported.
Maintenance
Related MCP Connectors
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Financial Modeling Prep MCP (/stable API; v3 deprecated 2025-08-31).
Your investing research inside Claude: watchlists, financial ratios, reverse-DCF valuations, investment theses, notes, portfolio, earnings calendar and news for the companies you follow. 70 read and write tools; ask what's on your morning desk, rank a watchlist by ROE, log a trade or save a thesis. OAuth sign-in. Free to start.
MCP server for Financial Modeling Prep API with 250+ financial data tools
Related MCP Servers
- AlicenseCqualityBmaintenanceEnables AI assistants to access and analyze financial data including stock information, company fundamentals, and market insights through the Financial Modeling Prep API.267360 npm149TypeScriptApache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides 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 Prep API.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables Claude to access real-time stock data, financial statements, cryptocurrency information, and market data via the Financial Modeling Prep API.4MIT
- AlicenseAqualityBmaintenanceEnables AI agents to analyze stocks, screen markets, compare peers, read earnings calls, and track sector rotations using live financial data from Financial Modeling Prep.21PolyForm Noncommercial 1.0.0