@noxarquant/mcp
v0.1.0
Published
NoxarQuant MCP server — let an AI agent verify a trading strategy: import trades, read the edge map, run a robustness test, write a trading plan.
Readme
@noxarquant/mcp — NoxarQuant MCP server
Let an AI assistant run the NoxarQuant verification loop on your behalf: import a strategy's trades → read the edge map → run a robustness test → write a trading plan. NoxarQuant becomes the verification layer for AI-driven trading.
It's a thin wrapper: every tool forwards to a hardened /v1/me/* endpoint
with your device token. All scoring, gating and rate-limiting stay
server-side. No proprietary internals are ever exposed — tools return
labels, scores and dollars, never formulas.
Tools
| Tool | What it does |
| ------------------------------ | ----------------------------------------------------------------------------------- |
| noxar_import_trades | Import trades in the standard NoxarQuant format. |
| noxar_get_risk_map | See proven edges (CORE) vs. weak setups (NDC), each with a 0–100 reliability score. |
| noxar_run_monte_carlo | Run an out-of-sample robustness test on chosen edges. |
| noxar_get_monte_carlo_result | Fetch the verdict (in-sample vs out-of-sample, drawdown, risk-of-ruin). |
| noxar_get_trading_plan | Read your do / caution / review checklist + cluster stats. |
| noxar_save_trading_plan | Save a trading plan grounded in the analysis. |
Setup
1. Get a connection token (one time)
Easiest — in the app: Settings → Account → Connect an assistant.
One click mints a NOXAR_DEVICE_TOKEN and shows a ready-to-paste config
block. (Shown once — copy it then.)
Or from the CLI:
npx @noxarquant/mcp pairThis prints a pairing code. Open https://noxarquant.com/devices/pair
(signed in), enter the code, and confirm. The CLI then prints a
NOXAR_DEVICE_TOKEN and a ready-to-paste config block.
2. Add to your MCP client
Claude Desktop (claude_desktop_config.json), under mcpServers:
{
"mcpServers": {
"noxarquant": {
"command": "npx",
"args": ["-y", "@noxarquant/mcp"],
"env": { "NOXAR_DEVICE_TOKEN": "dvt_..." }
}
}
}Restart the client. Ask it to "import these trades into NoxarQuant and tell me which of my edges are real."
Environment
| Var | Default | Purpose |
| -------------------- | ------------------------ | ------------------------------------------------------ |
| NOXAR_DEVICE_TOKEN | — | Your dvt_ token from pair (required). |
| NOXAR_API_BASE | https://noxarquant.com | Override for local dev (e.g. http://localhost:3000). |
Keep your device token secret — it grants access to your NoxarQuant account. You can revoke it anytime from Settings → Account → Connect an assistant.
