Provides tools, resources, and prompts to access Financial Modelling Prep data for financial analysis via MCP.
Configuration
View docs{
"mcpServers": {
"ccdatatraits-fmp-mcp-server": {
"command": "uv",
"args": [
"run",
"python",
"-m",
"fmp_mcp_server.server"
],
"env": {
"FMP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}You run an MCP server that leverages the Financial Modelling Prep API to deliver financial data tools, resources, and prompts for analysis. This server lets you query company details, stock quotes, financial statements, metrics, ratios, DCF valuations, and more through a programmable, client-friendly interface.
You connect to the FMP MCP Server from an MCP client, then use its tools to fetch company data, analyze financials, and generate investment insights. Start the server locally, then configure your client to point at the MCP endpoint. Use the provided prompts to drive end-to-end financial analysis workflows, investment research, and sector analysis.
Prerequisites: you need Python installed to run the MCP server and a command-line tool named uv used to start the server.
Step by step commands to get you running:
# 1. Install dependencies (if applicable in your environment)
# (This project uses uv exercise to run the Python module directly)
# 2. Configure API access
cp .env.example .env
# Edit .env and add your Financial Modelling Prep API key
# 3. Start the server locally
uv run python -m fmp_mcp_server.server
# Optional: use the installed script if available
uv run fmp-mcp-serverAPI access requires an API key. Place your key in the environment file as FMP_API_KEY. The server supports real-time data access and comprehensive financial analysis prompts.
If you prefer containerized deployment, you can build and run a Docker image using the Docker commands outlined in the deployment section. You can also run tests and format code during development if you contribute to the project.
Fetches comprehensive information about a company, including name, sector, industry, and profile details.
Retrieves real-time stock quotes and market data for specified symbols.
Returns income statements, balance sheets, and cash flow data for a company.
Provides key financial metrics and KPIs for performance analysis.
Offers a collection of financial ratios for evaluating profitability, efficiency, and liquidity.
Performs discounted cash flow valuation to estimate intrinsic value.
Searches for companies by name or symbol to locate relevant data.
Provides an overview of market sector performance.
Prompts and workflow utilities to perform comprehensive financial analysis.
Generates detailed investment research reports based on data retrieved from the API.
Produces sector performance analyses and comparative insights.