
FinancialFilings
eu.financialreportsv1.4.105更新於 Oct 9, 2026
Regulatory filings, XBRL financials and company data from securities regulators worldwide
概覽
讓助理查詢全球監理機關申報的監理文件、XBRL 財務資料與公司資訊。
- 功能
- 這是 FinancialFilings API 的遠端 MCP 伺服器,預設提供 16 個精選工具,用於公司搜尋與檔案、標準化財務資料、文件清單與詳情、文件 Markdown 取得、單一文件內關鍵字搜尋、ISIN 查詢與雙重上市,以及參考分類體系。設定 MCP_FULL_SURFACE=1 可擴充到 46 個工具,增加 ISIC 階層、參考資料、自選清單、Webhook 訂閱與各交易所證券清單。搭配的技能可引導多公司財務比較與文件監控流程。
- 適用情境
- 當助理需要回答關於上市公司監理文件、年報、財務指標或 ISIN 的問題時使用,例如摘要 10-K 風險因素、比較多家公司的淨負債,或依產業篩選公司。
- 執行需求
- 遠端 Streamable HTTP 端點 mcp.financialfilings.com/mcp,不需要本機執行環境或套件。需要免費的 FinancialFilings 帳戶,用戶端須在瀏覽器完成 OAuth 登入(PKCE 加動態用戶端註冊)。用戶端不儲存 API 金鑰或機密。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 FinancialFilings,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"mcp-server": {
"type": "http",
"url": "https://mcp.financialfilings.com/mcp"
}
}
}README
FinancialFilings MCP Server
[License: MIT] [Python] [MCP Spec] [Status]
Official Model Context Protocol (MCP) server for the FinancialFilings API. Direct access from Claude (and any MCP-compatible client) to regulatory filings, financial data, and corporate information from listed companies worldwide. 16 curated tools by default (set
MCP_FULL_SURFACE=1for the full 46-tool surface). Free for any FinancialFilings account. Sourced from official regulators.
Quick start
If you're an analyst, researcher, or anyone who wants to ask Claude about public-company filings:
- Create a free account at financialfilings.com — the MCP connector is free for any FinancialFilings user. No paid plan required.
- Add the connector in your MCP client — pick yours under Connect your client below. The two most common:
- Claude.ai / Claude Desktop: Settings → Connectors → Add custom connector → URL:
https://mcp.financialfilings.com/mcp - Claude Code:
claude mcp add --transport http financialreports https://mcp.financialfilings.com/mcp
- Claude.ai / Claude Desktop: Settings → Connectors → Add custom connector → URL:
- Sign in with your FinancialFilings account when prompted. That's it.
Full setup walkthrough with screenshots: financialfilings.com/integrations/claude/.
Connect your client
This is a remote MCP server — Streamable HTTP with OAuth (PKCE + Dynamic Client Registration). There is no API key to copy and no secret to store: connecting opens a browser sign-in with your FinancialFilings account.
Endpoint: https://mcp.financialfilings.com/mcp
Find your client below. If it isn't listed, use the Generic block at the end — the endpoint and OAuth flow are identical everywhere; only the config file differs.
Claude.ai / Claude Desktop
Settings → Connectors → Add custom connector → URL: https://mcp.financialfilings.com/mcp. Sign in when prompted.
Claude Code
Run /mcp in-session to complete the browser sign-in.
Codex (OpenAI)
Codex uses TOML. Add to ~/.codex/config.toml (or a project .codex/config.toml):
Then authenticate — Codex runs the OAuth browser flow for servers that support it:
Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):
OAuth runs in the browser on first use.
Kilo Code
Project .kilocode/mcp.json (or the global MCP settings file):
opencode
opencode.json:
Gemini CLI
~/.gemini/settings.json:
Hermes
mcp_servers in your Hermes config (YAML):
Generic (any MCP client)
Most MCP-aware harnesses accept a mcpServers object. Point it at the endpoint over Streamable HTTP:
Clients with native remote-MCP OAuth (Claude, Cursor, Windsurf, VS Code, opencode, Codex via codex mcp login) run the sign-in in a browser automatically. For OpenClaw and other MCP-aware harnesses, use this block with the connector URL and complete OAuth when prompted — see your client's own MCP configuration docs for the exact file location.
Troubleshooting: "Client Not Registered"
If signing in sends you to a page titled Client Not Registered — "The client ID … was not found in the server's client registry" — your client is presenting a registration this server no longer has.
Remove the connector and add it again. That is the only thing that resolves it, and it takes a few seconds:
Two things the error page itself doesn't tell you:
- It won't fix itself, and retrying won't help. Sign-in happens in your browser, so your client never learns it failed — it waits for a callback that never arrives and simply replays the same dead ID. Restarting doesn't help either: hosted connectors (ChatGPT, Claude.ai) keep the registration server-side, so only removing the connector clears it.
- Nothing is wrong with your account and no data is affected. Re-adding creates a fresh registration and everything works as before.
If you were affected on or after 14 July 2026: a cache failover dropped stored client registrations. Sign-ins have worked normally since — only connectors added before that date need the remove-and-re-add above.
What you get
16 LLM-callable tools by default — the curated surface analysts actually use:
Set MCP_FULL_SURFACE=1 to restore the full 46-tool surface: the ISIC section/division/group/class hierarchy, the rest of the reference data (countries, languages, sources, line-item definitions, filing history), per-user watchlists, webhook subscriptions, the company-merge audit feed, and per-exchange security listings.
The shipped surface is generated from a committed, reviewed snapshot of the FinancialFilings OpenAPI schema (scripts/openapi.snapshot.json, pinned via FR_PIN_SCHEMA=1 in CI and the Docker build), so it's deterministic and never drifts silently on a rebuild.
Companion skill
The repository ships an Agent Skill — financial-filings-research — that teaches Claude how to compose these tools into the workflows analysts actually run: company lookup, filing summarization, multi-company financial comparison, ISIC industry screening, and filings monitoring. It activates automatically when the user mentions a company name, ticker, ISIN, filing type, or financial metric.
Architecture
Key design decisions:
- Tools are generated, not hand-written.
scripts/generate_mcp_tools.pyreads the OpenAPI schema — pinned to a committed snapshot viaFR_PIN_SCHEMA=1in CI and the Docker build — and emitssrc/financial_reports_mcp.py. The default surface is curated to a focused 16-tool set;MCP_FULL_SURFACE=1emits the full surface. Note that_PRUNED_EXCLUDEin the generator is a denylist, so a new upstream endpoint joins the curated surface unless the snapshot-refresh PR explicitly excludes it. - Bearer-token proxy, not session storage. The user's Cognito access token is forwarded to the upstream API on every call. No conversation data, no API responses cached server-side.
- Subscription gating in-process. A 15-second LRU cache holds Cognito
sub→ tier mappings to avoid hammering the FR API on every tool call. - Same-origin asset proxy.
/favicon.ico,/icon.png,/icon-{32,192,512}.pngare served from this origin (proxied + cached from CDN) so connector UIs and the/consentpage render without cross-origin CSP friction.
MCP spec compliance
Compliant with the MCP 2025-11-25 specification:
- ✅ Streamable HTTP transport —
POST /mcpwithMCP-Protocol-Versionecho, 400 on unsupported versions - ✅ OAuth 2.0 — RFC 7591 dynamic client registration + PKCE S256
- ✅ RFC 9728 protected-resource metadata — both at
/.well-known/oauth-protected-resourceand/.well-known/oauth-protected-resource/mcp - ✅ Tool annotations — every tool has
titleplusreadOnlyHintordestructiveHint - ✅
outputSchema— six structured-content tools (companies_list,companies_retrieve,companies_financials_retrieve,filings_list,filings_retrieve,isins_list) - ✅ Origin validation — 403 on unrecognized origins, 401 with proper
WWW-Authenticateheader for unauthenticated requests - ✅ Multi-size connector icons — 32×32, 192×192, 512×512 PNG advertised in
initializeresponse
CI verifies all of the above on every PR.
Tool catalog
The list below is regenerated by scripts/generate_mcp_tools.py on every build. Do not hand-edit between the markers.
Companies
companies_financials_retrieve— Retrieve Company Financialscompanies_list— List Companiescompanies_next_annual_report_retrieve— Predict Next Annual Reportcompanies_resolve_create— Resolve Companies by Identifier (Batch)companies_retrieve— Retrieve Company Details
Filing Categories
filing_categories_list— List Filing Categories
Filing Types
filing_types_list— List Filing Types
Filings
filings_list— List Filingsfilings_markdown_retrieve— Retrieve Filing Markdownfilings_retrieve— Retrieve Filing Details
ISINs
isins_list— List ISINsisins_retrieve— Retrieve ISIN
Example prompts
Once connected, try:
- "Find Apple's most recent 10-K and summarize the risk factors that changed year-over-year."
- "Get full company details for ASML."
- "Compare net debt for Iberdrola, Engie, Enel, RWE for the latest fiscal year."
- "List EU airlines that filed annual reports in the last 6 months."
- "Show me insider-transaction filings at Tesla in the last 30 days."
- "Alert me when any company in my watchlist files an 8-K."
- "What's the LEI for Volkswagen AG?"
Self-hosting
Self-hosting requires standing up your own AWS Cognito user pool and is primarily useful for forking + adapting to a different upstream API. For the FinancialFilings API specifically, the hosted server at mcp.financialfilings.com is the supported path.
Detailed self-hosting docs (Docker, Cognito setup, env vars, CDN/icon configuration): docs/SELF-HOSTING.md.
Development
One-shot bootstrap (venv → deps → env check → generate → run):
Or step by step:
CI runs the full unit suite plus a Docker-Compose end-to-end test (with Redis) on every PR. See .github/workflows/ci.yml.
Local development with a personal API key
For iterating on the generator, tools, or prompts against a real backend without going through the Cognito OAuth dance every restart, the server supports a dev-only DEV_MODE_API_KEY env var. When set, JWT validation is skipped on the existing /mcp endpoint (both the subscription_required and _authorize_or_raise paths) and the key is forwarded as X-API-Key to API_BASE_URL.
This is a maintainer convenience, not a production auth path. The module refuses to import if MCP_BASE_URL contains a production hostname (mcp.financialfilings.com).
- Add your personal FinancialFilings API key to
.env: - Regenerate and start the server (Cognito vars must still be set — the OAuth proxy module loads even when the bypass is active):
- Point Claude Code at the local instance:
Production headless / API-key auth (parallel /mcp/apikey endpoint with per-request X-API-Key) is tracked in #28 and is a separate feature from this dev-mode shortcut.
Common tasks
Evaluating changes
This server is benchmarked by financial-reports/mcp-evals (private). Cross-model scorecards (task success, tool-selection accuracy, path consistency, tokens/turns/latency) live there, not here. Before merging changes to tool descriptions, Prompts, or the generator, run the harness against either prod or a local dev MCP and compare the scorecard.
What lives in this repo: deterministic prompt-registration tests at tests/eval/ — fast, no API keys, run on every PR. See tests/eval/README.md for the cross-repo workflow.
Security
This server handles OAuth flows and bearer tokens. Found a vulnerability? Please don't open a public issue. See SECURITY.md for the responsible-disclosure process.
Server-side guarantees:
- Bearer tokens are proxied per-request, never logged or persisted.
- HTTPS is enforced (HTTP redirects to HTTPS at the edge).
- CSP is applied to HTML responses (
default-src 'none', only same-origin assets allowed). - Origin validation rejects requests from unrecognized origins.
- All cryptographic operations rely on standard library + AWS SDKs; no custom crypto.
Contributing
Contributions welcome. See CONTRIBUTING.md for development setup, the regenerate→test→PR workflow, and what kinds of changes are welcome (tests, docs, generator improvements, hand-tuned tool descriptions in scripts/generate_mcp_tools.py) versus what gets rejected (hand-edited src/financial_reports_mcp.py — it's auto-generated and overwritten on every build).
Project status
- Production: live at
https://mcp.financialfilings.com/mcp - MCP Directory: submitted for inclusion (May 2026)
- Spec compliance: MCP 2025-11-25
- Tested with: Claude.ai, Claude Code, Claude Desktop, Cursor, Windsurf. Config snippets also provided for Codex, Kilo Code, opencode, Gemini CLI, and Hermes (see Connect your client).
License
MIT — © FinancialReports.
Acknowledgments
Special thanks to @itisaevalex for the original community-built MCP server, which served as the proof-of-concept that motivated this official version.
Built on FastMCP, FastAPI, and the Model Context Protocol.
來源:README.md,提交 b8c89cf
工具
0版本歷史
1- v1.4.105最新Oct 9, 2026


