Click on "Install 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., "@FMP MCP ServerGet the current stock price and DCF valuation 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.
FMP MCP Server
A Model Context Protocol (MCP) server that provides tools, resources, and prompts for financial analysis using the Financial Modelling Prep API.
Features
Tools
get_company_profile: Get comprehensive company information
get_stock_quote: Real-time stock quotes and market data
get_financial_statements: Income statement, balance sheet, and cash flow data
get_key_metrics: Key financial metrics and KPIs
get_financial_ratios: Comprehensive financial ratios for analysis
get_dcf_valuation: Discounted cash flow valuation
search_companies: Search for companies by name or symbol
get_sector_performance: Market sector performance overview
Resources
Market Sectors: Real-time sector performance data
Company Profiles: Detailed company information
Financial Statements: Complete financial statement data
Prompts
financial_analysis: Comprehensive financial analysis workflow
investment_research: Detailed investment research report
sector_analysis: Sector performance and comparison analysis
Setup
Install dependencies:
uv syncConfigure API access:
cp .env.example .env # Edit .env and add your Financial Modelling Prep API keyGet API Key:
Visit Financial Modelling Prep
Sign up for an account
Copy your API key to the
.envfile
Usage
With Claude Code
Add to your Claude Code MCP configuration:
Direct Usage
Docker Usage
Build and run with Docker
Using Docker Compose
Using pre-built image from GitHub Container Registry
Development
Install with development dependencies:
uv sync --devRun tests:
uv run pytestFormat code:
uv run black src/ uv run ruff check src/Type checking:
uv run mypy src/
API Rate Limits
The Financial Modelling Prep API has rate limits depending on your subscription:
Free: 250 requests/day
Starter: 300 requests/minute
Professional: 2000 requests/minute
Configure rate limiting in your .env file if needed.
License
MIT License