QAmcp
GitHub
Your server?Its score can change any day. QAmcp Monitor keeps testing it and emails you when it breaks. Free for 1 server.See what Monitor does →

Directory / A股数据 API (A-Share Data API)

A股数据 API (A-Share Data API)

by ashareapi.com · https://api.ashareapi.com/mcp

A-share data over MCP: quotes, K-line, financials, money flow, L2, sectors, backtests. 94 tools

94 tools✓ no account neededPricing: not listedFrom the official MCP registry
Visit website
77 /100
PASS · WITH NOTES

Partial: 8 of 12 checks · 24 Nov 2026 · daily test

Test it now for current results

At a glance

Runs where
On their server. What you send to it goes to them.
What you need
Nothing: it answered without a login
Tools
94 tools
Its own safety labels
0 read-only, 94 with no label
Memory it takes
About 18,200 tokens of your AI's memory, just for its tool descriptions
Tools that look alike
1 pair of tools with nearly the same description, so the AI may pick the wrong one

Tokens are an estimate: the characters in its tool names, descriptions and inputs, divided by 4. The exact number depends on your AI model. Safety labels are what the server says about itself. From the daily test on 24 Nov 2026.

Is A股数据 API (A-Share Data API) MCP server safe?

A test can only see what the server shows from outside, not what it does with your data behind the scenes. Connect servers from makers you trust.

What this test does not check

What QAmcp can and can't see · How to tell if an MCP server is safe · Hidden instructions · Prompt injection

Known security advisories

It lists no public code, so there is nothing to look up in GitHub Security Advisories or OSV.dev. QAmcp tests how a server behaves. It does not scan source code.

What it can do

60 tools, in the server's own words.

ashare_quote

A股/港股/美股行情 —— **最近 30 个交易日**(每天一行、降序,`data[0]` 最新),**8 个轻量字段**:收盘价/开高低/成交量/成交额/换手率。用户问'某股票现在多少钱/什么价'用这个。⚠️ `data` 是**数组**(默认 30 条日线,`data[0]` 为最新)—— 取现价用 `data…

ashare_quote_batch

⭐ **批量行情:一次拿多只股票的行情**,逐只标明成功与否。用户问'这几只现在什么价/扫一下我这个池子/一个行业现在的行情'用这个。⚠️ 与 ashare_quote 的区别:本工具**一次给多只**,且返回**逐只状态**(`{code, ok, data}`)—— 缺了哪只一眼可见;ashare_quote 只…

ashare_kline_batch

⭐ **批量 K 线:一次拿多只股票的 K 线**(多只 × 同一段时间),逐只标明成功与否。用户问'这几只的走势/把我这个池子的 K 线拉下来/一个行业最近 60 天表现'用这个。⚠️ **与其它三个 K 线工具的分工**:`ashare_kline`=一只(code 虽接受逗号但返回混在一起、缺了哪只算不出);`…

ashare_snapshot_batch

⭐ **批量全字段画像:一次拿多只股票的完整画像**(35+ 字段:价格/盘口五档/PE·PB/市值/股本/涨停跌停价/量比/振幅/涨速/外盘内盘),逐只标明成功与否。用户问'这几只的估值/市值/市盈率/是不是涨停/扫一下我这个池子的基本面'用这个。⚠️ 与 ashare_snapshot 的区别:本工具**一次给多…

ashare_profile_batch

⭐ **批量公司简况:一次拿多只的上市日期 / 主营业务 / 所属行业 / 官网 / 注册资本 / 董事长 / 注册地址 / 联系方式**,逐只标明成功与否。用户问'这几只都是做什么的/帮我按行业归类/筛出来的池子逐个看基本面/什么时候上市的'用这个。⚠️ 与 ashare_profile 的区别:本工具**一次给多…

ashare_chip

