Best for
- Quant traders using both JoinQuant and Ptrade who need to migrate strategies
- Developers who want fast automated API-difference replacements plus clear notes on what still needs manual work
A focused migration tool: it leverages API similarity between JoinQuant and Ptrade to auto-handle imports, logging, position access, and history-data calls, producing a risk-annotated report and a directly usable .py file. Practical, but rules are pattern-based, so complex strategies still require human review and backtesting. The repository metadata shows NOASSERTION for license (README states Apache 2.0), so verify licensing before use.
Strongest · Documentation 14/20 Weakest · Reliability 8/20
Static review · not runListed 2026-09-07
Read the FMRS scoring method →Runtime:Node.js
{"mcpServers":{"quant2ptrader":{"command":"npx","args":["-y","quant2ptrader-mcp"]}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"quant2ptrader": {
"command": "npx",
"args": [
"-y",
"quant2ptrader-mcp"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add quant2ptrader -- npx -y quant2ptrader-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
The convertStrategy tool should appear in the client's tool list; run it on a strategy containing 'from jqdata import *' and confirm the report shows the import rewritten to 'from ptrade.api import *' and a *_ptrade.py output file path, proving the server works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Quant2Ptrader-MCP is a Model Context Protocol server that automatically converts JoinQuant quantitative strategy code into Ptrade platform format. It accepts code directly or file paths (.py/.txt/.text/.code/.strategy), detects and rewrites differing APIs (imports, logging functions, position access, history data calls, etc.), produces a detailed conversion report with risk notes, and auto-saves the result as a _ptrade.py file. Developed by Xingyu Chen, published on npm as quant2ptrader-mcp, and supports both stdio and HTTP modes.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 2c1c79fc133e Data synced 2026-10-19 Read the FMRS scoring method