AKShare

v0.1.1
io.github.hangeaiagent/akshare-mcp Checked 1 hour ago Published 2 months ago

Let a model explore AKShare's 1000+ China market data functions on its own — search, inspect, call

Values you need

VariableWhat it is
AKSHARE_MAX_ROWSoptional Cap on rows per response Default: 200

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add akshare-mcp -- uvx --from agentpit-akshare-mcp==0.1.1 akshare-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "akshare-mcp": {
      "args": [
        "--from",
        "agentpit-akshare-mcp==0.1.1",
        "akshare-mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "akshare-mcp": {
      "args": [
        "--from",
        "agentpit-akshare-mcp==0.1.1",
        "akshare-mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "akshare-mcp": {
      "args": [
        "--from",
        "agentpit-akshare-mcp==0.1.1",
        "akshare-mcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.akshare-mcp]
command = "uvx"
args = ["--from", "agentpit-akshare-mcp==0.1.1", "akshare-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: akshare_search, akshare_signature, akshare_call.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json