原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Financial Modeling Prep (fmpsdk)

作者:daxm版本 20260829.1i★ –i在你的电脑上运行
注册名称io.github.daxm/fmpsdk-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 会计、财务与税务
  • 你需要填写:FMP_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "fmpsdk": {
      "command": "uvx",
      "args": [
        "fmpsdk-mcp"
      ],
      "env": {
        "FMP_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add fmpsdk --env FMP_API_KEY=your-value -- uvx fmpsdk-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "fmpsdk": {
      "command": "uvx",
      "args": [
        "fmpsdk-mcp"
      ],
      "env": {
        "FMP_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "fmpsdk": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "fmpsdk-mcp"
      ],
      "env": {
        "FMP_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • FMP_API_KEY 机密 必填 env
    Financial Modeling Prep API key (https://site.financialmodelingprep.com/developer/docs)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 daxm 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 1734 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1734 个服务器的 37% 更新
  • 基础检查结果等于或优于此分类中其他 1734 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Financial Modeling Prep (fmpsdk) 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:FMP_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(20260829.1)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Finance Toolkit

作者:JerBouma

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

电脑或云端★ 5,496MIT今天更新
安装

SolidInvoice

作者:SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

在云端运行★ 981MIT8天前更新
安装

Korea Tax Calculator

作者:UpstageAI

Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.

在你的电脑上运行★ 97MIT昨天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

FMP SDK

The idea behind this project is to provide a 'one-stop-shop' to the API endpoints provided by Financial Modeling Prep (FMP).

A personal note to you: my apologies for letting this package get so out of date. FMP kept reshuffling its API, then I had a personal issue delay me further. Things are back on track now. Because of that gap, roughly half of this package's old methods had gone defunct against FMP's current API, so rather than patch around that I rebuilt it from scratch against FMP's stable/ API. If you're on 20250102.0 or earlier you're on the old, pre-rewrite methods; anything newer uses the schema described below. Old releases are yanked from PyPI (a plain pip install fmpsdk now always gets the rewrite), but still installable if you pin one explicitly, e.g. pip install fmpsdk==20250102.0 — note that won't actually restore functionality, though: FMP sunset the legacy /api/v3/ API those old methods called entirely on 2025-08-31, so a pinned old version installs fine but its calls will fail regardless. It's there for compatibility with existing pinned requirements files while you migrate, not as a way to keep avoiding the rewrite.

What's covered

29 data groups, ~240 methods total, each reachable both as client. (...) and grouped under a matching namespace, e.g. client.statements.income_statement(...):

  • Company & fundamentals — profile, executives, M&A, DCF valuation, financial statements/ ratios/growth (income, balance sheet, cash flow — as-reported, TTM, and growth variants)
  • Market data — real-time & aftermarket quotes, historical price charts, technical indicators
  • Reference & screening — symbol/CIK/CUSIP/ISIN search, the company screener, sector/ industry/exchange directories
  • Calendars & events — earnings, dividends, splits, IPOs, the economic calendar
  • Ownership & compliance — insider trades, Form 13F institutional ownership, SEC filings, ESG disclosures
  • Alternative markets — crypto, forex, commodities, indexes, ETFs & mutual funds
  • Sentiment & analysis — analyst grades/price targets, TipRanks ratings, congressional trading, market movers
  • Bulk downloads — whole-universe data dumps, one call instead of one per symbol

Every method's own docstring says which FMP plan tier it needs (Free/Starter/Premium/ Ultimate) — see Pricing tiers below. One exception: the 7 client.tipranks methods are implemented and unit-tested but untested against a real response — see that section for why.

How to Use

  1. Requires Python 3.9+. Install the package: pip install fmpsdk python-dotenv (python-dotenv is optional — it's just how the example below loads your API key from a .env file).
  2. Create a .env file and put your API key in it. Inside .env: FMP_API_KEY='blah'
  3. Build a Client and call methods on it, grouped by data category — e.g. client.company.profile(symbol="AAPL"), client.statements.income_statement(symbol="AAPL").
  4. The return from a method call is almost always a list of dictionaries. It is up to you to parse it.

Example code

#!/usr/bin/env python3

from dotenv import load_dotenv

import fmpsdk

Actual API key is stored in a .env file. Not good to store API key directly in script.

load_dotenv() client = fmpsdk.Client() # reads FMP_API_KEY from the environment

Company Valuation Methods

symbol = "AAPL" print(f"Company Profile: {client.company.profile(symbol=symbol)}")

Every non-2xx FMP response raises a typed exception instead of returning

None or an error-shaped dict, so a plan-gated or bad-key call is obvious:

try: client.statements.income_statement_ttm(symbol=symbol) except fmpsdk.FMPPlanLimitError: print("Your FMP plan doesn't cover this endpoint — check its docstring for which tier does.") except fmpsdk.FMPAuthenticationError: print("Check your FMP_API_KEY.")

One naming quirk worth knowing up front: client.quote is the namespace for the whole quote group (client.quote.aftermarket_quote(...), client.quote.batch_quote(...), etc.), so it shadows the top-level quote() method of the same name — call that one as client.quote.quote(symbol="AAPL").

Pricing tiers

FMP's plans form a ladder — Free, Starter, Premium, Ultimate — and each one adds more endpoints on top of the last. A call your plan doesn't cover raises fmpsdk.FMPPlanLimitError rather than returning data. There's no single tier table to keep in sync here — instead, every group module's docstring (e.g. fmpsdk/endpoints/search.py) and every method's own docstring says plainly which tier it needs, right next to the code that calls it, verified live against a real key at every tier from Free through Ultimate. Check those, or just try the call and catch FMPPlanLimitError.

One exception, outside that ladder entirely: `client.tipranks`'s 7 methods. They still 402 even on Ultimate — FMP's own error message says why: TipRanks data needs a separate paid add-on ("TipRanks data boost"), bought independently of the four plan tiers above. We haven't purchased it, so these 7 methods are implemented and unit-tested (mocked) but never verified against a real response — treat them as unverified rather than confirmed-working. If you have that add-on and hit a bug in one of them, a PR with the fix (and what the real response actually looks like) is welcome.

MCP server & OpenAPI spec

[`mcp/`](mcp/README.md) — a [Model Context Protocol](https://modelcontextprotocol.io) server, published separately as fmpsdk-mcp (so pip install fmpsdk never pulls in fastmcp). Lets an AI assistant (Claude Code, Claude Desktop, …) query FMP through this library: 10 curated tools for the common asks (quotes, profiles, statements, ratios, price history, news) plus discovery tools that reach all ~240 methods at runtime. With uv:

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

See mcp/README.md for the Claude Desktop config, the full tool list, and development setup.

[`openapi.json`](openapi.json) — an OpenAPI 3.1 description of the same API surface. FMP publishes no OpenAPI/Swagger document; this file is *generated by introspecting this library's source* (python tools/gen_openapi.py), not fetched from or endorsed by FMP.

Contributing

See CONTRIBUTING.md — dev setup, the unit/live/ultimate test tiers, and specifically how to verify and PR a fix for the untested tipranks methods above.

License

BSD 3-Clause — see LICENSE.md.

Attribution

Special thanks to the following people who have pitched in on this project! Open source works thanks to people who jump in and help! These are this project's stars. Thank you.

问 PopNx