Skip to main content
Glama

洋葱财报OnionData-MCP

Server Details

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

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation4/5

Most tools are clearly separated by role: search_companies resolves tickers, list_report_periods resolves dates, get_usage reports quota, and company_records is the single fetch entry point. The one weak boundary is get_dimensions vs list_indicators, which both surface indicator names/units; the descriptions differentiate them (statement-level catalog with repotype vs market-wide key→name/unit map), but an agent may still hesitate over which to call first.

Naming Consistency4/5

Five of six tools follow a clean verb_noun snake_case pattern (get_dimensions, get_usage, list_indicators, list_report_periods, search_companies). The main data tool breaks the pattern as the noun-only 'company_records' (expected something like get_records), a minor but noticeable deviation in an otherwise predictable set.

Tool Count5/5

Six tools is well-scoped for a financial-data API: one discovery tool per lookup dimension (company, period, indicator/statement catalog), one heavy fetch tool, one quota tool. No tool feels redundant or bolted on, and the surface stays small enough for an agent to hold in context.

Completeness4/5

The lifecycle is covered end to end: resolve ticker → resolve report period → resolve indicator keys → fetch statements → check quota, with all four statement types and five period conventions handled by one fetch tool. Gaps are minor — no company profile/metadata (industry, listing status) and no cross-company comparison helper beyond the multi-scope mode, but agents can work around these.

Available Tools

6 tools
company_records财务取数(单公司多期 / 多公司单期)A
Read-onlyIdempotent
Inspect

读取 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.3 即 12.3%)。单公司与多公司横切均不要求 VIP;按实际返回与数据价值权重计积分,空结果不计。

Inputs: scode (required), reponame (required), repoterm (required), format, +6 more. Returns: data, meta, page, quota, +3 more

get_dimensions查询维度与指标字典A
Read-onlyIdempotent
Inspect

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

Inputs: reponame, repotype. Returns: metrics, reports, repoterms

get_usage查询额度A
Read-onlyIdempotent
Inspect

查询本账号额度(quota / usage):当前档位 free / VIP / SVIP、日调用护栏与积分余额的上限、已用、剩余与重置时间,以及最近到期的积分包。本工具不计积分,积分耗尽后仍可用。

Inputs: no named parameters. Returns: date, tier, credit_packs, credits_free, +10 more

list_indicators查询指标字典A
Read-onlyIdempotent
Inspect

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

Inputs: no named parameters. Returns: note, units, indicators

list_report_periods查询报告期A
Read-onlyIdempotent
Inspect

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

Inputs: scode (required), repoterm. Returns: scode, periods, repoterm

search_companies搜索公司A
Read-onlyIdempotent
Inspect

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

Inputs: query (required). Returns: note, query, results, truncated

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      提供A股实时行情、历史K线、财务报表、技术指标等全方位数据查询的MCP服务器,支持盘中即时更新及批量查询。
      67
      29
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      查询和分析A股数据的MCP服务器,支持实时行情、K线、技术指标、基本面和AI选股等功能。
      10
      1
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents and HTTP clients to access standardized financial market data, technical indicators, fundamentals, news, money-flow, and filings across A-shares, US equities, ETFs, indices, and crypto, with MCP tools and CSV/JSON exports for code workflows.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides access to Chinese A-share market financial data, including historical K-line, real-time quotes, financial statements, shareholder information, and technical indicators, via MCP protocol.
      12
      14 npm
      3
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources