L'Atlas / MCP servers / 洋葱财报OnionData-MCP
MCP server

洋葱财报OnionData-MCP

com.onionreport/oniondata-mcp

MCP server OK 6 tools

Get a review See pricing

洋葱财报OnionData-MCP 提供 A 股上市公司多口径财报数据,覆盖利润表、资产负债表、现金流量表,支持单季同比/环比、逐季度 TTM、年度与最新报告期近 10 期查询。

Technical sheet

Author
onionreport.com (registry namespace)
Repository
—
Site
www.onionreport.com/open/mcp-intro
Version
1.0.1
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://api.onionreport.com/mcp Streamable HTTP
Tools
6
Categories
—
Last updated
17 Nov 2026
Published
17 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/com.onionreport/oniondata-mcp.svg?lang=en)](https://latlas.dev/en/mcp/com.onionreport/oniondata-mcp)
HTML
<a href="https://latlas.dev/en/mcp/com.onionreport/oniondata-mcp"><img src="https://latlas.dev/badge/statut/mcp/com.onionreport/oniondata-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/com.onionreport/oniondata-mcp.svg?lang=en)](https://latlas.dev/en/mcp/com.onionreport/oniondata-mcp)
HTML
<a href="https://latlas.dev/en/mcp/com.onionreport/oniondata-mcp"><img src="https://latlas.dev/badge/fiche/com.onionreport/oniondata-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://api.onionreport.com/mcp
Last result
OK 28 Nov 2026, 09:57
Response time
6,475 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
oniondata-mcp 2026.11.25
Tools
6

History

DateResultResponseTools
28 Nov 2026, 09:57OK6,475 ms6

Exposed tools (6, from tools/list, 28 Nov 2026)

start_trial

开启匿名试用

创建匿名数据试用 handle:有效期 24 小时,最多 10 次 company_records 调用或 100 积分(先到为准);每 IP 每 24 小时限领 1 个,用尽后需完成 OAuth 授权升级。把返回的 handle 作为 company_records 的 trial_handle 参数传回。

No parameters.

search_companies

搜索公司

搜索 A 股上市公司(China A-share company search):按 6 位证券代码(ticker)、公司简称或拼音首字母匹配,返回最多 10 条 {scode, sname},供后续取数确定证券代码。truncated=true 表示结果已截断,请细化关键词。本工具不计积分,匿名可直接调用。

ParameterTypeRequiredDescription
querystringyes证券代码、简称或拼音首字母

list_report_periods

查询报告期

查询 A 股股票可用报告期(A-share report periods):返回某公司在指定口径下实际可用的报告期(按日期倒序);口径取值见 inputSchema.repoterm。本工具不计积分,匿名可直接调用。

ParameterTypeRequiredDescription
scodestringyesA 股 6 位证券代码
repotermenum: "new" | "quarter_h" | "quarter_t" | "ttm" | "year"nonew 最新报告期 latest(默认) / quarter_h 单季度环比 QoQ / quarter_t 单季度同比 YoY / ttm 逐季度 TTM / year 年度 annual

list_indicators

查询指标字典

获取财务指标字典(China A-share financial indicators dictionary):repoitem_key → 中文名、单位的速查表,全市场统一口径,与公司无关。用于查单个指标的中文名或单位;若需按报表(reponame)或指标类别(repotype)筛选、或查口径取值,请用 get_dimensions。本工具不计积分,匿名可直接调用。

No parameters.

company_records

财务取数(单公司多期 / 多公司单期)

读取 A 股上市公司财报明细(China A-share financial statements):原子取数工具,覆盖利润表 income、资产负债表 balance、现金流量表 cashflow、业绩预告 predict。 支持五种口径,由 repoterm 指定(取值见 inputSchema.repoterm)。 scode 传 1 个为单公司多期(periods 1–10 连续最近期,默认 1;或 report_date 传 1–10 个显式季末报告期);传 2–10 个为多公司单期横切,省略 report_date 时取所选公司该口径的最近报告期。多公司不支持 periods,只支持 1 个 report_date;periods 与 report_date 互斥(同时传返回 dimension_conflict);report_date 仅接受季末日 03-31/06-30/09-30/12-31,输出统一 YYYY-MM-DD;业绩预告 predict 仅支持 format=long。 结果上界按报表计:long 每张 250 行 / wide 每张 10 行,reponame 最多 4 张(逗号分隔),超出返回 result_too_large,不截断。 数值为原始值(元),增幅以百分点表示(12.3 即 12.3%)。notice_date_to 为时点快照(重述会移动公告日),notice_date_from 为增量(含重述)。 匿名试用(无 API Token)仅限单公司、单指标(repoitem_key 必传且恰好 1 个)、单口径(repoterm)、format=long、最多 2 个报告期;可用 list_indicators 获取指标 key。按实际返回数据量加权计积分,空结果不计;注册用户单公司与多公司横切均不要求 VIP。

ParameterTypeRequiredDescription
scodearray<string>yesA 股 6 位代码列表(1–10 个):1 个=单公司多期,多个=多公司单期横切;只需传一次数组
reponamestringyes报表名:income 利润表(income statement)/ balance 资产负债表(balance sheet)/ cashflow 现金流量表(cash flow statement)/ predict 业绩预告;多张报表用逗号分隔(最多 4 个),如 income,balance
repotermenum: "new" | "quarter_h" | "quarter_t" | "ttm" | "year"yes单一口径:new 最新报告期 latest(默认) / quarter_h 单季度环比 QoQ / quarter_t 单季度同比 YoY / ttm 逐季度 TTM / year 年度 annual
repotypeenum: "basic" | "operation"no指标类别:basic 基础指标 / operation 运营指标;省略=该报表全部指标
periodsintegerno报告期数 1–10,默认 1(最近一期),仅单公司可用(多公司传会报 dimension_conflict)
report_datestring | array<string>no报告期仅支持季末日 03-31/06-30/09-30/12-31;与 periods 互斥,多公司只允许 1 个,省略则取最近报告期
repoitem_keyarray<string>no指标 key 列表;省略=该报表全部指标
formatenum: "long" | "wide"nolong 一行一指标;wide 一行一(公司, 报告期)
notice_date_fromstringno公告日下界(含)YYYY-MM-DD;响应 meta.notice_date_max 可作下次水位线
notice_date_tostringno公告日上界(含)YYYY-MM-DD,用于时点快照
trial_handlestringno匿名试用 handle:无 API Token 时须先调用 start_trial,并把返回的 handle 传回;已配置令牌时忽略

get_dimensions

查询维度与指标字典

获取报表与指标目录(financial statement catalog):reports(报表 + repotypes + 指标数)、repoterms(口径取值)、metrics(可按 reponame/repotype 过滤,含中文名/单位/kind/pre_scaled)。用于确定取数前的合法维度取值;若只需 key → 中文名/单位的纯映射,用 list_indicators。本工具不计积分,匿名可直接调用。

ParameterTypeRequiredDescription
reponameenum: "income" | "balance" | "cashflow" | "predict"no只返回指定报表下的指标
repotypeenum: "basic" | "operation"nobasic / operation

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.onionreport.com/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http oniondata-mcp https://api.onionreport.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : oniondata-mcp ; URL : https://api.onionreport.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : oniondata-mcp ; Server URL : https://api.onionreport.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "oniondata-mcp": {
      "url": "https://api.onionreport.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "oniondata-mcp": {
      "type": "http",
      "url": "https://api.onionreport.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "oniondata-mcp": {
      "url": "https://api.onionreport.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "oniondata-mcp": {
      "httpUrl": "https://api.onionreport.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.oniondata-mcp]
url = "https://api.onionreport.com/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

洋葱财报OnionData-MCP · L’Atlas · Tested on

Markdown
[洋葱财报OnionData-MCP — L’Atlas](https://latlas.dev/en/mcp/com.onionreport/oniondata-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.