MCP Server for stock and crypto
This MCP server provides comprehensive financial data querying and analysis for stocks and cryptocurrencies, powered by akshare.
Stock Market Tools
Search & Information: Find stock codes by company name or keywords across A-shares, Hong Kong, and US markets, and retrieve detailed stock information including prices and market cap
Historical Data: Get historical price data with technical analysis indicators (daily/weekly periods)
Financial Indicators: Access key financial report metrics for A-shares, Hong Kong, and US stocks
Stock News: Retrieve latest news and updates related to specific stocks
Chinese A-Share Market Specific
Market Overview: Access A-share market summaries including limit-up stocks, strong stock pools, Dragon-Tiger List statistics, and sector fund flow rankings
Trading Information: Get current time and A-share trading day information
Cryptocurrency Tools
Historical Prices: Fetch historical K-line data from platforms like OKX
Market Analysis: Query leverage long-short ratios and taker volume (active buy/sell data) from OKX
AI Reports: Access AI-generated analysis reports from Binance (highly recommended for crypto analysis)
Crypto News: Get latest news and updates for specific cryptocurrencies
News & Insights
Access global financial news and quick updates
The server supports multiple installation methods (uvx, Smithery, Docker) and integrates with AI coding assistants like Cursor, VS Code, Cherry Studio, Claude Code, and OpenAI CodeX.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server for stock and crypto show me Apple's stock price history for the last month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📈 AkTools MCP Server
基于 akshare 的 MCP (Model Context Protocol) 服务器,提供股票、加密货币的数据查询和分析功能。
功能
🔍 股票搜索: 根据股票名称、公司简称等关键词查找股票代码
ℹ️ 股票信息: 获取股票的详细信息,包括价格、市值等
📊 市场概况: 获取A股市场的涨停板、龙虎榜、资金流向等
💹 历史价格: 获取股票、加密货币历史价格数据,包含技术分析指标
📰 相关新闻: 获取股票、加密货币相关的最新新闻资讯
💸 财务指标: 支持A股和港美股的财务报告关键指标查询
Related MCP server: Finance Tools MCP
安装
方式1: uvx
{
"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资讯来源
}
}
}
}方式2: Smithery
需要通过OAuth授权或Smithery key
{
"mcpServers": {
"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": {
"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- 美股关键指标trading_suggest- 给出投资建议
get_current_time- 获取当前时间及A股交易日信息stock_zt_pool_em- A股涨停股池stock_zt_pool_strong_em- A股强势股池stock_lhb_ggtj_sina- A股龙虎榜统计stock_sector_fund_flow_rank- A股概念资金流向
stock_news- 获取个股/加密货币相关新闻stock_news_global- 全球财经快讯
okx_prices- 获取加密货币历史价格okx_loan_ratios- 获取加密货币杠杆多空比okx_taker_volume- 获取加密货币主动买卖情况binance_ai_report- 获取加密货币AI分析报告
Available Tools
18 toolsbinance_ai_report获取加密货币分析报告C
获取币安对加密货币的AI分析报告,此工具对分析加密货币非常有用,推荐使用
Inputs: symbol.
get_current_time获取当前时间及A股交易日信息A
获取当前系统时间及A股交易日信息,建议在调用其他需要日期参数的工具前使用该工具
Inputs: no named parameters.
okx_loan_ratios获取加密货币杠杆多空比C
获取OKX加密货币借入计价货币与借入交易货币的累计数额比值
Inputs: symbol, period.
okx_prices获取加密货币历史价格A
获取OKX加密货币的历史K线数据,包括价格、交易量和技术指标
Inputs: instId, bar, limit.
okx_taker_volume获取加密货币主动买卖情况B
获取OKX加密货币主动买入和卖出的交易量
Inputs: symbol, period, instType.
search查找股票代码A
根据股票名称、公司名称等关键词查找股票代码, 不支持加密货币。该工具比较耗时,当你知道股票代码或用户已指定股票代码时,建议直接通过股票代码使用其他工具
Inputs: keyword (required), market.
stock_indicators_aA股关键指标A
获取中国A股市场(上证、深证)的股票财务报告关键指标
Inputs: symbol (required).
stock_indicators_hk港股关键指标B
获取港股市场的股票财务报告关键指标
Inputs: symbol (required).
stock_indicators_us美股关键指标A
获取美股市场的股票财务报告关键指标
Inputs: symbol (required).
stock_info获取股票信息B
根据股票代码和市场获取股票基本信息, 不支持加密货币
Inputs: symbol (required), market.
stock_lhb_ggtj_sinaA股龙虎榜统计B
获取中国A股市场(上证、深证)的龙虎榜个股上榜统计数据
Inputs: days, limit.
stock_news获取股票/加密货币相关新闻A
根据股票代码或加密货币符号获取近期相关新闻
Inputs: symbol (required), limit.
stock_news_global全球财经快讯B
获取最新的全球财经快讯
Inputs: no named parameters.
stock_prices获取股票历史价格B
根据股票代码和市场获取股票历史价格及技术指标, 不支持加密货币
Inputs: symbol (required), market, period, limit.
stock_sector_fund_flow_rankA股板块资金流B
获取中国A股市场(上证、深证)的行业资金流向数据
Inputs: days, cate.
stock_zt_pool_emA股涨停股池C
获取中国A股市场(上证、深证)的所有涨停股票
Inputs: date, limit.
stock_zt_pool_strong_emA股强势股池C
获取中国A股市场(上证、深证)的强势股池数据
Inputs: date, limit.
trading_suggest给出投资建议C
基于AI对其他工具提供的数据分析结果给出具体投资建议
Inputs: symbol (required), action (required), score (required), reason (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Each tool targets a specific function or market, with clear distinctions between stock and crypto tools. Even within stock markets, tools are specialized per market (A, HK, US) or specific data (indicators, prices, news, sector flow). There is no significant overlap.
Tool names use a mix of patterns: some follow verb_noun (get_current_time, search), others are noun_noun (stock_info, okx_prices), and some include prefixes (binance_, okx_, stock_). While readable, the lack of a consistent naming convention reduces predictability.
With 18 tools covering both stock (multiple markets) and crypto (multiple exchanges), the count is well-scoped. Each tool serves a distinct analytical purpose, and the number is appropriate for the server's broad domain without being overwhelming.
The tool set covers most analytical needs: historical prices, financial indicators, news, and specialized data for A-shares. However, missing real-time crypto prices and detailed financial statements for all markets are minor gaps that may require workarounds.
Maintenance
Related MCP Connectors
MCP server for Financial Modeling Prep API with 250+ financial data tools
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Related MCP Servers
- AlicenseDqualityDmaintenance一个 Alpha Vantage API 查询 股票信息的 MCP server.34MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides comprehensive financial insights and analysis by leveraging real-time market data, news, and advanced analytics for stocks, options, financial statements, and economic indicators.1751PythonMIT
- AlicenseBqualityDmaintenanceMCP Server for notify to telegram / weixin21105 PyPI29MIT
- AlicenseAqualityCmaintenanceComprehensive MCP server for real-time stock, cryptocurrency, options, and fundamental analysis, including SEC filings and insider trading data.269 npmMIT