Financial Modeling Prep MCP Server
MCP server for Financial Modeling Prep API with 250+ financial data tools
Que pouvez-vous faire avec Financial Modeling Prep MCP Server ?
- 250+ Financial Tools across 24 categories — stocks, ETFs, crypto, forex, commodities, economics, and more
- Dynamic Tool Management — built on toolception for runtime enable/disable of toolsets via meta-tools
- Three Server Modes — Dynamic (meta-tools), Static (pre-loaded toolsets), or All Tools (default)
- Flexible Deployment — use the hosted instance or self-host via npm, Docker, or source
- HTTP/SSE Transport — compatible with Claude.ai, Claude Desktop, and MCP registries
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http financial-modeling-prep-mcp-server 'https://financial-modeling-prep-mcp-server-production.up.railway.app/mcp'
{
"mcpServers": {
"financial-modeling-prep-mcp-server": {
"type": "http",
"url": "https://financial-modeling-prep-mcp-server-production.up.railway.app/mcp"
}
}
}
financial-modeling-prep-mcp-serverclaude mcp add financial-modeling-prep-mcp-server -e 'FMP_ACCESS_TOKEN=<your fmp_access_token>' -e 'PORT=<PORT>' -e 'DYNAMIC_TOOL_DISCOVERY=<DYNAMIC_TOOL_DISCOVERY>' -e 'FMP_TOOL_SETS=<FMP_TOOL_SETS>' -- npx -y financial-modeling-prep-mcp-server@2.8.0 --fmp-token --port --dynamic-tool-discovery --fmp-tool-sets
{
"mcpServers": {
"financial-modeling-prep-mcp-server": {
"command": "npx",
"args": [
"-y",
"financial-modeling-prep-mcp-server@2.8.0",
"--fmp-token",
"--port",
"--dynamic-tool-discovery",
"--fmp-tool-sets"
],
"env": {
"FMP_ACCESS_TOKEN": "<your fmp_access_token>",
"PORT": "<PORT>",
"DYNAMIC_TOOL_DISCOVERY": "<DYNAMIC_TOOL_DISCOVERY>",
"FMP_TOOL_SETS": "<FMP_TOOL_SETS>"
}
}
}
}
Variables d'environnement
FMP_ACCESS_TOKENsecret Financial Modeling Prep API access tokenPORTPort number for HTTP server modeDYNAMIC_TOOL_DISCOVERYEnable dynamic tool discovery modeFMP_TOOL_SETSComma-separated list of tool sets to load
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
Financial Modeling Prep MCP Server
A Model Context Protocol (MCP) server for the Financial Modeling Prep API, exposing 250+ financial data tools to AI assistants.
Features
- 250+ Financial Tools across 24 categories — stocks, ETFs, crypto, forex, commodities, economics, and more
- Dynamic Tool Management — built on toolception for runtime enable/disable of toolsets via meta-tools
- Three Server Modes — Dynamic (meta-tools), Static (pre-loaded toolsets), or All Tools (default)
- Flexible Deployment — use the hosted instance or self-host via npm, Docker, or source
- HTTP/SSE Transport — compatible with Claude.ai, Claude Desktop, and MCP registries
Quick Start
Hosted Instance (Fastest)
No installation required. Connect directly:
https://financial-modeling-prep-mcp-server-production.up.railway.app/mcp
Provide your FMP_ACCESS_TOKEN in session configuration and start using 5 meta-tools to load toolsets on demand.
Self-Hosted (One-Liner)
npx financial-modeling-prep-mcp-server --fmp-token=YOUR_FMP_API_KEY
Or install globally:
npm install -g financial-modeling-prep-mcp-server
fmp-mcp --fmp-token=YOUR_FMP_API_KEY
Get your API key at financialmodelingprep.com.
Table of Contents
Installation
Prerequisites: Node.js 25.3.0 or higher (for v2.6.0+). For older versions (v2.5.x and below), Node.js 20+ is required.
Choose the method that fits your workflow:
- NPM —
npm install -g financial-modeling-prep-mcp-server - Docker — build from source or pull a pre-built image
- Source — clone and run with
npm install && npm run build
See docs/INSTALLATION.md for detailed steps per method.
Configuration
The server supports three operational modes controlled via CLI arguments or environment variables:
| Mode | How to Enable | Description |
|---|---|---|
| Dynamic | DYNAMIC_TOOL_DISCOVERY=true | Starts with 5 meta-tools; load toolsets at runtime |
| Static | FMP_TOOL_SETS=search,company | Pre-loads specified toolsets on session creation |
| All Tools (default) | (default) | Loads all 250+ tools immediately |
Precedence: for mode and tool sets, CLI args > Environment variables > Defaults. A session ?config= token overrides the server's FMP_ACCESS_TOKEN for that session.
See docs/CONFIGURATION.md for the full configuration reference.
Usage
Connect to the server via HTTP/SSE transport:
- Claude.ai / Claude Desktop — add as a remote connector (Settings > Connectors)
- Custom clients — POST to
/mcpwithmcp-client-idheader - MCP registries — Smithery.ai, Glama.ai, and others
See docs/USAGE.md for client-specific setup, session headers, and request examples.
Available Tools
24 categories covering:
Search · Directory & Symbol Lists · Company Information · Financial Statements · Financial Metrics & Analysis · Technical Indicators · Quotes & Price Data · Market Indexes & Performance · Market Data · News & Press Releases · SEC Filings · Insider & Institutional Trading · ETFs & Funds · Government Trading · Cryptocurrency & Forex · Earnings · Special Data Sets · Commodities · Economics · Bulk Data Tools
See docs/API_REFERENCE.md for the complete tool catalog.
Registries
This server is listed on multiple MCP registries for easy discovery:
See docs/REGISTRIES.md for registry-specific setup instructions.
Contributing
Contributions are welcome. Please see CONTRIBUTING.md for development setup, testing, and pull request guidelines.
License
Questions fréquentes
Qu'est-ce que Financial Modeling Prep MCP Server ?
MCP server for Financial Modeling Prep API with 250+ financial data tools
Comment installer Financial Modeling Prep MCP Server ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http financial-modeling-prep-mcp-server 'https://financial-modeling-prep-mcp-server-production.up.railway.app/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Financial Modeling Prep MCP Server ?
Oui. Il attend FMP_ACCESS_TOKEN, à renseigner dans sa configuration.
Financial Modeling Prep MCP Server est-il open source ?
Oui. Son code est sur GitHub sous licence Apache-2.0.
Qui maintient Financial Modeling Prep MCP Server ?
Il est publié par imbenrabi. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.