Ashare-MCP 是一个基于 [mpquant/Ashare](https://github.com/mpquant/Ashare) 的股票行情数据服务,通过 MCP (Model Context Protocol) 提供 A 股市场的行情数据查询功能。
Connect Ashare MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Ashare-MCP 是一个基于 mpquant/Ashare 的股票行情数据服务,通过 MCP (Model Context Protocol) 提供 A 股市场的行情数据查询功能。. The ashare mcp mcp server is what makes that connection.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
pandas — requestscode — 证券代码,如'sh000001'或'000001.XSHG'end_date — 结束日期,格式为'YYYY-MM-DD'count — 获取的K线数量frequency — K线周期,可选值:'1m', '5m', '15m', '30m', '60m', '1d', '1w', '1M'fields — 返回字段列表git on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Ashare MCP's toolset — pandas, code, end_date and 3 more — is a fair guide to whether it matches your workflow. It is maintained by RusianHu; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| pandas | requests |
| code | 证券代码,如'sh000001'或'000001.XSHG' |
| end_date | 结束日期,格式为'YYYY-MM-DD' |
| count | 获取的K线数量 |
| frequency | K线周期,可选值:'1m', '5m', '15m', '30m', '60m', '1d', '1w', '1M' |
| fields | 返回字段列表 |
{
"mcpServers": {
"ashare": {
"command": "uvx",
"args": ["git"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.