# Akshare Mcp

> AKShare的MCP Server

- **Type:** MCP server
- **Install:** `agentstack add mcp-wukan1986-akshare-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [wukan1986](https://agentstack.voostack.com/s/wukan1986)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [wukan1986](https://github.com/wukan1986)
- **Source:** https://github.com/wukan1986/akshare_mcp

## Install

```sh
agentstack add mcp-wukan1986-akshare-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# akshare_mcp

`AKShare`数据接口的`MCP Server`封装

## 项目背景

`AKShare`提供了上千个数据接口，但`Github`上提供的服务都只支持少量接口，所以本项目将所有接口都暴露出来，方便用户使用。

## 安装

1. 在虚拟环境下执行`pip install akshare_mcp`或`uv pip install akshare_mcp`，
2. 运行`python -m akshare_mcp -h`检查是否安装成功，留意打印的配置文件路径

## 配置

```json
{
  "mcpServers": {
    "akshare_mcp": {
      "command": "D:\\Users\\Kan\\miniconda3\\envs\\py312\\python.exe",
      "args": [
        "-m",
        "akshare_mcp",
        "--format",
        "markdown"
      ]
    }
  }
}
```

## 注意

1. 1000+接口，全部暴露成工具，将会消耗大量`Token`
2. 部分MCP客户端只支持少量的工具，例如`Trae`最多支持40个工具

所以，请一定在使用前配置需要使用的接口。

1. 运行`python -m akshare_mcp -h`，查看配置文件的位置。例如`d:\Users\Kan\miniconda3\envs\py312\Lib\site-packages\akshare_mcp\config.py`
2. 编辑配置文件`config.py`，添加需要使用的接口。接口名参考`https://akshare.akfamily.xyz/data/index.html`
3. MCP客户端刷新重连服务端

如果`site-packages\akshare_mcp\config.py`无权限修改，可以从`github`上复制`config.py`文件到任意路径，然后使用`--config`参数

```commandline
python -m akshare_mcp --config D:\config.py
```

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [wukan1986](https://github.com/wukan1986)
- **Source:** [wukan1986/akshare_mcp](https://github.com/wukan1986/akshare_mcp)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-wukan1986-akshare-mcp
- Seller: https://agentstack.voostack.com/s/wukan1986
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
