MCP Server for stock and crypto
Project description
📈 AkTools MCP Server
基于 akshare 的 MCP (Model Context Protocol) 服务器,提供股票、加密货币的数据查询和分析功能。
功能
- 股票搜索: 根据股票名称、公司简称等关键词查找股票代码
- 股票信息: 获取股票的详细信息,包括价格、市值等
- 市场概况: 获取A股市场的涨停板、龙虎榜、资金流向等
- 历史价格: 获取股票、加密货币历史价格数据,包含技术分析指标
- 相关新闻: 获取股票、加密货币相关的最新新闻资讯
- 财务指标: 支持A股和港美股的财务报告关键指标查询
安装
方式1: uvx
{
"mcpServers": {
"mcp-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
}
}
}
}
方式2: Smithery
需要通过OAuth授权或Smithery key
{
"mcpServers": {
"mcp-aktools": {
"url": "https://server.smithery.ai/@aahl/mcp-aktools/mcp" # Streamable HTTP
}
}
}
方式3: Docker
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
{
"mcpServers": {
"mcp-aktools": {
"url": "http://0.0.0.0:8808/mcp" # Streamable HTTP
}
}
}
快速开始
- 在线体验:
- 在线体验:
- 添加到 Cursor
- 添加到 VS Code
- 添加到 Cherry Studio
- 添加到 Claude Code, 执行命令:
claude mcp add aktools -- uvx mcp-aktools - 添加到 OpenAI CodeX, 执行命令:
codex mcp add aktools -- uvx mcp-aktools
🛠️ 可用工具
个股相关
search- 查找股票代码,支持A股、港股、美股stock_info- 获取股票信息stock_prices- 获取股票历史价格stock_indicators_a- A股关键指标stock_indicators_hk- 港股关键指标stock_indicators_us- 美股关键指标
A股市场
get_current_time- 获取当前时间及A股交易日信息stock_zt_pool_em- A股涨停股池stock_zt_pool_strong_em- A股强势股池stock_lhb_ggtj_sina- A股龙虎榜统计stock_fund_flow_concept- A股概念资金流向
财经资讯
stock_news- 获取个股/加密货币相关新闻stock_info_global_sina- 全球财经快讯
加密货币
okx_prices- 获取加密货币历史价格okx_loan_ratios- 获取加密货币杠杆多空比okx_taker_volume- 获取加密货币主动买卖情况binance_ai_report- 获取加密货币AI分析报告
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcp_aktools-0.1.7.tar.gz
(169.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_aktools-0.1.7.tar.gz.
File metadata
- Download URL: mcp_aktools-0.1.7.tar.gz
- Upload date:
- Size: 169.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56fe2d985cd99377cf4a0d3f58b9fbe86c146355a8750fb0155034c75628de1b
|
|
| MD5 |
0bd8648aba4d5a9191d85891a2476522
|
|
| BLAKE2b-256 |
a5d239cd3d7b5ad98ba385d407578d4e47b86076a97a5eecec7f9f038d0acfda
|
File details
Details for the file mcp_aktools-0.1.7-py3-none-any.whl.
File metadata
- Download URL: mcp_aktools-0.1.7-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
037158f5927dae0c0400680d4a8b4fb6dcd50a5e6a92f610ffebc45f8d8f3fd2
|
|
| MD5 |
610475c166dc787e6019762232972c60
|
|
| BLAKE2b-256 |
3811eef4b7f8e7e6fc9ce46b71a01e1a2624e45328a4a3d6bd06c3b9e47f730d
|