Financial Modeling Prep

v1.0.0Finance & Fintechstable

Financial Modeling Prep MCP Server

finance-modelling-prepmcp
Share:
47
Stars
0
Downloads
0
Weekly
0/5

What is Financial Modeling Prep?

Financial Modeling Prep is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to financial modeling prep mcp server

Financial Modeling Prep MCP Server

This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Financial Modeling Prep MCP Server

Use Cases

Access financial modeling data through MCP
Enable AI agents to perform financial analysis
cdtait

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedApr 15, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx fmp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Financial Modeling Prep

The Financial Modeling Prep MCP Server gives AI assistants access to 50+ financial data tools powered by the Financial Modeling Prep (FMP) API, covering company profiles, income statements, balance sheets, cash flow statements, stock quotes, analyst ratings, price targets, technical indicators, and alternative assets including crypto, forex, and commodities. It connects Claude and other MCP clients to real-time and historical financial data, enabling sophisticated financial analysis through natural language — from comparing company fundamentals to tracking market movers and analyst sentiment.

Prerequisites

  • A Financial Modeling Prep API key — sign up at https://financialmodelingprep.com/developer/docs/ (free tier available)
  • Python 3.10 or later with pip or uv for dependency management
  • An MCP-compatible client such as Claude Desktop
  • An OpenAI API key (only required if using the optional chat agent feature)
1

Obtain a Financial Modeling Prep API key

Sign up at https://financialmodelingprep.com and retrieve your API key from the developer dashboard. The free tier provides access to many endpoints suitable for personal use.

2

Clone the repository and set up the environment

Clone the fmp-mcp-server repository and create a Python virtual environment.

git clone https://github.com/cdtait/fmp-mcp-server.git
cd fmp-mcp-server
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
3

Install dependencies and configure API keys

Install required packages and create your .env file from the template.

python -m pip install -r requirements.txt
cp .env.template .env
# Edit .env and add your FMP_API_KEY
4

Test the server starts correctly

Start the server in stdio mode to verify it runs without errors. Press Ctrl+C to stop after confirming.

python -m src.server
5

Add to your MCP client configuration

Edit your claude_desktop_config.json to register the FMP server. Use the absolute path to the Python binary inside your virtual environment.

{
  "mcpServers": {
    "fmp": {
      "command": "/absolute/path/to/fmp-mcp-server/.venv/bin/python",
      "args": ["-m", "src.server"],
      "env": {
        "FMP_API_KEY": "your_fmp_api_key_here"
      }
    }
  }
}
6

Restart Claude Desktop and verify

Fully quit and reopen Claude Desktop. Ask it for Apple's current stock price to confirm the FMP server is connected and returning data.

Financial Modeling Prep Examples

Client configuration

Add this to claude_desktop_config.json, replacing the Python path with the absolute path to your virtual environment's Python binary and adding your FMP API key.

{
  "mcpServers": {
    "fmp": {
      "command": "/absolute/path/to/fmp-mcp-server/.venv/bin/python",
      "args": ["-m", "src.server"],
      "env": {
        "FMP_API_KEY": "your_fmp_api_key_here"
      }
    }
  }
}

Prompts to try

After connecting the FMP server, use these prompts in Claude to analyze financial data.

- "What is Apple's current stock price and today's change?"
- "Show me AAPL's income statement for the last 4 quarters"
- "Compare AAPL and MSFT's financial performance using key metrics"
- "What are today's biggest stock market gainers and losers?"
- "Get the latest analyst ratings and price targets for AMZN"
- "What is the current Bitcoin price and 24-hour change?"
- "Show me the EURUSD exchange rate"
- "What are the EMA technical indicators for NVDA?"

Troubleshooting Financial Modeling Prep

FMP API returns 401 or 403 — invalid API key

Verify your FMP_API_KEY is correct in your .env file or MCP config env block. Some endpoints require a paid FMP plan. Check your plan limits at https://financialmodelingprep.com/developer/docs/pricing.

Python module not found error when Claude Desktop starts the server

Ensure you are using the Python binary from inside your virtual environment (e.g., /path/to/fmp-mcp-server/.venv/bin/python), not the system Python. The system Python won't have the required packages installed.

Server health check fails — curl to /health returns connection refused

The stdio mode server (python -m src.server) doesn't expose an HTTP port. Use 'python -m src.server --streamable-http --port 8000' or '--sse --port 8000' to start an HTTP server for health checks and the MCP Inspector.

Frequently Asked Questions about Financial Modeling Prep

What is Financial Modeling Prep?

Financial Modeling Prep is a Model Context Protocol (MCP) server that financial modeling prep mcp server It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Financial Modeling Prep?

Follow the installation instructions on the Financial Modeling Prep GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Financial Modeling Prep?

Financial Modeling Prep works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Financial Modeling Prep free to use?

Yes, Financial Modeling Prep is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Finance & Fintech MCP Servers

Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "fmp": { "command": "npx", "args": ["-y", "fmp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Financial Modeling Prep?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides