Connects Claude to the Financial Modeling Prep API for querying market data, fundamentals, and analyst information. You get real-time quotes, company profiles, financial statements (income, balance sheet, cash flow), key metrics and ratios, plus market movers like gainers and losers. Also exposes analyst estimates, price targets, insider trading activity, institutional holdings, and technical indicators including RSI and moving averages. Useful when you need to analyze stocks, compare fundamentals, or pull economic data like GDP and treasury rates without leaving your conversation. Requires an FMP API key and runs via stdio transport.
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
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 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-mcp
Verify with:
claude mcp get financial-modeling-prep
You should see Status: Connected.
get_quoteGet 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_symbolSearch 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.
get_company_profileGet detailed company profile and fundamental data.
Parameters:
symbol (required): Stock ticker symbolReturns: Company description, industry, sector, CEO, employee count, headquarters, website, and key financial metrics.
get_income_statementRetrieve 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_sheetRetrieve 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_flowRetrieve 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_metricsGet 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_ratiosGet 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.
get_market_gainersGet stocks with the largest price increases.
Parameters: None
Returns: Top gaining stocks with price changes and volume.
get_market_losersGet stocks with the largest price drops.
Parameters: None
Returns: Top losing stocks with price changes and volume.
get_most_activeGet most actively traded stocks by volume.
Parameters: None
Returns: Stocks with highest trading volume.
get_sector_performanceGet current sector performance snapshot.
Parameters:
date (optional): Date in YYYY-MM-DD format (defaults to latest)Returns: Performance metrics for all market sectors.
get_analyst_estimatesGet 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_targetGet analyst price target summary.
Parameters:
symbol (required): Stock ticker symbolReturns: Average, high, low, and median price targets from analysts.
get_analyst_ratingsGet analyst ratings and upgrades/downgrades.
Parameters:
symbol (required): Stock ticker symbolReturns: Recent analyst rating changes, upgrades, downgrades, and recommendations.
get_insider_tradingGet 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_holdersGet 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.
get_technical_indicator_rsiGet 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_smaGet 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_emaGet 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.
get_historical_chartGet 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 formatReturns: OHLC price data with volume for the specified interval.
get_economic_calendarGet upcoming economic data releases calendar.
Parameters:
from (optional): Start date in YYYY-MM-DD formatto (optional): End date in YYYY-MM-DD formatReturns: Scheduled economic announcements with dates and expected impact.
get_economic_indicatorGet 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 formatReturns: Historical values for the specified economic indicator.
get_earnings_calendarGet upcoming earnings announcements calendar.
Parameters:
from (optional): Start date in YYYY-MM-DD formatto (optional): End date in YYYY-MM-DD formatReturns: Upcoming earnings dates with EPS estimates.
get_sp500_constituentsGet list of S&P 500 index constituents.
Parameters: None
Returns: All companies in the S&P 500 with symbols and details.
get_stock_newsGet 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.
Once installed, you can interact with the MCP server directly through Claude Desktop:
Get a quote for Apple stock
Show me Tesla's quarterly income statements for the last 8 quarters
What are today's biggest market gainers?
Get analyst price targets for NVIDIA
Show me insider trading activity for Microsoft
Calculate the 14-day RSI for TSLA on the daily timeframe
What's the current sector performance?
Get upcoming earnings announcements for this week
Show me institutional holders of Amazon
Financial Modeling Prep offers different pricing tiers:
See FMP Pricing for current plans and limits.
git clone https://github.com/houtini-ai/fmp-mcp.git
cd fmp-mcp
npm install
npm run build
{
"mcpServers": {
"financial-modeling-prep": {
"command": "node",
"args": [
"/absolute/path/to/fmp-mcp/build/index.js"
],
"env": {
"FMP_API_KEY": "your_api_key_here"
}
}
}
}
npm run build
Output goes to the build/ directory.
This MCP server implements 29 endpoints from the Financial Modeling Prep API:
Core Market Data (3)
Financial Statements (6)
Market Performance (4)
Analyst Data (3)
Insider & Institutional (2)
Technical Indicators (3)
Historical Data (1)
Economic Data (2)
Events & Calendars (1)
Index Data (1)
News (1)
For the complete API reference, see the FMP Developer Documentation.
claude_desktop_config.json syntax is valid JSONFMP_API_KEY environment variable is setIf you see 403 Forbidden errors:
search_symbol first)Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.
Built with the Model Context Protocol SDK by Anthropic.
FMP_API_KEY*secretFinancial Modeling Prep API key (get from https://site.financialmodelingprep.com/developer/docs)
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json