fmp
MCP server from vipbat/fmp-mcp-server
claude mcp add --transport stdio vipbat-fmp-mcp-server npx @vipbat/fmp-mcp-server \ --env FMP_API_KEY="your-fmp-api-key-here"
How to use
The FMP MCP Server provides a Claude Desktop integration for Financial Modeling Prep data. It exposes a set of tools that let Claude fetch company profiles, financial statements (income statements, balance sheets, and cash flow), financial ratios, enterprise value calculations, and company search capabilities. With these endpoints, you can ask Claude complex questions such as retrieving a company’s P/E ratio, pulling recent income statements, comparing EV/EBITDA across peers, or performing a quick M&A analysis based on FMP data. The server is designed to streamline financial analysis workflows by enabling natural-language queries that map to structured financial data from FMP.
To use it, configure the MCP server in Claude Desktop using the provided fmp entry. Once configured and Claude Desktop is restarted, you can ask Claude questions like: “What’s Apple’s current P/E ratio?”, “Show me Microsoft’s income statements for the last 3 years”, or “Compare EV/EBITDA multiples of major tech companies.” Available tools include get_company_profile, get_income_statements, get_balance_sheets, get_cash_flow_statements, get_ratios, get_enterprise_value, and search_companies_by_name, each with their respective parameters as documented in the README. These tools enable you to fetch targeted data, perform comparative analyses, and support M&A scenarios directly through natural language prompts.
The integration supports practical workflows such as evaluating valuation metrics, extracting historical financials for trend analysis, and identifying potential acquisition targets or synergies based on sector and metrics like EBITDA, net income, and debt levels.
How to install
Prerequisites:
- Node.js 14 or higher
- Python 3.8 or higher
- Claude Desktop application
- An FMP API key from financialmodelingprep.com
Step 1: Install the MCP server globally via npm
npm install -g @vipbat/fmp-mcp-server
Step 2: Install Python dependencies (in a virtual environment if you prefer)
pip install mcp fastmcp httpx
Step 3: Obtain an FMP API key and configure Claude Desktop to use the MCP server. Add the following to Claude Desktop's mcpServers configuration (examples shown in the README):
{
"mcpServers": {
"fmp": {
"command": "npx",
"args": ["@vipbat/fmp-mcp-server"],
"env": {
"FMP_API_KEY": "your-fmp-api-key-here"
}
}
}
}
Step 4: Start using Claude Desktop with the new MCP integration. Restart Claude Desktop if needed to load the new configuration.
Additional notes
Tips and notes:
- Ensure you have a valid FMP API key and that it’s correctly set in the environment variables for Claude Desktop configuration.
- If Claude Desktop reports an API key error, double-check that the FMP_API_KEY is correctly set in the mcpServers config and that your key is active.
- The npm package name for this server is @vipbat/fmp-mcp-server; you can also install it via npm if you prefer local execution rather than npx.
- The MCP server leverages common financial data endpoints; if you notice missing fields, verify with FMP’s API documentation as endpoints and data availability can vary by plan.
- When testing complex queries, it can help to start with a simple request (e.g., get_company_profile for a ticker) to verify connectivity before chaining multiple data sources in a single prompt.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP