fmpsdk-mcp
A Model Context Protocol server that exposes
the fmpsdk library — the full Financial
Modeling Prep API — to an MCP client such as Claude Desktop or Claude Code.
Published to PyPI as fmpsdk-mcp; it
lives in the fmpsdk repo under mcp/. It is a
separate package so pip install fmpsdk never pulls in fastmcp.
What it exposes
| Layer | Tools |
|---|---|
| Curated (use first) | get_quote, get_company_profile, get_income_statement, get_balance_sheet, get_cash_flow, get_key_metrics, get_financial_ratios, get_historical_prices, search_symbol, get_stock_news |
| Discovery (the other ~228 endpoints, at runtime) | list_fmp_endpoints, describe_fmp_endpoint, call_fmp_endpoint |
| Resource | fmpsdk://llms.txt — orientation for the underlying package |
Every tool is a read-only GET. Large list results from call_fmp_endpoint
are paged (50 rows) with page / total / more; the bulk group and the
whole-asset-class batch_*_quotes endpoints are refused — use the fmpsdk
library directly for dataset-scale work.
Install
Needs uv (for uvx) and an
FMP API key.
Claude Code:
claude mcp add fmpsdk -s user -e FMP_API_KEY=your-fmp-api-key -- uvx fmpsdk-mcp
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"fmpsdk": {
"command": "uvx",
"args": ["fmpsdk-mcp"],
"env": { "FMP_API_KEY": "your-fmp-api-key" }
}
}
}
uvx fetches and caches the package on first launch (a few seconds). Pin a
version with uvx fmpsdk-mcp@20260829.0.
To run an unreleased revision straight from a branch instead:
uvx --from git+https://github.com/daxm/fmpsdk@master#subdirectory=mcp fmpsdk-mcp
Develop
cd mcp
uv sync
uv run fastmcp dev fmpsdk_mcp/server.py # opens the MCP Inspector
FMP_API_KEY=... uv run fmpsdk-mcp # run the stdio server directly
uv run --extra test pytest # the test suite
Cut a release with mcp/deploy_a_release.sh after bumping __version__ in
fmpsdk_mcp/__init__.py — it runs the gate, then tags mcp-v<version> and
pushes, which triggers .github/workflows/publish-mcp.yml.
Related: openapi.json
The repo root ships an openapi.json describing this same API surface,
generated by python tools/gen_openapi.py. It is introspected from the
fmpsdk source — FMP publishes no OpenAPI/Swagger document, and this file
is not fetched from or endorsed by FMP.
Metadata
Release files for fmpsdk-mcp 20260829.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fmpsdk_mcp-20260829.1.tar.gz | 19.7 kB | With provenance | Details for fmpsdk_mcp-20260829.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fmpsdk_mcp-20260829.1-py3-none-any.whl | Python 3 | none | any | Details for fmpsdk_mcp-20260829.1-py3-none-any.whl |
Total release size: 36.9 kB
Release files / fmpsdk_mcp-20260829.1.tar.gz
| Download URL | fmpsdk_mcp-20260829.1.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
499fd9441440827cfbdc5046bd26016f557c72e0e85ec9b583da8e8b3f01de1d
|
|
BLAKE2b-256 checksum How to use checksums |
e84af9f712879b59f70b7d848d66f0584f88305550aba0bd7cd94080542bc29b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logRelease files / fmpsdk_mcp-20260829.1-py3-none-any.whl
| Download URL | fmpsdk_mcp-20260829.1-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f71b98266614ab91e737ea612d1c2468978bffb115393256340f9684350195e0
|
|
BLAKE2b-256 checksum How to use checksums |
e39f82371dfa427642900a24038b162fc5182d8eb8b1a309a18c4b8c1005cd8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logSecurity for fmpsdk-mcp 20260829.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fmpsdk_mcp-20260829.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.