← onionreport.com

INDIVIDUAL MCP TOOL

get_dimensions

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

onionreport.comnone authenticationAvailability not checked

LIVE ENDPOINT

https://api.onionreport.com/mcp

No auth detected

Connect to this endpoint to inspect the live schema for get_dimensions and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • A tool name, description or schema mentions credentials.

Parent server

onionreport.com

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.oniondata-mcp]
url = "https://api.onionreport.com/mcp"
enabled = true
Claude Code

.mcp.json

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

Settings → Connectors → Add custom connector

Name: oniondata-mcp
Remote MCP URL: https://api.onionreport.com/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "oniondata-mcp": {
      "url": "https://api.onionreport.com/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "oniondata-mcp": {
      "type": "http",
      "url": "https://api.onionreport.com/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "oniondata-mcp",
  "transport": "streamable-http",
  "url": "https://api.onionreport.com/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • search_companies — 搜索 A 股上市公司(China A-share company search):按 6 位证券代码(ticker)、公司简称或拼音首字母匹配,返回最多 10 条 {scode, sname},供后续取数确定证券代码。truncated=true 表示结果已截断,请细化关键词。本工具不计积分。需要 API Token。
  • list_report_periods — 查询 A 股股票可用报告期(A-share report periods):先确认时间范围再取数。repoterm 决定口径——new 最新报告期(latest,默认)、quarter_t 单季度同比(single-quarter YoY)、quarter_h 单季度环比(single-quarter QoQ)、ttm 逐季度滚动四季合计(TTM)、year 年度(annual)。本工具不计积分。需要 API Token。
  • list_indicators — 获取财务指标字典(China A-share financial indicators dictionary):指标 key 到中文名与单位的映射,全市场统一口径,与公司无关。取数前用它确认 repoitem_key 与金额单位(元)。本工具不计积分。需要 API Token。
  • company_records — 读取 A 股上市公司财报明细(China A-share financial statements):唯一取数入口,覆盖利润表 income、资产负债表 balance、现金流量表 cashflow、业绩预告 predict。五种口径——new 最新报告期(latest)、quarter_t 单季度同比(single-quarter YoY)、quarter_h 单季度环比(single-quarter QoQ)、ttm 逐季度滚动四季合计(trailing twelve months)、year 年度(annual)。scode 传 1 个 → 单公司多期(periods 1–10,默认 1);传 2–10 个 → 多公司单期横切(省略 report_date 时取所选公司该口径的最近报告期)。多公司不支持 periods,periods 与 report_date 互斥(dimension_conflict)。repotype=basic/operation 可按指标配置把该报表细分为基础指标 / 运营指标,省略返回该报表全部指标。format=long 一行一指标;format=wide 一行一(公司, 报告期, 报表)的指标对象;业绩预告(predict)仅支持 format=long。结果上界按报表计:long 每张 250 行 / wide 每张 10 行,reponame 最多 4 张(逗号分隔);超出返回 result_too_large,不截断。notice_date_to 按当前公告日过滤(重述会移动公告日),notice_date_from 做增量(含重述)。数值为原始值(元),增幅以百分点表示(12.
  • get_usage — 查询本账号额度(quota / usage):当前档位 free / VIP / SVIP、日调用护栏与积分余额的上限、已用、剩余与重置时间,以及最近到期的积分包。本工具不计积分,积分耗尽后仍可用。