**筹码分布 / 持仓成本**(沪深 A 股 + **ETF**):获利盘比例 + 平均成本 + 90% 与 70% 集中度 + 当日收盘价。用户问'筹码集中吗/套牢盘多不多/平均成本多少/抛压大不大/主力成本在哪'用这个。⚠️ **多只请用 `ashare_chip_batch`**(一次 200 只、逐只标明成功…

ashare_chip_batch

⭐ **批量筹码分布:一次拿多只的获利盘比例 / 平均成本 / 90%·70% 集中度**,逐只标明成功与否。用户问'这几只的筹码集中吗/套牢盘多不多/平均成本多少/抛压大不大'用这个。⚠️ **与 ashare_chip 的关系**:`/v1/chip` 的 `code` 虽支持逗号,但返回**不分只、不带逐只状态…

ashare_shareholder_batch

⭐ **批量股东研究:一次拿多只的十大股东 / 十大流通股东 / 股东户数统计**,逐只标明成功与否。用户问'这几只谁在持有/股东户数变少了吗/股权集中不集中/机构在不在里面'用这个。⚠️ **与 ashare_shareholder 的关系**:`/v1/shareholder` 的 `code` 虽支持逗号,但返…

ashare_finance_batch

⭐ **批量财务报表:一次拿多只的利润表 / 资产负债表 / 现金流量表**,逐只标明成功与否。用户问'这几只的营收/净利/ROE/负债率/经营现金流怎么样'用这个。⚠️ **与 ashare_finance 的关系**:`/v1/finance` 的 `code` 虽支持逗号,但返回是**扁平的 3 张表**,哪只…

ashare_technical_batch

⭐ **批量技术指标:一次拿多只的 MA / EMA / MACD / KDJ / RSI / BOLL / BIAS / WR / DMI / OBV / VR / BBI / TRIX / DPO / PSY / ENE / CCI 等共 55 项**,逐只标明成功与否。用户问'这批股票的技术面怎么样/哪些金叉了…

ashare_orderbook

**五档盘口**:买一~买五 / 卖一~卖五的**价格与挂单量(手)** + 现价/涨跌/数据时间。用户问'封单多少/买盘卖盘/盘口/挂单/支撑压力位/有没有大单托着'用这个。字段:`b1_p`/`b1_v`~`b5_p`/`b5_v` 买档价格/量 · `a1_p`/`a1_v`~`a5_p`/`a5_v` 卖档。…

ashare_snapshot

**全字段行情画像**:价格 + 盘口(买五卖五+委差)+ 估值(PE TTM/动/静 + PB)+ 市值(流通/总)+ 股本(流通/总)+ 打板(涨停/跌停价 + 量比 + 振幅 + 涨速)+ 标识(证券类型/股票状态/币种)+ 外盘/内盘。用户问'这股票估值怎么样/PE PB 多少/市值多大/股本多少/涨停价多少…

ashare_kline

K线(日/周/月/季/年 + 分钟线)。用户问'走势/最近表现/历史K线/趋势'用这个。⚠️ 只要**当前价**用 ashare_quote;要**分时**(盘中每分钟价+累计量)用 ashare_minute ——**分钟 K 线**(OHLC 蜡烛)用本工具的 `period=m1/m5/...`,两者不是一回事…

ashare_minute

**分时**(当日 / 近 5 日盘中走势):盘中每分钟的价格与累计成交量。用户问'今天分时/盘中走势/日内走势/近 5 日分时'用这个。⚠️ 与 ashare_kline 的**分钟 K 线不是一回事**:本工具返回**分时**(每分钟一个价+累计量),K 线返回 OHLC 蜡烛 —— 要蜡烛图用 ashare_k…

ashare_kline_full

全历史K线(**10 年日线**,2016-08-08 起)+ **可选复权口径**。用户问'十年走势/长期回测/全历史数据/复权价/后复权/原始价'用这个。⚠️ 与 ashare_kline 的**三点不同**:① 数据量与范围 —— 本工具**全历史 10 年**(约 2,500 条);ashare_kline …

ashare_market_kline

**全市场单日K线** —— 一次请求返回某交易日**全 A 股(5000+ 只)**的日线。用户问'全市场当天行情/一次拿所有股票K线/每日增量更新/全A股数据'用这个。⚠️ **用途**:替代「逐只循环 5000 次」——每天收盘后调 **1 次**即可拿到全市场,适合建本地行情库/做全市场扫描/每日批量更新。⚠…

ashare_backtest

**量化回测**:按策略跑历史收益(返回收益/最大回撤/交易次数/净值曲线等)。用户问'回测一下/这个策略收益如何/买卖点效果/最大回撤'用这个。⚠️ 两种模式:`mode=single`(默认)**单标的实时计算**,须配 `code`;`mode=portfolio` **组合**(须用 `strategies`…

ashare_backtest_batch

**批量回测**:一次跑 **多标的 × 多策略**,返回对比矩阵(哪个组合最好一目了然)。用户问'这几只股票用不同策略分别跑一下/批量回测/策略对比'用这个。⚠️ 与 ashare_backtest 的区别:本工具**一次给多标的×多策略的横向对比**,ashare_backtest 只跑**一个**策略。⚠️ 上…

ashare_futures

**外盘期货单个合约的实时快照**:最新价、买一卖一、开高低、结算价、昨收、成交量/成交额、持仓量与当日增减、到期日、52 周高低、VWAP、延迟标记。用户问'原油/黄金/铜/标普期货现在多少'、'某合约持仓多少'用这个。⚠️ **只接受期货合约代码**(贵金属 `fuGC`/`fuSI`、能源 `fuCL`/`fu…

ashare_forex

**10 个主流外汇现货的实时报价**:美元人民币 `fxUSDCNY`、离岸人民币 `fxCNH`、欧元美元 `fxEURUSD`、英镑美元 `fxGBPUSD`、美元日元 `fxUSDJPY`、美元港币 `fxUSDHKD`、欧元人民币 `fxEURCNY`、港币人民币 `fxHKDCNY`、人民币日元 `fxC…

ashare_strategies

**量化策略清单**:返回可回测的全部策略(20 条单标的择时 + 9 条组合),含各自参数范围与说明,⭐ **并附「表现」**(`performance` 字段)—— 800 只(沪深300+中证500)· 2019 年至今、含交易成本的历史回测结果。`verdict` 分级:`effective` 有效 / `n…

ashare_factors

**量化因子库**:87 个因子 + 50 个筛选入口 + 22 个预设组合,可按分类/类型筛选。用户问'有哪些因子/因子库/选股因子/因子分类'用这个。⚠️ 这是**清单**(静态元数据);要用因子实际选股,用 ashare_screen。⚠️ `category` / `kind` **只接受中文枚举值**(ca…

ashare_playbooks

**量化方法论库**:25 条「怎么判断市场」的流程(含判据 / 阶段 / 证据)。用户问'怎么判断/交易方法/方法论/判断流程'用这个。⚠️ 这是**方法论清单**(帮助判断,非投资建议);要看可回测的策略用 ashare_strategies。⚠️ 可按分类或 id 取单条。⚠️ **付费工具**(需 Key):…

ashare_finance

财务报表(利润表/资产负债表/现金流量表,**最近 N 期**)。用户问'营收/净利润/毛利率/负债/财务数据'用这个。⚠️ 返回**三张表**:data[0]=利润表 · data[1]=资产负债表 · data[2]=现金流量表;每表按期次**降序**(最新一期在最前)。⚠️ 只要估值倍数(PE/PB)请用 as…

and 36 more

Test results

Safe mode: only tools labeled read-only were run. How the test works

Show this score on GitHub

Free for every server in the directory. Paste this into your README: the badge always shows the newest score, from the daily test, a test on our website or a Monitor test.

QAmcp badge for A股数据 API (A-Share Data API)

[![QAmcp score](https://api.qamcp.dev/badge/s/com-ashareapi-ashare-data-api.svg)](https://qamcp.dev/s/com-ashareapi-ashare-data-api.html)

Reviews

Coming soon: reviews from people who use A股数据 API (A-Share Data API), signed in with GitHub, one per person. Reviews never change the score.

Is this your server? Get an alert the moment it breaks.

QAmcp Monitor tests it every hour and emails you when it goes down, the score drops, a tool changes or a secret leaks. Free for 1 server, no card.

Have a concern, or want it removed? Ask us and we'll take it off the list. How the directory works