Description

An MCP server for stock and cryptocurrency data built by aahl using the akshare Python library, providing access to Chinese financial markets through fastmcp framework. The implementation includes caching mechanisms with both in-memory TTL cache and disk-based persistence to optimize API performance, and is packaged for deployment via PyPI and Docker containers. It exposes akshare's extensive financial data APIs through MCP tools, making it useful for financial analysis, market research, algorithmic trading development, and building AI assistants that need access to real-time and historical Chinese stock and crypto market data.

Installation

git clone https://github.com/aahl/mcp-aktools

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "akshare": {
      "command": "node",
      "args": [
        "path/to/server.js"
      ]
    }
  }
}