mcp-aktools
📈 提供股票、加密货币的数据查询和分析功能MCP服务器
claude mcp add --transport stdio aahl-mcp-aktools uvx mcp-aktools \ --env OKX_BASE_URL="https://okx.example" \ --env BINANCE_BASE_URL="https://www.binance.com" \ --env NEWSNOW_BASE_URL="https://newsnow.example" \ --env NEWSNOW_CHANNELS="wallstreetcn-quick,cls-telegraph,jin10"
How to use
The AkTools MCP Server provides a set of financial data capabilities based on the AkShare toolkit. It exposes endpoints that let you search for stocks, retrieve stock information and historical prices (including technical indicators), view market overviews, fetch related news, and query financial metrics for A-shares, HK, US stocks, and cryptocurrencies. The server integrates a broad suite of tools under the MCP umbrella, including stock search (by name or ticker), stock_info for company details, stock_prices for historical data with indicators, stock_indicators_* for key metrics, stock_news for news, and crypto tools like okx_prices and binance_ai_report. You can invoke these tools via the MCP client you’re using (e.g., CLI, VS Code, or browser-based MCP explorers) by specifying the aktools server and the desired command.
How to install
Methods:
- uvx (recommended)
Code:
{
"mcpServers": {
"aktools": {
"command": "uvx",
"args": ["mcp-aktools"],
"env": {
"OKX_BASE_URL": "https://okx.example",
"BINANCE_BASE_URL": "https://www.binance.com",
"NEWSNOW_BASE_URL": "https://newsnow.example",
"NEWSNOW_CHANNELS": "wallstreetcn-quick,cls-telegraph,jin10"
}
}
}
}
Notes:
- Ensure your network can reach the configured base URLs.
- The server name in the config matches the MCP reference (aktools).
- Smithery
Code:
{
"mcpServers": {
"aktools": {
"url": "https://server.smithery.ai/@aahl/mcp-aktools/mcp"
}
}
}
Usage: You’ll need OAuth or a Smithery key to access the Smithery-backed instance.
- Docker
Code:
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
Docker config example:
{
"mcpServers": {
"aktools": {
"url": "http://0.0.0.0:8808/mcp"
}
}
}
You can choose the method that best fits your hosting environment.
Additional notes
Tips and notes:
- The environment variables under the uvx configuration control external data sources (OKX, Binance, NewsNow). Adjust them to point to accessible proxies or endpoints in your region.
- If you’re behind a firewall, ensure outbound access to the configured base URLs is allowed.
- The server exposes a comprehensive set of tools; refer to the MCP client’s tool list to discover commands like search, stock_info, stock_prices, stock_indicators_*, stock_news, and okx_prices.
- For production, consider securing the endpoint (via Smithery or authentication) if exposing to the internet.
- If you experience data latency or missing data, verify the external data source URLs and their rate limits.
Related MCP Servers
PPTAgent
An Agentic Framework for Reflective PowerPoint Generation
mcp -odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.
metatrader
Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform
QMT
QMT-MCP 模块化量化交易助手
qmt
基于 QMT 平台股票行情的 MCP 服务器,用于提供股票市场数据下载和查询的功能。
the -company
TheMCPCompany: Creating General-purpose Agents with Task-specific Tools