Skip to content
VS Code

AKShare for VS Code

io.github.hangeaiagent/akshare-mcp

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

client:VS Code transport:stdio runtime:pypi

Install AKShare in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "akshare-max-rows",
      "description": "AKSHARE_MAX_ROWS",
      "password": true
    }
  ],
  "servers": {
    "akshare-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agentpit-akshare-mcp"
      ],
      "env": {
        "AKSHARE_MAX_ROWS": "${input:akshare-max-rows}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

AKShare in other clients