← ashareapi.com

INDIVIDUAL MCP TOOL

ashare_snapshot

**全字段行情画像**:价格 + 盘口(买五卖五+委差)+ 估值(PE TTM/动/静 + PB)+ 市值(流通/总)+ 股本(流通/总)+ 打板(涨停/跌停价 + 量比 + 振幅 + 涨速)+ 标识(证券类型/股票状态/币种)+ 外盘/内盘。用户问'这股票估值怎么样/PE PB 多少/市值多大/股本多少/涨停价多少/涨停跌停板在哪'用这个。⚠️ **与 ashare_quote 的分工**:quote 轻(8 字段)**免费**;本工具**全(35 字段)· 付费**——**只要现价/涨跌用 ashare_quote 更轻**(字段少、省上下文)。✅ **计费 = 次数**:本工具 1 次拿全——要估值+市值+股本+涨停价**多项**时,比分别调 quote/valuation/orderbook **更省次数**(3 次 → 1 次)。⚠️ **仅 A 股**(港股/美股字段布局不同,用 ashare_quote)——**传其他市场返回空,不返回错数据**。⚠️ 单位:量=手 · 成交额=万元 · 市值=亿元 · 股本=股 · 比率=百分数。

ashareapi.comnone authenticationAvailability not checked

LIVE ENDPOINT

https://api.ashareapi.com/mcp

No auth detected

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

Indexed input schema

{}

Risk classification

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

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

ashareapi.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.ashare-data-api]
url = "https://api.ashareapi.com/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "ashare-data-api": {
      "type": "http",
      "url": "https://api.ashareapi.com/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: ashare-data-api
Remote MCP URL: https://api.ashareapi.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": {
    "ashare-data-api": {
      "url": "https://api.ashareapi.com/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

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

Client-specific MCP configuration

{
  "name": "ashare-data-api",
  "transport": "streamable-http",
  "url": "https://api.ashareapi.com/mcp"
}
MCP Inspector

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

Related tools

  • ashare_quote — A股/港股/美股实时行情快照(**轻量 8 字段**:现价/开高低/成交量/成交额/换手率)。用户问'某股票现在多少钱/什么价'用这个。⚠️ `data` 是**数组**(默认 30 条日线,`data[0]` 为最新)—— 取现价用 `data[0].
  • ashare_orderbook — **五档盘口**:买一~买五 / 卖一~卖五的**价格与挂单量(手)** + 现价/涨跌/数据时间。用户问'封单多少/买盘卖盘/盘口/挂单/支撑压力位/有没有大单托着'用这个。字段:`b1_p`/`b1_v`~`b5_p`/`b5_v` 买档价格/量 · `a1_p`/`a1_v`~`a5_p`/`a5_v` 卖档。⚠️ 本工具是**秒级快照**(每 10 秒刷新),**盘中才有意义**(收盘后为当日最后快照)——要**实时成交价**用 ashare_quote(同样免费,字段少更轻)。⚠️ 量单位是**手**(×100 = 股);**跌停买档全 0 / 涨停卖档全 0**(正常)。
  • ashare_kline — K线(日/周/月)。用户问'走势/最近表现/历史K线/趋势'用这个。⚠️ 只要**当前价**用 ashare_quote;本工具**不支持分钟级**(只有 day/week/month)。只读查询;按收盘更新。· 免费工具(无需 Key)
  • ashare_finance — 财务报表(利润表/资产负债表/现金流量表,**最近 N 期**)。用户问'营收/净利润/毛利率/负债/财务数据'用这个。⚠️ 返回**三张表**:data[0]=利润表 · data[1]=资产负债表 · data[2]=现金流量表;每表按期次**降序**(最新一期在最前)。⚠️ 只要估值倍数(PE/PB)请用 ashare_sector_valuation 或 ashare_quote 的估值字段。只读查询;按财报披露节奏更新(未到披露日就没有新数据,不是故障)。
  • ashare_fund — 个股级交易面:这只股的 主力资金(当日/5/10/20 日净流入+全市场排名)+ 龙虎榜上榜明细(上榜原因/营业部)+ 大宗交易 + 融资融券。用户问'某只股票的主力资金/机构动向'用这个。⚠️ 全市场榜单(今天机构榜/游资榜/活跃席位)请用 ashare_lhb——本工具只针对单只股票。
  • ashare_technical — 技术指标 MA/MACD/KDJ/RSI/BOLL。用户问'技术面/指标/金叉死叉/超买超卖'用这个。⚠️ 只要原始 K 线(不算指标)请用 ashare_kline——本工具返回已算好的指标值。只读查询;按日线收盘更新。
  • ashare_shareholder — 股东研究:十大股东/股东户数(筹码集中度)/机构持仓。用户问'谁在持有/股东变化/筹码集中/机构持仓'用这个。⚠️ 要看机构**整体**在全市场买什么,请用 ashare_lhb 的机构榜。只读查询;股东户数按定期报告披露(季度级)。
  • ashare_events — 个股事件标签(42 类:大宗/龙虎榜/回购/分红/解禁等)。用户问'这只股票最近有什么大事/解禁/回购/定增'用这个。⚠️ 要看**全市场**某一类事件名单,请用 ashare_lhb(龙虎榜分榜)或 ashare_dividend(分红送转)——本工具是**单只股票**的事件总览。只读查询;按披露节奏更新。