Expand description
§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
cargo run -p akshare-mcp -- stdio
# Run as HTTP/SSE MCP server
cargo run -p akshare-mcp -- http --config config.toml§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:
[http]
bind = "127.0.0.1:8080"
mcp_key = "your-secret-key"