洋葱财报OnionData-MCP
com.onionreport/oniondata-mcp
Serveur MCP OK 6 outils
洋葱财报OnionData-MCP 提供 A 股上市公司多口径财报数据,覆盖利润表、资产负债表、现金流量表,支持单季同比/环比、逐季度 TTM、年度与最新报告期近 10 期查询。
Fiche technique
- Auteur
- onionreport.com (espace de noms du registre)
- Dépôt
- —
- Site
- www.onionreport.com/open/mcp-intro
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.onionreport.com/mcp Streamable HTTP
- Outils
- 6
- Catégories
- —
- Dernière mise à jour
- 17 nov. 2026
- Publication
- 17 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/com.onionreport/oniondata-mcp)<a href="https://latlas.dev/mcp/com.onionreport/oniondata-mcp"><img src="https://latlas.dev/badge/statut/mcp/com.onionreport/oniondata-mcp.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.onionreport/oniondata-mcp)<a href="https://latlas.dev/mcp/com.onionreport/oniondata-mcp"><img src="https://latlas.dev/badge/fiche/com.onionreport/oniondata-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.onionreport.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 09:57
- Temps de réponse
- 6 475 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- oniondata-mcp 2026.11.25
- Outils
- 6
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:57 | OK | 6 475 ms | 6 |
Outils exposés (6, réponse à tools/list, 28 nov. 2026)
start_trial
开启匿名试用
创建匿名数据试用 handle:有效期 24 小时,最多 10 次 company_records 调用或 100 积分(先到为准);每 IP 每 24 小时限领 1 个,用尽后需完成 OAuth 授权升级。把返回的 handle 作为 company_records 的 trial_handle 参数传回。
Aucun paramètre.
search_companies
搜索公司
搜索 A 股上市公司(China A-share company search):按 6 位证券代码(ticker)、公司简称或拼音首字母匹配,返回最多 10 条 {scode, sname},供后续取数确定证券代码。truncated=true 表示结果已截断,请细化关键词。本工具不计积分,匿名可直接调用。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | 证券代码、简称或拼音首字母 |
list_report_periods
查询报告期
查询 A 股股票可用报告期(A-share report periods):返回某公司在指定口径下实际可用的报告期(按日期倒序);口径取值见 inputSchema.repoterm。本工具不计积分,匿名可直接调用。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scode | string | oui | A 股 6 位证券代码 |
| repoterm | enum: "new" | "quarter_h" | "quarter_t" | "ttm" | "year" | non | new 最新报告期 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。本工具不计积分,匿名可直接调用。
Aucun paramètre.
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。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scode | array<string> | oui | A 股 6 位代码列表(1–10 个):1 个=单公司多期,多个=多公司单期横切;只需传一次数组 |
| reponame | string | oui | 报表名:income 利润表(income statement)/ balance 资产负债表(balance sheet)/ cashflow 现金流量表(cash flow statement)/ predict 业绩预告;多张报表用逗号分隔(最多 4 个),如 income,balance |
| repoterm | enum: "new" | "quarter_h" | "quarter_t" | "ttm" | "year" | oui | 单一口径:new 最新报告期 latest(默认) / quarter_h 单季度环比 QoQ / quarter_t 单季度同比 YoY / ttm 逐季度 TTM / year 年度 annual |
| repotype | enum: "basic" | "operation" | non | 指标类别:basic 基础指标 / operation 运营指标;省略=该报表全部指标 |
| periods | integer | non | 报告期数 1–10,默认 1(最近一期),仅单公司可用(多公司传会报 dimension_conflict) |
| report_date | string | array<string> | non | 报告期仅支持季末日 03-31/06-30/09-30/12-31;与 periods 互斥,多公司只允许 1 个,省略则取最近报告期 |
| repoitem_key | array<string> | non | 指标 key 列表;省略=该报表全部指标 |
| format | enum: "long" | "wide" | non | long 一行一指标;wide 一行一(公司, 报告期) |
| notice_date_from | string | non | 公告日下界(含)YYYY-MM-DD;响应 meta.notice_date_max 可作下次水位线 |
| notice_date_to | string | non | 公告日上界(含)YYYY-MM-DD,用于时点快照 |
| trial_handle | string | non | 匿名试用 handle:无 API Token 时须先调用 start_trial,并把返回的 handle 传回;已配置令牌时忽略 |
get_dimensions
查询维度与指标字典
获取报表与指标目录(financial statement catalog):reports(报表 + repotypes + 指标数)、repoterms(口径取值)、metrics(可按 reponame/repotype 过滤,含中文名/单位/kind/pre_scaled)。用于确定取数前的合法维度取值;若只需 key → 中文名/单位的纯映射,用 list_indicators。本工具不计积分,匿名可直接调用。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| reponame | enum: "income" | "balance" | "cashflow" | "predict" | non | 只返回指定报表下的指标 |
| repotype | enum: "basic" | "operation" | non | basic / operation |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.onionreport.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http oniondata-mcp https://api.onionreport.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : oniondata-mcp ; URL : https://api.onionreport.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : oniondata-mcp ; Server URL : https://api.onionreport.com/mcp ; Create as a plugin{
"mcpServers": {
"oniondata-mcp": {
"url": "https://api.onionreport.com/mcp"
}
}
}{
"mcpServers": {
"oniondata-mcp": {
"type": "http",
"url": "https://api.onionreport.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"oniondata-mcp": {
"url": "https://api.onionreport.com/mcp"
}
}
}{
"mcpServers": {
"oniondata-mcp": {
"httpUrl": "https://api.onionreport.com/mcp"
}
}
}[mcp_servers.oniondata-mcp]
url = "https://api.onionreport.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
洋葱财报OnionData-MCP · L’Atlas · Test du
[洋葱财报OnionData-MCP — L’Atlas](https://latlas.dev/mcp/com.onionreport/oniondata-mcp)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.