# Financial Modeling Prep (fmpsdk) [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/daxm/fmpsdk  
**GitHub Stars:** 214  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/financial-modeling-prep-fmpsdk

## Description
Financial Modeling Prep API as MCP tools — quotes, statements, prices, and ~240 endpoints.

## Tools
Capabilities this server exposes over MCP:

- **get_quote** — Full real-time quote for one symbol (equity, index, commodity, crypto,
or forex pair): price, change, day/52-week range, volume, market cap,
50/200-day averages.
- **get_company_profile** — Company profile: price and market cap, identifiers (CIK/ISIN/CUSIP),
sector and industry, headquarters, leadership, description, exchange.
- **get_income_statement** — Income statement (revenue, expenses, net income) for one company.

period: "annual" or "quarter".  limit: how many periods, newest first.
- **get_balance_sheet** — Balance sheet (assets, liabilities, equity) for one company.

period: "annual" or "quarter".  limit: how many periods, newest first.
- **get_cash_flow** — Cash flow statement (operating, investing, financing) for one company.

period: "annual" or "quarter".  limit: how many periods, newest first.
- **get_key_metrics** — Per-period key metrics: valuation multiples, per-share figures, returns
on capital, margins — FMP-computed from the statements.
- **get_financial_ratios** — Per-period financial ratios: liquidity, leverage, efficiency,
profitability, and valuation — FMP-computed from the statements.
- **get_historical_prices** — Daily close price and volume for one symbol between two dates
(YYYY-MM-DD). Leave dates unset for FMP's default recent window. Long
ranges are returned page by page — see the response's `note`.
- **search_symbol** — Resolve a ticker symbol from a name or fragment (e.g. "apple" -> AAPL).
- **get_stock_news** — Recent news articles for one or more symbols (comma-separated, e.g.
"AAPL,MSFT"): headline, publisher, url, published date, snippet.
- **list_fmp_endpoints** — Find FMP endpoints beyond the curated tools. `query` is a substring
match over name/group/summary; `group` filters to one category (e.g.
"congress", "institutional_ownership"); `free_only` drops endpoints that
need a paid FMP plan. Returns name, group, plan tier ("Free"/"Starter"/
"Premium"/"Ultimate"/"Add-on"), and one-line summary — pass a name to
`describe_fmp_endpoint` for the full signature.
- **describe_fmp_endpoint** — Full detail for one endpoint: call signature, every parameter, return
type, plan tier, FMP wire path, and the complete docstring. Use before
`call_fmp_endpoint` so the arguments are right.
- **call_fmp_endpoint** — Invoke any FMP endpoint by its fmpsdk method name. `params` is a dict of
that method's arguments (see `describe_fmp_endpoint`). Large list results
are paged: the response carries `page`, `total`, `more`, and a `note` on
how to get the rest. `bulk` and whole-asset-class batch endpoints are
refused here — use the fmpsdk library directly for those.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "financial-modeling-prep-fmpsdk": {
    "command": "uvx",
    "args": ["fmpsdk-mcp"],
    "env": {
      "FMP_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `FMP_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Financial Modeling Prep (fmpsdk) MCP server does

The Financial Modeling Prep (fmpsdk) MCP server connects an MCP-compatible assistant to the Financial Modeling Prep API through the `fmpsdk` Python library. Its interface covers market data, company fundamentals, reference data, screening, calendars, ownership, alternative markets, sentiment, analysis, and bulk downloads.

The MCP package offers 10 curated tools for frequent requests, including quotes, company profiles, financial statements, ratios, historical prices, and news. Discovery tools expose the broader SDK surface at runtime, covering approximately 240 methods across 29 data groups. The underlying library supports both direct method names and category namespaces, although MCP clients interact through the server tools rather than calling the Python client directly.

## How it works

An MCP client starts the `fmpsdk-mcp` process and supplies an FMP API key through the environment. The server sends requests to FMP using the SDK and returns the resulting data to the assistant. Most SDK calls return lists of dictionaries, so an agent may need to interpret or organize the returned records for the requested task.

FMP plan access applies at the endpoint level. The SDK documents the required tier for each method, and calls outside the account’s plan raise an `FMPPlanLimitError`. Invalid credentials raise an `FMPAuthenticationError`, making authentication and plan failures distinct from successful data responses.

## Setup and configuration

Install or run the separate MCP distribution rather than relying on the base SDK package to install MCP dependencies. With `uv`, the documented launch command is:

```bash
claude mcp add fmpsdk -s user -e FMP_API_KEY=your-key -- uvx fmpsdk-mcp
```

Set `FMP_API_KEY` to an active Financial Modeling Prep key. The repository also provides Claude Desktop configuration details in the MCP-specific README. The underlying Python package requires Python 3.9 or newer; `python-dotenv` is optional for loading a key from a `.env` file when using the library directly.

## Tools and capabilities

The Financial Modeling Prep (fmpsdk) MCP server can support requests involving:

- Real-time and aftermarket quotes, historical prices, and technical indicators
- Company profiles, executives, valuation, financial statements, ratios, and growth data
- Symbol, CIK, CUSIP, and ISIN lookup plus company screening
- Earnings, dividends, splits, IPO, and economic calendars
- Insider transactions, institutional Form 13F data, SEC filings, and ESG disclosures
- Crypto, foreign exchange, commodities, indexes, ETFs, and mutual funds
- Analyst information, market movers, congressional trading, and other analysis data
- Bulk downloads and runtime discovery of the wider SDK method set

## Limitations and notes

Coverage depends on the Financial Modeling Prep plan associated with the API key. Free, Starter, Premium, and Ultimate plans expose different endpoint sets, and a plan-restricted request will fail instead of returning partial data.

The seven TipRanks methods are a special case. They require a separate paid TipRanks data add-on, including for Ultimate accounts, and the repository says they have only been tested with mocks rather than verified against live responses. Treat those methods as unverified.

The repository’s generated OpenAPI file describes the SDK-derived API surface; it is generated from the library source and is not an OpenAPI document published or endorsed by FMP. Older SDK releases that target the retired legacy API should not be used for current requests.

_Full upstream README: https://allmcps.com/mcp/financial-modeling-prep-fmpsdk/readme_

