Financial Modeling Prep (FMP) MCP Server
Financial Modeling Prep MCPサーバー
最新のMCP SDKツール/リソース/プロンプトモデルで構築された、Financial Modeling Prep (FMP) 市場データ用MCPサーバー。
概要
aigroup-fmp-mcp は、Financial Modeling Prep APIを介して、以下のための構造化されたMCPインターフェースを提供します:
リアルタイムの株価とシンボル検索
企業プロファイルと財務諸表
アナリスト予想とレーティング
テクニカル指標とヒストリカルチャート
決算/経済カレンダーのワークフロー
分析タスクのための再利用可能なMCPリソースとプロンプト
Related MCP server: FMP MCP Server
ハイライト
市場データ、財務、アナリストワークフロー、テクニカル指標、カレンダーデータを網羅する 25個のMCPツール
URIベースの直接アクセスパターンをサポートする リソース
株式分析、ポートフォリオレビュー、決算プレビューのための プロンプトテンプレート
オプションのHTTPヘルス/情報エンドポイントを備えた 完全なstdio MCPサポート
より安全な入力処理のための Zodバリデーション
最新の
McpServerAPIを備えた MCP SDK 1.27.1 上に構築
クイックスタート
要件
Node.js >= 18
npm
有効なFMP APIキー
ローカルソースでの実行
git clone https://github.com/jackdark425/aigroup-fmp-mcp.git
cd aigroup-fmp-mcp
npm install
npm run build
export FMP_API_KEY="your-api-key"
npm startHTTPモード
export FMP_API_KEY="your-api-key"
npm run start:httpデフォルトでは、HTTPサーバーは以下を公開します:
POST /mcp— このビルドでは501を返しますGET /health— ヘルスチェックGET /— サーバー情報
現在のビルドにおけるHTTPモードは、ヘルスチェックとサービスメタデータ専用です。MCPツール、リソース、プロンプトにはstdioモードを使用してください。
設定
サーバーを起動する前にAPIキーを設定してください:
export FMP_API_KEY="your-api-key"キーは Financial Modeling Prep から取得してください。
MCPクライアントの設定
Claude Desktop / 互換性のあるMCPクライアント
{
"mcpServers": {
"fmp": {
"command": "node",
"args": ["/path/to/aigroup-fmp-mcp/build/index.js"],
"env": {
"FMP_API_KEY": "your-api-key"
}
}
}
}ツール
市場データ
get_quotesearch_symbolget_market_gainersget_market_losersget_most_activeget_sector_performanceget_sp500_constituents
財務諸表
get_company_profileget_income_statementget_balance_sheetget_cash_flowget_stock_newsget_key_metricsget_financial_ratios
アナリストデータ
get_analyst_estimatesget_price_targetget_analyst_ratingsget_insider_tradingget_institutional_holders
テクニカル指標
get_technical_indicator_rsiget_technical_indicator_smaget_technical_indicator_emaget_historical_chart
カレンダーデータ
get_earnings_calendarget_economic_calendarget_economic_indicator
リソース
fmp://company/{symbol}/profilefmp://company/{symbol}/quotefmp://company/{symbol}/financials/{statement}/{period}fmp://market/overviewfmp://market/sectors/{date}
プロンプト
stock_analysisportfolio_evaluationearnings_preview
プロジェクト構造
aigroup-fmp-mcp/
├── src/
│ ├── index.ts
│ ├── server.ts
│ ├── tools/
│ ├── resources/
│ ├── prompts/
│ ├── types/
│ └── utils/
├── package.json
├── tsconfig.json
└── README.md開発
npm install
npm run build
npm run devAPIリファレンス
すべてのツールはFMPエンドポイントにマッピングされています。公式ドキュメントを参照してください:
謝辞
参考プロジェクト
houtini-ai/fmp-mcp
参考範囲: プロジェクト全体の方向性、MCPサーバー構造、機能構成
この実装の参考となった先行オープンソース作業を提供してくれた houtini-ai に感謝します。
ライセンスと使用方法
このプロジェクトは MITライセンス の下でリリースされています。
元の著作権表示およびライセンス条文が保持されている限り、商用利用を含め、本ソフトウェアのコピーの使用、複製、変更、結合、出版、配布、サブライセンス、および販売を行うことができます。
注意:
本ソフトウェアは 「現状のまま」 提供され、いかなる種類の保証もありません
ソフトウェアのコピーまたは重要な部分には、関連する著作権および許可の通知を保持する必要があります
FMP API の使用は、Financial Modeling Prep自身の利用規約、クォータ、課金ルール、およびデータ使用制限に従うものとします
全文は LICENSE を参照してください。
サポート
Available Tools
26 toolsget_analyst_estimatesB
Get analyst financial estimates for a stock (revenue, EPS forecasts)
Inputs: symbol (required), period, limit.
get_analyst_ratingsB
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), period, limit.
get_cash_flowC
Get company cash flow statement (annual or quarterly)
Inputs: symbol (required), period, limit.
get_company_profileB
Get detailed company profile information including description, industry, sector, CEO, and more
Inputs: symbol (required).
get_earnings_calendarB
Get upcoming earnings announcements calendar
Inputs: from, to.
get_economic_calendarC
Get upcoming economic data releases calendar
Inputs: from, to.
get_economic_indicatorC
Get economic indicator data (GDP, unemployment, inflation, etc.)
Inputs: name (required), from, to.
get_financial_ratiosB
Get detailed financial ratios (profitability, liquidity, efficiency)
Inputs: symbol (required), period, limit.
get_historical_chartC
Get historical price data with flexible time intervals
Inputs: symbol (required), interval (required), from, to.
get_income_statementC
Get company income statement (annual or quarterly)
Inputs: symbol (required), period, limit.
get_insider_tradingC
Get recent insider trading activity for a stock
Inputs: symbol (required), limit.
get_institutional_holdersC
Get institutional ownership (13F filings) for a stock
Inputs: symbol (required), limit.
get_key_metricsB
Get key financial metrics (P/E, ROE, debt ratios, etc.)
Inputs: symbol (required), period, limit.
get_market_gainersB
Get stocks with the largest price increases (top gainers)
Inputs: no named parameters.
get_market_losersB
Get stocks with the largest price drops (top losers)
Inputs: no named parameters.
get_most_activeB
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_constituentsB
Get list of S&P 500 index constituents
Inputs: no named parameters.
get_stock_newsC
Get latest news articles for a stock symbol
Inputs: symbol (required), limit.
get_technical_indicator_emaC
Get Exponential Moving Average (EMA) technical indicator
Inputs: symbol (required), timeframe (required), period.
get_technical_indicator_rsiC
Get Relative Strength Index (RSI) technical indicator
Inputs: symbol (required), timeframe (required), period.
get_technical_indicator_smaC
Get Simple Moving Average (SMA) technical indicator
Inputs: symbol (required), timeframe (required), period.
search_symbolC
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 targeting specific financial data categories (e.g., financial statements, market data, analyst information). However, some potential overlap exists between get_financial_ratios and get_key_metrics, and among the three technical indicator tools (EMA, RSI, SMA) which might cause minor confusion about which specific indicator is needed.
Excellent naming consistency with a uniform get_* pattern throughout all 26 tools. The naming follows a clear verb_noun structure where 'get' is the consistent verb followed by descriptive nouns that clearly indicate the data being retrieved.
26 tools is borderline heavy for a financial data server. While comprehensive coverage is valuable, this many tools might overwhelm agents and could potentially be consolidated (e.g., technical indicators could be combined into a single parameterized tool). The count suggests good breadth but questionable depth optimization.
Extremely comprehensive coverage of financial data domains including fundamental analysis (statements, ratios, metrics), market data (quotes, gainers/losers), analyst information (estimates, ratings), economic data, and technical indicators. No obvious gaps exist for a financial data provider server.
Maintenance
Related MCP Connectors
MCP server for Financial Modeling Prep API with 250+ financial data tools
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
The Octagon MCP server provides specialized AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API. It enables users to analyze public market data (SEC filings, earnings transcripts, financial metrics, and stock data for 8000+ companies), private market data (3M+ companies, 500k+ funding rounds, 2M+ M&A/IPO transactions), and conduct deep research including web scraping capabilities. The server also features autonomous research agents that search hundreds of sources and return fully cited reports in approximately one minute.
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.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for financial analysis using the Financial Modelling Prep API. It enables users to retrieve real-time stock quotes, financial statements, valuation metrics, and sector performance data for investment research.-
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that provides tools for financial analysis and investment research using the Financial Modelling Prep API. It enables users to access real-time stock quotes, financial statements, key metrics, and market sector performance data.MIT
- AlicenseNot gradedqualityDmaintenanceA specialized MCP server that provides institutional-grade financial data and market research via the Finnhub API. It enables AI agents to function as equity researchers, generating professional market reports and high-fidelity analysis for stock tickers.ISC
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol (MCP) server that provides tools, resources, and prompts for financial analysis using the Financial Modeling Prep API.51MIT