akshare-mcp
MCP (Model Context Protocol) server for akshare-rs. Provides 42 tools covering A-share, HK, US stocks, funds, bonds, futures, options, forex, crypto, macro data, economy, and news.
Quick Start
# Run as stdio MCP server
# Run as HTTP/SSE MCP server
Transport Modes
- stdio: Standard input/output, ideal for local integration with AI assistants
- HTTP/SSE: Streamable HTTP with optional
X-MCP-KEYheader authentication
Configuration
HTTP mode reads config.toml:
[]
= "127.0.0.1:8080"
= "your-secret-key"