Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
作者提供的说明(英文原文)
Normalized US-GAAP financial statements & fundamentals from SEC EDGAR, as MCP tools for LLM agents.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
FL_API_KEY, FL_API_BASE_URL, FL_API_KEY_HEADER, FL_API_TIMEOUT标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"datavidence-financials": {
"command": "uvx",
"args": [
"datavidence-financials"
],
"env": {
"FL_API_KEY": "your-value",
"FL_API_BASE_URL": "your-value",
"FL_API_KEY_HEADER": "your-value",
"FL_API_TIMEOUT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add datavidence-financials --env FL_API_KEY=your-value --env FL_API_BASE_URL=your-value --env FL_API_KEY_HEADER=your-value --env FL_API_TIMEOUT=your-value -- uvx datavidence-financials运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"datavidence-financials": {
"command": "uvx",
"args": [
"datavidence-financials"
],
"env": {
"FL_API_KEY": "your-value",
"FL_API_BASE_URL": "your-value",
"FL_API_KEY_HEADER": "your-value",
"FL_API_TIMEOUT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"datavidence-financials": {
"type": "stdio",
"command": "uvx",
"args": [
"datavidence-financials"
],
"env": {
"FL_API_KEY": "your-value",
"FL_API_BASE_URL": "your-value",
"FL_API_KEY_HEADER": "your-value",
"FL_API_TIMEOUT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
FL_API_BASE_URL envFL_API_KEY_HEADER envFL_API_TIMEOUT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 datavidence.ai 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:FL_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.5)于44天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Normalized US-GAAP financial statements for every SEC XBRL filer — point-in-time, as originally reported — as MCP tools for your AI agent (or a plain REST API).
Language models are good at reasoning about financial statements and bad at *getting* them. SEC EDGAR has the data, but its XBRL is a thicket of inconsistent tags, renamed concepts, and per-filer quirks — so agents either hallucinate the numbers or you spend weeks building a normalization layer. This is that layer: your agent asks for a company's financials and gets a clean, consistent answer — over the Model Context Protocol, or as a plain REST API.
⭐ If this is useful, please star the repo. It's a solo, early project, and stars are how other developers find it.
This is the open-source, AI-native layer for the Datavidence Financials API — a standalone stdio server that forwards over HTTPS to the REST API (bring your own key). The connector is MIT-licensed; the underlying API is a commercial service.
Run it with no clone using uv — it installs into a throwaway environment:
FL_API_KEY=sandbox_demo_key uvx datavidence-financials
sandbox_demo_key returns sample data with no signup — good for a first run. Set FL_API_KEY to your real key for live SEC data. The server speaks MCP over stdio, so an MCP client (e.g. Claude Desktop, below) launches it.
Or install it as a persistent tool with pipx:
pipx install datavidence-financials
FL_API_KEY=sandbox_demo_key datavidence-financials
Clients that support remote MCP servers (streamable HTTP) can connect without installing anything:
| URL | Key | Data |
|---|---|---|
https://mcp.financials.datavidence.ai/mcp | none | sample (AAPL FY2023) |
https://mcp.financials.datavidence.ai/rapidapi/mcp | your RapidAPI key, as X-API-Key or Authorization: Bearer | live SEC data, metered by RapidAPI against your plan |
Claude Code:
claude mcp add --transport http datavidence-financials \
https://mcp.financials.datavidence.ai/rapidapi/mcp \ --header "X-API-Key: YOUR_RAPIDAPI_KEY"
For the sample data, use the /mcp URL and leave out the header.
claude.ai: add https://mcp.financials.datavidence.ai/mcp as a custom connector with no sign-in. claude.ai can't send an API key for most accounts yet, so it gets the sample data for now.
as_of date and you get the figures as they stood then — no look-ahead bias from later restatements. The thing backtests quietly get burned without.Honest scope: US-GAAP only (IFRS filers return a clear "unsupported" signal rather than wrong numbers); XBRL-era history (~2009 onward). And when a company reorganizes under a new holding entity, SEC's ticker map points only at the successor CIK — the earlier years stay under the predecessor, so the error tells you and you pass cik= directly.
as_of (point-in-time, as originally reported), include_provenance (per-value SEC accession, filed date, and direct EDGAR source URL), and include_ratios (margins, ROA/ROE, leverage).10-K). Use it to discover which fiscal years are available before calling get_financials.BRK-B. Use it before the tools above, which all require an identifier.Errors surface the API's recovery_action hint, so agents self-correct.
Add to claude_desktop_config.json, then fully quit (Cmd+Q) and reopen Claude Desktop — the tools appear:
{
"mcpServers": { "datavidence-financials": { "command": "uvx", "args": ["datavidence-financials"], "env": { "FL_API_KEY": "sandbox_demo_key" } } } }
Then ask, e.g., *"Get AAPL's FY2023 income statement, balance sheet, and cash flow with ratios."* Swap in your real key for live data.
Add to ~/.codex/config.toml, then start codex — the tools appear:
[mcp_servers.datavidence-financials]
command = "uvx" args = ["datavidence-financials"] env = { FL_API_KEY = "sandbox_demo_key" }
startup_timeout_sec = 30
Swap in your real key for live data.
Or connect by URL instead (nothing to install; set DATAVIDENCE_API_KEY to your RapidAPI key):
[mcp_servers.datavidence-financials]
url = "https://mcp.financials.datavidence.ai/rapidapi/mcp" bearer_token_env_var = "DATAVIDENCE_API_KEY"
Leave out bearer_token_env_var and use https://mcp.financials.datavidence.ai/mcp for the sample data.
| Variable | Default | Notes |
|---|---|---|
FL_API_KEY | _(none)_ | Your API key. sandbox_demo_key = no-signup trial (sample data). |
FL_API_BASE_URL | https://api.financials.datavidence.ai | Point at a marketplace gateway for metered BYOK access. |
FL_API_KEY_HEADER | X-API-Key | Header to send the key in (e.g. X-RapidAPI-Key for the RapidAPI gateway). |
FL_API_TIMEOUT | 30 | Per-request timeout, in seconds. |
The demo key returns sample data. For live figures, grab a key on RapidAPI: Free (1,500 calls/mo), Pro ($29 / 50k), Business ($99 / 300k). Full feature parity across tiers — they differ only by monthly call volume.
To use your RapidAPI key, set these three variables (in the env block of the Claude Desktop config, or the env table in Codex's config.toml):
FL_API_BASE_URL=https://datavidence-financials-api.p.rapidapi.com
FL_API_KEY_HEADER=X-RapidAPI-Key FL_API_KEY=
Your key is on RapidAPI under your app's Authorization page, or in any code snippet on the API's page. Calls are metered by RapidAPI against your plan. With a RapidAPI key, get_usage shows your RapidAPI plan and its monthly limit; RapidAPI meters your calls, so check how many you've used in your RapidAPI dashboard.
pip install -e .
FL_API_KEY=sandbox_demo_key python -m mcp_server.server # stdio transport
pip install -e ".[dev]"
pytest
29 tests, no network and no API key needed. They call every tool through the MCP SDK with the HTTP layer stubbed, check that an API error reaches the model with its recovery hint, and check that each tool declares all four behaviour hints (read-only, non-destructive, idempotent, open-world).
The connector runs on your machine, has no telemetry and stores nothing. When a tool is called it sends two things to the Datavidence Financials API: the tool's arguments (for example a ticker, a CIK, a fiscal year or a company-name search) and your API key, in a request header. It does not see your files or the rest of your conversation.
https://api.financials.datavidence.ai by default. If you set FL_API_BASE_URL to the RapidAPI gateway, requests go through RapidAPI, under its own privacy policy.Full policy: https://financials.datavidence.ai/privacy
Found a company where the numbers come back wrong, or a field/tool you need? [Open an issue](https://github.com/datavidence/datavidence-financials-mcp/issues) — the normalization edge cases are exactly the feedback that makes this better, and I read every one.
ai.datavidence/datavidence-financialsSECURITY.md to report a vulnerability privately.MIT © 2026 Datavidence LLC — see LICENSE. The connector is open-source; the underlying Datavidence Financials API is a commercial service.