Z
zwldarren/akshare-one-mcp
Chinese stock data through akshare-one
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
远端端点(Claude Desktop / Cursor / Windsurf 共用 mcpServers)
{
"mcpServers": {
"zwldarren-akshare-one-mcp": {
"url": "https://server.smithery.ai/@zwldarren/akshare-one-mcp/mcp"
}
}
}把这段粘进 Claude Desktop / Cursor 的 mcpServers 配置即可。端点来自公开证据,我们没有替你安装或托管它。 官方 Registry 记录:这个端点列了【必填】请求头 Authorization(Bearer token for Smithery authentication)。用它要带上你自己的凭据。
VS Code(.vscode/mcp.json —— 键名是 servers,远程要 type: http)
{
"servers": {
"zwldarren-akshare-one-mcp": {
"type": "http",
"url": "https://server.smithery.ai/@zwldarren/akshare-one-mcp/mcp"
}
}
}VS Code 的配置文件和另外三家不同:顶层键是 <code>servers</code>,远程端点还要写 <code>"type": "http"</code>。复制到 .vscode/mcp.json。
Claude Code(命令行)
claude mcp add --transport http zwldarren-akshare-one-mcp https://server.smithery.ai/@zwldarren/akshare-one-mcp/mcp
Claude Code 不收 JSON 文件,用这条命令直接加。
客户端配置(取自该仓库的安装命令)
{
"mcpServers": {
"zwldarren-akshare-one-mcp": {
"command": "npx",
"args": ["-y", "@smithery/cli"]
}
}
}解析自我们于 2026-11-06 抓取的该仓库 README;我们未执行过。
command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
"servers": {
"zwldarren-akshare-one-mcp": {
"command": "npx",
"args": ["-y", "@smithery/cli"]
}
}
}VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio zwldarren-akshare-one-mcp -- npx -y @smithery/cli
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
- 安装
npx -y @smithery/cli
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
npx -y @smithery/cli。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# AKShare One MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
English |
中文
## Overview
An MCP server based on akshare-one, providing comprehensive interfaces for China stock market data. It offers a set of powerful tools for retrieving financial information including historical stock data, real-time data, news data, and financial statements.
## Available Tools
### Automatic source fallback
Except for getinnertradedata, whose upstream exposes a single source, every data tool takes a source parameter for the preferred data source and a fallback parameter (on by default) that decides whether the other sources of the same domain are tried when that source raises or returns an empty frame:
| Domain | Order tried |
| Historical | eastmoney → eastmoneydirect → sina → ths |
| Real-time | eastmoneydirect → eastmoney → xueqiu → ths (the last two are skipped when no symbol is given) |
| News | eastmoney → ths |
| Financial statements | sina ⇄ eastmoneydirect |
The requested source is always tried first; the order only governs the fallback. Because akshare-one projects every source onto its domain's declared columns, falling back cannot change the field names or their order. When every source fails, the error lists each one and why it failed; when every source succeeds but has no data, an empty result is returned. Set fallback to false to pin a single source — a failure then surfaces directly, which is useful when you need to know exactly where the numbers came from.
The source that actually served a call is logged under the akshareonemcp.providers logger.
### Market Data Tools
#### gethistdata
Get historical stock market data with support for multiple time periods and adjustment methods.
Parameters
symbol (string, required): Stock code (e.g. '000001')
interval (string, optional): Time interval ('minute','hour','day','week','month','year') (default: 'day')
intervalmultiplier (number, optional): Interval multiplier (default: 1)
startdate (string, optional): Start date in YYYY-MM-DD format (default: '1970-01-01')
enddate (string, optional): End date in YYYY-MM-DD format (default: '2030-12-31')
adjust (string, optional): Adjustment type ('none', 'qfq', 'hfq') (default: 'none')
source (string, optional): Data source ('eastmoney', 'eastmoneydirect', 'sina', 'ths') (default: 'eastmoney')
fallback (boolean, optional): Try 'eastmoney', 'eastmoneydirect', 'sina' and 'ths' in order when the chosen source fails or has no data (default: true)
indicatorslist (list, optional): Technical indicators to add
recentn (number, optional): Number of most recent records to return (default: 100)
#### getrealtimedata
Get real-time stock market data.
Parameters
symbol (string, optional): Stock code
source (string, optional): Data source ('eastmoneydirect', 'eastmoney', 'xueqiu', 'ths') (default: 'eastmoneydirect')
fallback (boolean, optional): Try 'eastmoneydirect', 'eastmoney', 'xueqiu' and 'ths' in order when the chosen source fails or has no data (default: true; 'xueqiu' and 'ths' are skipped when no symbol is given, as they quote one symbol at a time)
### News & Information Tools
#### getnewsdata
Get stock-related news data.
Parameters
symbol (string, required): Stock code
source (string, optional): Data source ('eastmoney', 'ths') (default: 'eastmoney')
中文
## Overview
An MCP server based on akshare-one, providing comprehensive interfaces for China stock market data. It offers a set of powerful tools for retrieving financial information including historical stock data, real-time data, news data, and financial statements.
## Available Tools
### Automatic source fallback
Except for getinnertradedata, whose upstream exposes a single source, every data tool takes a source parameter for the preferred data source and a fallback parameter (on by default) that decides whether the other sources of the same domain are tried when that source raises or returns an empty frame:
| Domain | Order tried |
| Historical | eastmoney → eastmoneydirect → sina → ths |
| Real-time | eastmoneydirect → eastmoney → xueqiu → ths (the last two are skipped when no symbol is given) |
| News | eastmoney → ths |
| Financial statements | sina ⇄ eastmoneydirect |
The requested source is always tried first; the order only governs the fallback. Because akshare-one projects every source onto its domain's declared columns, falling back cannot change the field names or their order. When every source fails, the error lists each one and why it failed; when every source succeeds but has no data, an empty result is returned. Set fallback to false to pin a single source — a failure then surfaces directly, which is useful when you need to know exactly where the numbers came from.
The source that actually served a call is logged under the akshareonemcp.providers logger.
### Market Data Tools
#### gethistdata
Get historical stock market data with support for multiple time periods and adjustment methods.
Parameters
symbol (string, required): Stock code (e.g. '000001')
interval (string, optional): Time interval ('minute','hour','day','week','month','year') (default: 'day')
intervalmultiplier (number, optional): Interval multiplier (default: 1)
startdate (string, optional): Start date in YYYY-MM-DD format (default: '1970-01-01')
enddate (string, optional): End date in YYYY-MM-DD format (default: '2030-12-31')
adjust (string, optional): Adjustment type ('none', 'qfq', 'hfq') (default: 'none')
source (string, optional): Data source ('eastmoney', 'eastmoneydirect', 'sina', 'ths') (default: 'eastmoney')
fallback (boolean, optional): Try 'eastmoney', 'eastmoneydirect', 'sina' and 'ths' in order when the chosen source fails or has no data (default: true)
indicatorslist (list, optional): Technical indicators to add
recentn (number, optional): Number of most recent records to return (default: 100)
#### getrealtimedata
Get real-time stock market data.
Parameters
symbol (string, optional): Stock code
source (string, optional): Data source ('eastmoneydirect', 'eastmoney', 'xueqiu', 'ths') (default: 'eastmoneydirect')
fallback (boolean, optional): Try 'eastmoneydirect', 'eastmoney', 'xueqiu' and 'ths' in order when the chosen source fails or has no data (default: true; 'xueqiu' and 'ths' are skipped when no symbol is given, as they quote one symbol at a time)
### News & Information Tools
#### getnewsdata
Get stock-related news data.
Parameters
symbol (string, required): Stock code
source (string, optional): Data source ('eastmoney', 'ths') (default: 'eastmoney')
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/zwldarren-akshare-one-mcp/)
- 来源
- awesome · https://github.com/zwldarren/akshare-one-mcp
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。