# 洋葱财报OnionData-MCP (remote · api.onionreport.com)

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

- Trust score: 74/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-21

## Components

- remote · `api.onionreport.com`: 74/100 (this document), [markdown](https://verifymcp.io/servers/com-onionreport-oniondata-mcp/api.md), [page](https://verifymcp.io/servers/com-onionreport-oniondata-mcp/api)

## Channel facts

- Endpoint: `https://api.onionreport.com/mcp`
- Transports: `streamable-http`
- Auth: `required`
- Version: `1.0.1`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-21.

- **Endpoint Security**: 83/100
  - The endpoint's TLS certificate is valid, in date, and uses a strong key.
  - Authorisation is enforced on tool calls, advertised via RFC 9728 protected-resource metadata. Discovery is public, which costs nothing: no tool can be invoked without a token.
  - HTTPS enforcement could not be verified: the plaintext port answered with HTTP 405, which proves neither a plaintext path nor enforcement.
  - The HSTS (Strict-Transport-Security) header is present.
  - DNSSEC check failed: this domain isn't protected by DNSSEC.
  - The authorisation server offers only Dynamic Client Registration (RFC 7591), which MCP 2026-07-28 deprecated in favour of Client ID Metadata Documents.
- **Transport & Reachability**: 100/100
  - Verified streamable-http transport via a live MCP handshake.
- **Schema Quality & AI Usability**: 61/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1612 tokens (~268/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 13/100
  - Stability observed for 4 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the 洋葱财报OnionData-MCP server?

洋葱财报OnionData-MCP is a hosted endpoint at https://api.onionreport.com/mcp, so there is nothing to install locally. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add --transport http com-onionreport-oniondata-mcp 'https://api.onionreport.com/mcp'
```

### Cursor

```json
{
  "mcpServers": {
    "com-onionreport-oniondata-mcp": {
      "url": "https://api.onionreport.com/mcp"
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "com-onionreport-oniondata-mcp": {
      "type": "http",
      "url": "https://api.onionreport.com/mcp"
    }
  }
}
```

### Codex

```toml
[mcp_servers.com-onionreport-oniondata-mcp]
url = "https://api.onionreport.com/mcp"
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-onionreport-oniondata-mcp": {
      "type": "remote",
      "url": "https://api.onionreport.com/mcp",
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-onionreport-oniondata-mcp --url 'https://api.onionreport.com/mcp' --transport streamable-http
```

### Hermes

```yaml
mcp_servers:
  com-onionreport-oniondata-mcp:
    url: "https://api.onionreport.com/mcp"
```

### Netclaw

```json
{
  "McpServers": {
    "com-onionreport-oniondata-mcp": {
      "Transport": "http",
      "Url": "https://api.onionreport.com/mcp"
    }
  }
}
```

### Vellum

```bash
assistant mcp add com-onionreport-oniondata-mcp -t streamable-http -u 'https://api.onionreport.com/mcp'
```

### Other

```json
{
  "mcpServers": {
    "com-onionreport-oniondata-mcp": {
      "type": "http",
      "url": "https://api.onionreport.com/mcp"
    }
  }
}
```

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-20 (score 74, 0)

- [security] First check of Authorization: partial
- [security] The server rewrote its instructions, which are the text every model session reads
- [functional] Server version: 2026.11.16 → 2026.11.19

### 2026-11-19 (score 74, 0)

- [security] Tool “company_records” rewrote its description, which is the text the model reads
- [security] Tool “get_usage” rewrote its description, which is the text the model reads

### 2026-11-18 (score 74, +1)

- [functional improvement] Stability: unverified → 0.03

### 2026-11-17 (score 73)

First indexed and scored.

## MCP tools (6)

### `search_companies` (~104 tokens)

搜索公司

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

Input parameters:

- `query` (string, required): 证券代码、简称或拼音首字母

Output parameters:

- `note` (string)
- `query` (string)
- `results` (array)
- `truncated` (boolean)

### `list_report_periods` (~176 tokens)

查询报告期

查询 A 股股票可用报告期（A-share report periods）：先确认时间范围再取数。repoterm 决定口径——new 最新报告期（latest，默认）、quarter_t 单季度同比（single-quarter YoY）、quarter_h 单季度环比（single-quarter QoQ）、ttm 逐季度滚动四季合计（TTM）、year 年度（annual）。本工具不计积分。需要 API Token。

Input parameters:

- `repoterm` (string): 报告期口径：new 最新报告期（latest，默认）、quarter_t 单季度同比（YoY）、quarter_h 单季度环比（QoQ）、ttm 逐季度 TTM、year 年度（annual）
- `scode` (string, required): A 股 6 位证券代码

Output parameters:

- `periods` (array)
- `repoterm` (string)
- `scode` (string)

### `list_indicators` (~68 tokens)

查询指标字典

获取财务指标字典（China A-share financial indicators dictionary）：指标 key 到中文名与单位的映射，全市场统一口径，与公司无关。取数前用它确认 repoitem_key 与金额单位（元）。本工具不计积分。需要 API Token。

Output parameters:

- `indicators` (object)
- `note` (string)
- `units` (object)

### `company_records` (~683 tokens)

财务取数（单公司多期 / 多公司单期）

读取 A 股上市公司财报明细（China A-share financial statements）：唯一取数入口，覆盖利润表 income、资产负债表 balance、现金流量表 cashflow、业绩预告 predict。

支持单季度同比、单季度环比、逐季度 TTM、年度与最新报告期五种口径，由 repoterm 指定（各取值与释义见 inputSchema）。

scode 传 1 个为单公司多期（periods 1–10，默认 1）；传 2–10 个为多公司单期横切，省略 report_date 时取所选公司该口径的最近报告期。多公司不支持 periods，periods 与 report_date 互斥（同时传返回 dimension_conflict）；业绩预告 predict 仅支持 format=long。

结果上界按报表计：long 每张 250 行 / wide 每张 10 行，reponame 最多 4 张（逗号分隔），超出返回 result_too_large，不截断。

数值为原始值（元），增幅以百分点表示（12.3 即 12.3%）。notice_date_to 为时点快照（重述会移动公告日），notice_date_from 为增量（含重述）。

按实际返回数据量加权计积分，空结果不计；单公司与多公司横切均不要求 VIP。

Input parameters:

- `format` (string): long 一行一指标；wide 一行一（公司, 报告期）
- `notice_date_from` (string): 公告日下界（含）YYYY-MM-DD；响应 meta.notice_date_max 可作下次水位线
- `notice_date_to` (string): 公告日上界（含）YYYY-MM-DD，用于时点快照
- `periods` (integer): 报告期数 1–10，默认 1（最近一期），仅单公司可用（多公司传会报 dimension_conflict）
- `repoitem_key` (array): 指标 key 列表；省略=该报表全部指标
- `reponame` (string, required): 报表名：income 利润表（income statement）/ balance 资产负债表（balance sheet）/ cashflow 现金流量表（cash flow statement）/ predict 业绩预告；多张报表用逗号分隔（最多 4 个），如 income,balance
- `report_date` (string): 报告期 YYYY-MM-DD；与 periods 互斥，多公司不传则取最近报告期
- `repoterm` (string, required): 单一口径：new 最新报告期 latest / quarter_t 单季度同比 YoY / quarter_h 单季度环比 QoQ / ttm 逐季度 TTM / year 年度 annual
- `repotype` (string): 指标类别：basic 基础指标 / operation 运营指标；省略=该报表全部指标
- `scode` (array, required): A 股 6 位代码列表（1–10 个）：1 个=单公司多期，多个=多公司单期横切；只需传一次数组

Output parameters:

- `data` (array)
- `dataset` (string)
- `format` (string)
- `meta` (object)
- `object` (string)
- `page` (object)
- `quota` (object)

### `get_dimensions` (~124 tokens)

查询维度与指标字典

获取报表与指标目录（financial statement catalog）：可用报表 income 利润表、balance 资产负债表、cashflow 现金流量表、predict 业绩预告，以及各指标中文名、单位、是否比率与 repotype（basic 基础指标 / operation 运营指标）。是调用 company_records 前的机器可读字典。本工具不计积分。需要 API Token。

Input parameters:

- `reponame` (string): 只返回指定报表下的指标
- `repotype` (string): basic / operation

Output parameters:

- `metrics` (array)
- `reports` (array)
- `repoterms` (array)

### `get_usage` (~81 tokens)

查询额度

查询本账号额度（quota / usage）：当前档位 free / VIP / SVIP、日调用护栏与积分余额的上限、已用、剩余与重置时间，以及最近到期的积分包。本工具不计积分，积分耗尽后仍可用；仍受账号维度的每分钟限流约束。

Output parameters:

- `credit_packs` (array)
- `credits_free` (integer)
- `credits_nearest_expiry_at` (string|null)
- `credits_paid` (integer)
- `credits_total` (integer)
- `daily_call_limit` (integer)
- `daily_call_remaining` (integer)
- `daily_call_reset_at` (integer)
- `daily_call_used` (integer)
- `date` (string)
- `max_credits_per_call` (integer)
- `subscribe_hint` (string)
- `tier` (string)
- `token_prefix` (string|null)

## Diagnostics

Captured diagnostic sections: TLS, DNSSEC, Authorisation, Transports. The full working is on the page: https://verifymcp.io/servers/com-onionreport-oniondata-mcp/api#diagnostics

## Score history

- 2026-11-21: 74
- 2026-11-20: 74
- 2026-11-19: 74
- 2026-11-18: 74
- 2026-11-17: 73

## Common questions

### What is the 洋葱财报OnionData-MCP server?

洋葱财报OnionData-MCP is listed in the public MCP registry as com.onionreport/oniondata-mcp. 洋葱财报OnionData-MCP 提供 A 股上市公司多口径财报数据，覆盖利润表、资产负债表、现金流量表，支持单季同比/环比、逐季度 TTM、年度与最新报告期近 10 期查询。 This page covers its hosted endpoint (https://api.onionreport.com/mcp).

### Is the 洋葱财报OnionData-MCP server safe to use?

洋葱财报OnionData-MCP scores 74 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the 洋葱财报OnionData-MCP server expose?

洋葱财报OnionData-MCP exposes 6 tools: search_companies, list_report_periods, list_indicators, company_records, get_dimensions, get_usage. Their descriptions and schemas cost roughly 1,236 tokens of context every time the server is loaded.

### Does the 洋葱财报OnionData-MCP server require authentication?

Yes. 洋葱财报OnionData-MCP asked us for credentials when we connected, so you will need to authorise it in your MCP client before it can do anything.

### Is the 洋葱财报OnionData-MCP server still maintained?

洋葱财报OnionData-MCP is still listed as active in the MCP registry. We last reached this channel on 21 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What did VerifyMCP test on the 洋葱财报OnionData-MCP server?

VerifyMCP ran 12 checks on 洋葱财报OnionData-MCP, covering TLS certificate, Authorization, HSTS header, DNSSEC and 8 more. One item could not be completed, a gap on our side rather than a finding about 洋葱财报OnionData-MCP: HTTPS. Supply Chain Security and Provenance & Transparency do not apply to a hosted endpoint, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- Remote endpoint: https://api.onionreport.com/mcp
- Website: https://www.onionreport.com/open/mcp-intro
- Changelog RSS feed: https://verifymcp.io/servers/com-onionreport-oniondata-mcp/api.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-onionreport-oniondata-mcp/api/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/com-onionreport-oniondata-mcp/api.json
- HTML version of this page: https://verifymcp.io/servers/com-onionreport-oniondata-mcp/api
