AKQuant
MCP server by akfamily Community
AKQuant is a quantitative trading framework for writing and backtesting strategies, with a Rust engine and Python strategies. Its MCP server lets AI assistants look up the API, write strategies and run backtests. It is aimed at quant researchers and developers working with A-share and other markets.
Install AKQuant
Built from the published package, never by AI.
claude mcp add akquant -- uvx akquantRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"akquant": {
"args": [
"akquant"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"akquant": {
"args": [
"akquant"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"akquant": {
"args": [
"akquant"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add akquant -- uvx akquant{
"mcpServers": {
"akquant": {
"args": [
"akquant"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add akquant uvx akquantGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the akquant block.
About
AKQuant is a backtesting and live trading framework. Its core engine is written in Rust, and strategies are written in Python by subclassing Strategy and implementing callbacks such as on_bar. It covers stocks, futures and options, and includes A-share rules such as T+1, price limits, commission, stamp tax and transfer fees.
The project ships an MCP server, akquant-mcp, that lets AI assistants such as Claude, Codex and Cursor write strategies and run backtests in natural language. The source says it is for quant researchers and developers who want to test trading strategies, with optional live or simulated trading through run_live.
Written from the project's README and checked against it.
Tools it gives your assistant
API lookupLets the assistant look up AKQuant API details while writing strategy code.Strategy writingLets the assistant write trading strategies from plain language requests.Backtest runsLets the assistant run backtests and report results such as returns and drawdown.
What you need
- Python 3.10 or later
- uv, installed before the MCP setup
- AKShare, if you want to fetch A-share data with the sample code
Try asking
- Write a moving average crossover strategy for Ping An Bank and backtest it.
- Run a backtest on Pudong Development Bank daily data and report max drawdown.
- Look up the AKQuant API for placing bracket orders and show an example.
Good to know
- run_backtest by default ignores commission, stamp tax, transfer fees and T+1, so results without broker_profile are optimistic.
- The project directory given with --root must be created before use.
- Speed depends on strategy logic, data size and callback frequency.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to AKQuant
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
AKQuant: common questions
Does AKQuant support A-share trading rules?
Yes. The source says it covers T+1, price limits, commission, stamp tax, transfer fees and an exchange calendar for China time zone. Use a broker_profile such as cn_stock_t1_low_fee for these rules.
Which AI assistants can use the AKQuant MCP server?
The source names WorkBuddy, DeepSeek Harness, Codex, Cursor and Claude, and says other clients can use JSON configuration.
Is the AKQuant MCP server listed in an official registry?
The source says it is listed in the MCP official registry under the name io.github.akfamily/akquant.
How do I install AKQuant?
In Claude Code run claude mcp add akquant -- uvx akquant. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is AKQuant the official server?
AKQuant is a community project by akfamily, not verified by a company domain.
Is AKQuant free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is AKQuant safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to AKQuant?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does AKQuant work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
