# AKQuant (pypi · akquant)

Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs

- Trust score: 83/100 (high trust)
- Change this week: +18
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-21

## Components

- pypi · `akquant`: 83/100 (this document), [markdown](https://verifymcp.io/servers/akfamily-akquant/akquant.md), [page](https://verifymcp.io/servers/akfamily-akquant/akquant)

## Channel facts

- Registry: `pypi`
- Package: `akquant`
- Version: `0.3.95`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-21.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs maturin at install time, a recognised build step with no custom scripting around it.
  - 1 of 17 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to akfamily/akquant).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 60/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 1031 tokens (~147/item across 7 items; 7 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 50/100
  - Stability observed for 15 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the AKQuant MCP server?

AKQuant runs locally as a PyPI package, launched with uvx --with 'akquant[mcp]==0.3.95' akquant mcp, plus the required --root, which you supply. Ready-made configuration for Claude, Cursor, VS Code, Codex and 3 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add akfamily-akquant -- uvx --with 'akquant[mcp]==0.3.95' akquant mcp
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Cursor

```json
{
  "mcpServers": {
    "akfamily-akquant": {
      "command": "uvx",
      "args": [
        "--with",
        "akquant[mcp]==0.3.95",
        "akquant",
        "mcp"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### VS Code

```json
{
  "servers": {
    "akfamily-akquant": {
      "command": "uvx",
      "args": [
        "--with",
        "akquant[mcp]==0.3.95",
        "akquant",
        "mcp"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Codex

```bash
codex mcp add akfamily-akquant -- uvx --with 'akquant[mcp]==0.3.95' akquant mcp
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "akfamily-akquant": {
      "type": "local",
      "command": [
        "uvx",
        "--with",
        "akquant[mcp]==0.3.95",
        "akquant",
        "mcp"
      ],
      "enabled": true
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Hermes

```yaml
mcp_servers:
  akfamily-akquant:
    command: "uvx"
    args: ["--with", "akquant[mcp]==0.3.95", "akquant", "mcp"]
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Netclaw

```json
{
  "McpServers": {
    "akfamily-akquant": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "--with",
        "akquant[mcp]==0.3.95",
        "akquant",
        "mcp"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

### Other

```json
{
  "mcpServers": {
    "akfamily-akquant": {
      "command": "uvx",
      "args": [
        "--with",
        "akquant[mcp]==0.3.95",
        "akquant",
        "mcp"
      ]
    }
  }
}
```

Incomplete: the registry marks --root as required and gives no value we can show, so it is not in this command. Add it before you run it.

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-21 (score 83, +16)

- [security improvement] Malware scan: unverified → pass
- [functional] Package version: 0.3.94 → 0.3.95

### 2026-11-20 (score 67, −15)

- [security regression] Malware scan: pass → unverified
- [functional] Package version: 0.3.92 → 0.3.94
- [functional] Package version: 0.3.92 → 0.3.93

### 2026-11-19 (score 82, +1)

No change was recorded against any check on this day. Stability & Change Management went from 40 to 43. That category is still filling its 30-day observation window: 12 days of observed history at the previous scan, 13 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-18 (score 81, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-17 (score 66, −15)

- [security regression] Malware scan: pass → unverified
- [functional] Package version: 0.3.91 → 0.3.92

### 2026-11-16 (score 81, +16)

- [security regression] Tool safety: pass → unverified
- [security regression] Stability: 0.30 → unverified
- [security improvement] Malware scan: unverified → pass
- [functional regression] Capabilities: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified
- [functional] Package version: 0.3.90 → 0.3.91

### 2026-11-15 (score 65, 0)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Schema quality: 129 → 151
- [functional] Package version: 0.3.89 → 0.3.90

### 2026-11-14 (score 65, −14)

- [security regression] Malware scan: pass → unverified
- [functional] Package version: 0.3.88 → 0.3.89

## MCP tools (7)

### `search_api` (~110 tokens)

按关键词搜索 AKQuant 公开 API.

范围: akquant 顶层导出、Strategy 的方法与属性、run_backtest 的参数
(名称形如 run_backtest.initial_cash)、其余导出类的成员(名称形如
Bar.close、BarBatch.missing)。名称命中排在 docstring 命中之前。
返回名称、类型与一句摘要; 详情用 get_api。

Input parameters:

- `limit` (integer)
- `query` (string, required)

### `get_api` (~67 tokens)

返回一个 API 的完整签名与 docstring.

name 例: run_backtest、Strategy.buy、Strategy.I、
run_backtest.initial_cash、Bar.close、BarBatch.missing。找不到时
错误信息里给出相近名称。

Input parameters:

- `name` (string, required)

### `get_guide` (~57 tokens)

读取写策略要点.

不传 topic 返回主题列表; 传 topic(如 strategy-skeleton、indicators)
返回该篇 Markdown 全文。写新策略前先读 strategy-skeleton。

Input parameters:

- `topic`

### `check_strategy` (~117 tokens)

静态检查策略文件(不执行代码).

path 相对项目根目录。返回 ok、类信息与 diagnostics(语法错误、
找不到/多个 Strategy 子类、拼错的 self 方法、Strategy 方法的错误
关键字参数或实参个数、回调入参上不存在的属性(如 bar.clsoe)、
on_bar 里的 self.I 等)。文件有多个 Strategy 子类时用 strategy_attr
指定类名。

Input parameters:

- `path` (string, required)
- `strategy_attr`

### `prepare_data` (~198 tokens)

准备回测数据并缓存, 返回 dataset_id 与摘要(含 issues).

spec.source 二选一:
file: {"source": "file", "path": "data/x.csv", "symbol"?, "timezone"?},
path 须在项目根目录或 AKTools 数据目录内。读 AKTools save_data 存下的
文件时, path 填它返回的路径并必须传 symbol(如 "600519"); 取数时优先
选新浪财经、腾讯的接口(成交量单位是股; 东方财富行情接口的中文列名
也认, 但成交量单位是手, 不做换算);
synthetic: {"source": "synthetic", "symbols"?, "start"?, "end"?,
"freq"?: "1d"|"1m", "seed"?}(只用于验证能跑通)。

Input parameters:

- `spec` (object, required)

### `run_backtest` (~240 tokens)

在子进程中回测策略文件, 返回 status(ok/error/timeout)与摘要.

config 只接受: initial_cash, commission_rate, stamp_tax_rate,
min_commission, slippage, t_plus_one, lot_size, timezone, symbols,
start_time, end_time, broker_profile, warmup_period。
slippage 必须是字典, 如 {"type": "percent", "value": 0.0002};
{"type": "zero"} 表示关闭滑点(含覆盖 broker_profile 模板的滑点)。
strategy_params 只能传类体里 IntParam 等声明过的参数。失败时看
error.phase、error.user_frames(策略文件里的行号; 指标声明引起、在
框架里抛出的错误指回 self.I 声明行)与 error.hint。
每次调用都重新加载文件, 改完直接重跑即可。

Input parameters:

- `config`
- `dataset_id` (string, required)
- `path` (string, required)
- `strategy_attr`
- `strategy_params`
- `timeout_s` (integer)

### `get_run_details` (~61 tokens)

分页读取一次回测的成交、委托(含拒单原因)、日频权益或日志.

Input parameters:

- `limit` (integer)
- `offset` (integer)
- `run_id` (string, required)
- `section` (string, required)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/akfamily-akquant/akquant#diagnostics

## Score history

- 2026-11-21: 83
- 2026-11-20: 67
- 2026-11-19: 82
- 2026-11-18: 81
- 2026-11-17: 66
- 2026-11-16: 81
- 2026-11-15: 65
- 2026-11-14: 65
- 2026-11-13: 79
- 2026-11-12: 64
- 2026-11-11: 64
- 2026-11-10: 78
- 2026-11-09: 78
- 2026-11-08: 63
- 2026-11-07: 62
- 2026-11-06: 62

## Common questions

### What is the AKQuant MCP server?

AKQuant is an MCP server listed in the public MCP registry as io.github.akfamily/akquant. Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs. This page covers its PyPI package (akquant).

### Is the AKQuant MCP server safe to use?

AKQuant scores 83 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the AKQuant MCP server expose?

AKQuant exposes 7 tools: search_api, get_api, get_guide, check_strategy, prepare_data, and 2 more. Their descriptions and schemas cost roughly 850 tokens of context every time the server is loaded.

### Is the AKQuant MCP server still maintained?

AKQuant is still listed as active in the MCP registry. We last reached this channel on 21 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the AKQuant MCP server under?

AKQuant declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the AKQuant MCP server?

VerifyMCP ran 16 checks on AKQuant, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- PyPI project: https://pypi.org/project/akquant/
- Socket report: https://socket.dev/pypi/package/akquant
- Repository: https://github.com/akfamily/akquant
- Website: https://akquant.akfamily.xyz/guide/mcp/
- Changelog RSS feed: https://verifymcp.io/servers/akfamily-akquant/akquant.xml
- Changelog JSON feed: https://verifymcp.io/servers/akfamily-akquant/akquant/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/akfamily-akquant/akquant.json
- HTML version of this page: https://verifymcp.io/servers/akfamily-akquant/akquant
