# Financial Modeling Prep (fmpsdk)

This MCP server gives an AI agent access to Financial Modeling Prep quotes, statements, prices, and about 240 API methods. An FMP key is required.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 215
- Author: daxm
- License: BSD-3-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/daxm/fmpsdk
- Updated: 2026-08-29
- HTML: https://affpapa.org/en/nevibecode/mcp/financial-modeling-prep-fmpsdk

## What it does

The server exposes Financial Modeling Prep through MCP. It covers quotes, company profiles, financial statements, ratios, price history, news, calendars, insider data, ETFs, currencies, crypto, and other data groups. Ten curated tools handle common requests, while discovery tools can reach the library’s full set of about 240 methods.

Run it with `uvx fmpsdk-mcp` and provide `FMP_API_KEY`. The server can be added to Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, or Zed. Method results are usually lists of dictionaries, so the agent or your code must parse them. FMP plan tiers control endpoint access, while the 7 `client.tipranks` methods need a separate paid add-on and have not been checked against a live response. Without `FMP_API_KEY`, the server cannot query the API.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `FMP_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add fmpsdk-mcp -e FMP_API_KEY=<FMP_API_KEY> -- uvx fmpsdk-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from fmpsdk-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add financial-modeling-prep-fmpsdk --env FMP_API_KEY=<FMP_API_KEY> -- uvx fmpsdk-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from fmpsdk-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "financial-modeling-prep-fmpsdk": {
            "command": "uvx",
            "args": [
                "fmpsdk-mcp"
            ],
            "env": {
                "FMP_API_KEY": "<FMP_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from fmpsdk-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "financial-modeling-prep-fmpsdk": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "fmpsdk-mcp"
            ],
            "env": {
                "FMP_API_KEY": "<FMP_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from fmpsdk-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e FMP_API_KEY=<FMP_API_KEY> financial-modeling-prep-fmpsdk uvx fmpsdk-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from fmpsdk-mcp <command>

## When to use it
- fetch a company quote by ticker
- retrieve statements and financial ratios
- compare historical prices across symbols
- look up ETF, forex, or crypto data
- check which FMP tier covers an endpoint

## Example prompts
- Get the current quote for `AAPL` through Financial Modeling Prep.
- Compare historical prices for `AAPL` and `MSFT` and explain the main moves.
- Retrieve `AAPL` financial statements and highlight the key figures.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44583
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5458
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2814
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2188
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
