by aahl
📈 Provides MCP server with data query and analysis functions for stocks and cryptocurrencies
# Add to your Claude Code skills
git clone https://github.com/aahl/mcp-aktools基于 akshare 的 MCP (Model Context Protocol) 服务器,提供股票、加密货币的数据查询和分析功能。
{
"mcpServers": {
"aktools": {
"command": "uvx",
"args": ["mcp-aktools"],
"env": {
# 全部可选
"OKX_BASE_URL": "https://okx.4url.cn", # OKX地址,如果你的网络环境无法访问okx.com,可通过此选项配置反代地址
"BINANCE_BASE_URL": "https://bian.4url.cn", # 币安地址,默认: https://www.binance.com
"NEWSNOW_BASE_URL": "https://newsnow.busiyi.world", # Newsnow接口地址
"NEWSNOW_CHANNELS": "wallstreetcn-quick,cls-telegraph,jin10", # Newsnow资讯来源
}
}
}
}
需要通过OAuth授权或Smithery key
{
"mcpServers": {
"aktools": {
"url": "https://server.smithery.ai/@aahl/mcp-aktools/mcp" # Streamable HTTP
}
}
}
mkdir /opt/mcp-aktools
cd /opt/mcp-aktools
wget https://raw.githubusercontent.com/aahl/mcp-aktools/refs/heads/main/docker-compose.yml
docker-compose up -d
<details>
<summary><strong>个股相关</strong></summary>
{
"mcpServers": {
"aktools": {
"url": "http://0.0.0.0:8808/mcp" # Streamable HTTP
}
}
}
search - 查找股票代码,支持A股、港股、美股stock_info - 获取股票信息stock_prices - 获取股票历史价格stock_indicators_a - A股关键指标