# AKTools MCP server

> Search and fetch AKShare financial data (stocks, futures, funds, macro) from AI assistants using natural language.

- Listing: https://mcp.tc/i/aktools
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: no API key needed
- Category: [Finance & Payments](https://mcp.tc/c/finance-payments)
- Vendor: akfamily
- Homepage: <https://aktools.akfamily.xyz/guide/mcp/>
- Docs: <https://aktools.akfamily.xyz/>
- Repository: <https://github.com/akfamily/aktools>
- Package: pypi `aktools`

## About

AKTools exposes the more than one thousand data interfaces of the open-source AKShare library to AI assistants. An assistant can search for an interface, read its parameters and fetch data such as stock quotes, futures, funds and macroeconomic series.

It runs locally over stdio through uvx from the aktools PyPI package, so nothing needs to be installed beforehand beyond uv. No API key or sign-in is needed. The first start downloads AKShare and its dependencies, about 150 MB. Some interfaces need a network connection inside mainland China. AKTools also offers an HTTP API and an MCP endpoint when started with python -m aktools.

## What it can do

- Search AKShare interfaces by keyword
- Look up the parameters and defaults of an interface
- Fetch stock, futures, fund and macro data
- Use the same data through a local HTTP API
- Download results as CSV or Excel through the HTTP API

## Example prompts

- "Get the forward-adjusted daily prices of Kweichow Moutai from 8 to 11 October 2024."
- "Which AKShare interfaces relate to convertible bonds?"
- "What parameters does stock\_zh\_a\_hist take, and how do I set the adjustment type?"
- "Fetch the trading calendar history from Sina."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio aktools -- uvx aktools mcp
```

2. Start Claude Code and type `/mcp`. **aktools** should show as connected.

Add `--scope user` to make it available in every project.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "aktools": {
      "command": "uvx",
      "args": [
        "aktools",
        "mcp"
      ]
    }
  }
}
```

2. Save the file and restart Claude Desktop.

Needs uv (Python) on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=aktools&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJha3Rvb2xzIiwibWNwIl19>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "aktools": {
      "command": "uvx",
      "args": [
        "aktools",
        "mcp"
      ]
    }
  }
}
```

Needs uv (Python) on your computer.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=aktools&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22aktools%22%2C%22mcp%22%5D%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"aktools","type":"stdio","command":"uvx","args":["aktools","mcp"]}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "aktools": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "aktools",
        "mcp"
      ]
    }
  }
}
```

Needs uv (Python) on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "aktools": {
      "command": "uvx",
      "args": [
        "aktools",
        "mcp"
      ]
    }
  }
}
```

2. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add aktools -- uvx aktools mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.aktools]
command = "uvx"
args = ["aktools", "mcp"]
```

Needs uv (Python) on your computer.

### Gemini CLI

```bash
gemini mcp add aktools uvx aktools mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "aktools": {
      "command": "uvx",
      "args": [
        "aktools",
        "mcp"
      ]
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs uv (Python) on your computer.

## Recent changes

- 2026-11-17 05:27 UTC: New version 0.1.13 (was 0.1.12), read from PyPI. Source: automatic check.
- 2026-11-15 14:28 UTC: New version 0.1.12 (was 0.1.11), read from PyPI. Source: automatic check.
- 2026-11-14 14:24 UTC: New version 0.1.9 (was 0.1.7), read from PyPI. Source: automatic check.
- 2026-11-13 08:26 UTC: New version 0.1.7 (was 0.1.5), read from PyPI. Source: automatic check.
- 2026-11-09 17:27 UTC: New version 0.1.5 (was 0.1.4), read from PyPI. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/aktools#history (Atom feed: https://mcp.tc/i/aktools/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 0.1.13
- Last checked: 2026-10-29
- Listed: 2026-10-29
- Updated: 2026-10-29

---
Source: https://mcp.tc/i/aktools (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
