QuantWright
com.quantwright/agent-api
Backtests with costs, a held-out test that counts once, a score that counts every version tried.
- Website
- quantwright.com/docs/agent-api
- Server address
https://quantwright.com/api/mcp(streamable-http)- Version
- 1.0.0
- Author
- quantwright.com (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 29, 2026)
How to install it
The server requires a header: Authorization. Replace YOUR_KEY with your key.
Claude Code
In a terminal:
claude mcp add --transport http agent-api https://quantwright.com/api/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://quantwright.com/api/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://quantwright.com/api/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"agent-api": {
"url": "https://quantwright.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"agent-api": {
"type": "http",
"url": "https://quantwright.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:38 (test run by L’Atlas)
- Response time
- 1,713 ms (whole test)
- Tools found
- 6
- Announced name
- quantwright 1.0.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (6)
describe_data
Start here to backtest a trading idea. This server holds the price history (US stocks and ETFs, FX, spot gold and silver, spot crypto; daily and intraday bars) and runs backtests on it. Returns the markets and bar sizes served, the defaultcreate_study
Opens a study, the named set of runs every backtest belongs to: call it once per question, before run_backtest. Can set a hold-out period, once and only here, that no run tests except run_held_out_test. Only the first held-out test per accorun_backtest
Backtests a trading rule on this server's price history: one backtesting.py Strategy class, one symbol, one bar size, in a study. Use it to test, backtest or evaluate a trading rule or strategy. Returns summary figures (return, drawdown, Shget_result
Reads a backtest result by its run_id (when run_backtest answered "running", call this until the run ends), or a study's runs by study_id (one of them with version). A run comes with its trades, a page at a time (trades_page).run_held_out_test
The final out-of-sample check: runs a finished run's exact code once over its study's hold-out period. Call it at the end, on the run you would keep: the first held-out test per account and market is the one that counts, and a hold-out withcompare_trades
Checks a trader's own trades against a run's rule, on the price history this server holds: for each trade, in their order, whether the rule would have taken it and, if not, why (already in a trade, no entry signal that day, no bar that day)
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/com.quantwright/agent-api)HTML
<a href="https://lagora.dev/en/entry/com.quantwright/agent-api"><img src="https://lagora.dev/badge/com.quantwright/agent-api.svg?lang=en" alt="com.quantwright/agent-api on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.