akshare-mcp 0.1.12

MCP server for akshare-rs — financial market data via Model Context Protocol
docs.rs failed to build akshare-mcp-0.1.12
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: akshare-mcp-0.1.11

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-KEY header authentication

Configuration

HTTP mode reads config.toml:

[http]
bind = "127.0.0.1:8080"
mcp_key = "your-secret-key"