Skip to main content

fmp-stable-api

Financial Modeling Prep API client — auto-updating endpoints, GUI manager, and optional MCP server.

Install

pip install fmp-stable-api           # API client + GUI
pip install fmp-stable-api[mcp]      # also includes the MCP server

Quick start

from fmp_stable_api import FMP

client = FMP(client_type="Premium", client_key="your_api_key")

# Dynamic endpoint access — categories and endpoints loaded from fmp_endpoints.json
results = client.Search.search_symbol(symbol="AAPL")

# Raw URL request
data = client.request("https://financialmodelingprep.com/stable/profile", {"symbol": "AAPL"})

# Show all available categories
client.help()

# Show endpoints in a category
client.Search.help()

Endpoints auto-update

On first use and once every 24 hours, the client fetches the latest fmp_endpoints.json from GitHub and caches it at ~/.fmp/fmp_endpoints.json. A bundled fallback is used when the network is unavailable.

# Force an immediate refresh
from fmp_stable_api import update_endpoints
update_endpoints(force=True)

# Or via the client
client.update_endpoints(force=True)

GUI manager

A tkinter-based GUI for browsing and editing fmp_endpoints.json:

fmp-gui

MCP server (Claude Desktop / AI assistants)

pip install fmp[mcp]

Add to your Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "fmp": {
      "command": "fmp-mcp",
      "env": {
        "FMP_API_KEY": "your_api_key_here",
        "FMP_CLIENT_TYPE": "Premium"
      }
    }
  }
}

Tools are named {Category}__{endpoint}, e.g. Search__search_symbol.

API key tiers

Tier Requests / min
Basic 250
Starter 300
Premium 750
Ultimate 3 000
Enterprise / Custom set via custom_daily_limit
# Enterprise or Custom key
client = FMP(client_type="Enterprise", client_key="key", custom_daily_limit=5000)

Download to file

client.download(
    "https://financialmodelingprep.com/stable/profile-bulk",
    params={"part": 0},
    filename="profiles.csv",
)

Usage info

print(client.get_usage_info())
# {'client_type': 'Premium', 'minute_limit': 750, 'remaining': 748, 'seconds_until_reset': 43.2}

Cache files

Path Contents
~/.fmp/fmp_endpoints.json Downloaded endpoints config
~/.fmp/skill.md Downloaded MCP skill file
~/.fmp/.meta.json Cache timestamps
~/.fmp/api_keys.json GUI API key storage

Security

API Keys:

  • Never commit API keys to git. The GUI stores keys in ~/.fmp/api_keys.json automatically.
  • If you had an API key in a config file that was committed to a git repository, rotate it immediately in your FMP account dashboard. Treat any committed key as compromised.
  • Do not share ~/.fmp/api_keys.json.

Endpoint Updates:

  • Downloaded fmp_endpoints.json is validated to ensure stable_url stays on financialmodelingprep.com. Tampered configs with off-domain base URLs are rejected.

License

MIT

Metadata

Release files for fmp-stable-api 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fmp-stable-api 2.1.1
File Size Uploaded Provenance
fmp_stable_api-2.1.1.tar.gz 58.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fmp-stable-api 2.1.1
File Interpreter ABI Platform
fmp_stable_api-2.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 119.4 kB

Release files / fmp_stable_api-2.1.1.tar.gz

Download URL fmp_stable_api-2.1.1.tar.gz
Size 58.6 kB
Tags Source
SHA-256 checksum
How to use checksums
07765c44106f9925627ffbd8f05c4042fa73c3304c2895b89012171d169c5df8
BLAKE2b-256 checksum
How to use checksums
8511fb32614195785914f4fda78985d2110179baad88e0ea76b508186d5898b4
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 Sep 11, 2026.

Transparency log

Release files / fmp_stable_api-2.1.1-py3-none-any.whl

Download URL fmp_stable_api-2.1.1-py3-none-any.whl
Size 60.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
294c3f846d9daef07c6215a5103a3dd8b1cfc08e230184f415d8210693afce30
BLAKE2b-256 checksum
How to use checksums
90e80ea53ac6cc88b5df3f6493af21bf8b5463c24bbb7192b6ed73b63c54c82a
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 Sep 11, 2026.

Transparency log

Security for fmp-stable-api 2.1.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fmp_stable_api-2.1.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 Sep 11, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page