Stock & Crypto MCP
MCP Server for stock and crypto
What is Stock & Crypto MCP?
Stock & Crypto MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for stock and crypto
MCP Server for stock and crypto
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP Server for stock and crypto
Use Cases
Maintainer
Works with
Installation
PIP
pip install mcp-aktoolsManual Installation
pip install mcp-aktoolsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Stock & Crypto MCP
The mcp-aktools MCP Server provides AI assistants with live and historical financial market data for stocks and cryptocurrencies via the AKShare data library. It covers A-share, Hong Kong, and US equity markets alongside cryptocurrency exchange data from OKX and Binance, plus financial news feeds — letting you analyze markets, screen stocks, and track crypto trends directly within your AI conversations.
Prerequisites
- Python 3.10+ with pip (for the uvx/pip installation method) or Docker (for the containerized method)
- uvx (part of the uv Python toolchain) for the recommended installation
- Network access to AKShare data sources, OKX, and Binance APIs (no API keys required for most data)
- An MCP-compatible client such as Claude Desktop or Claude Code
Install via uvx (recommended)
The simplest way to run mcp-aktools is with uvx, which handles the virtual environment automatically.
# Install uv if not already available
curl -LsSf https://astral.sh/uv/install.sh | sh
# Add the server directly to Claude Code
claude mcp add aktools -- uvx mcp-aktoolsOr install via pip
Install the package with pip and run it directly.
pip install mcp-aktools
python -m mcp_aktoolsOr deploy with Docker Compose
For a persistent server deployment, use the provided Docker Compose configuration.
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 -dConfigure optional data source URLs
By default the server uses public endpoints. You can override exchange API base URLs via environment variables if needed (e.g. for regional proxies).
Add to your MCP client configuration
Add mcp-aktools to your claude_desktop_config.json using uvx as the command.
Restart your client and test a market query
Restart Claude Desktop and ask for current stock prices or cryptocurrency data to confirm the server is working.
Stock & Crypto MCP Examples
Client configuration
claude_desktop_config.json entry using uvx to run mcp-aktools. The env block is optional and only needed for custom proxy URLs.
{
"mcpServers": {
"aktools": {
"command": "uvx",
"args": ["mcp-aktools"],
"env": {
"OKX_BASE_URL": "https://okx.4url.cn",
"BINANCE_BASE_URL": "https://bian.4url.cn",
"NEWSNOW_CHANNELS": "wallstreetcn-quick,cls-telegraph,jin10"
}
}
}
}Prompts to try
Sample prompts for stock and crypto analysis with the mcp-aktools server.
- "What is the current price and today's change for 600519 (Moutai) on the A-share market?"
- "Show me the limit-up pool stocks on the A-share market today"
- "Get the sector fund flow rankings and tell me which sectors are attracting the most money"
- "What are the current BTC and ETH prices on OKX?"
- "Show me the latest financial news from Wall Street CN"
- "Get the Dragon and Tiger List for the top institutional buys this week"Troubleshooting Stock & Crypto MCP
AKShare data fetch errors or timeouts
AKShare connects to multiple Chinese financial data sources. If you are outside mainland China, some endpoints may be slow or blocked. Consider using a proxy or the Docker deployment behind a suitable network.
uvx command not found after installation
Install the uv toolchain with `curl -LsSf https://astral.sh/uv/install.sh | sh` and restart your terminal. On macOS you can also use `brew install uv`.
Crypto price tools return no data for OKX or Binance
Set OKX_BASE_URL and BINANCE_BASE_URL environment variables to working proxy endpoints if the default public endpoints are not reachable from your network.
Frequently Asked Questions about Stock & Crypto MCP
What is Stock & Crypto MCP?
Stock & Crypto MCP is a Model Context Protocol (MCP) server that mcp server for stock and crypto It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Stock & Crypto MCP?
Install via pip with: pip install mcp-aktools. Then configure your AI client to connect to this MCP server.
Which AI clients work with Stock & Crypto MCP?
Stock & Crypto MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Stock & Crypto MCP free to use?
Yes, Stock & Crypto MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Stock & Crypto MCP Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to Stock & Crypto MCP? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Browse More Finance & Fintech MCP Servers
Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Stock & Crypto MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Stock & Crypto MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.