L'Atlas / MCP servers / QuantWright

QuantWright

com.quantwright/agent-api

MCP server OK

Get a review See pricing

Backtests with costs, a held-out test that counts once, a score that counts every version tried.

Technical sheet

Author
quantwright.com (registry namespace)
Repository
—
Site
quantwright.com/docs/agent-api
Version
1.0.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://quantwright.com/api/mcp Streamable HTTP required header : Authorization
Tools
6
Categories
AI, agents and memory
Last updated
29 Oct 2026
Published
29 Oct 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/com.quantwright/agent-api.svg?lang=en)](https://latlas.dev/en/mcp/com.quantwright/agent-api)
HTML
<a href="https://latlas.dev/en/mcp/com.quantwright/agent-api"><img src="https://latlas.dev/badge/fiche/com.quantwright/agent-api.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://quantwright.com/api/mcp
Last result
OK 28 Nov 2026, 11:38
Response time
1,713 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
quantwright 1.0.0
Tools
6

History

DateResultResponseTools
28 Nov 2026, 11:38OK1,713 ms6

Exposed tools (6, from tools/list, 28 Nov 2026)

describe_data

What can be backtested

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 default costs per market, the rules and daily limits every run is held to, and how to write the strategy code; then call create_study.

No parameters.

create_study

Start a 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 account and market counts, and any earlier run on the market (in any study, at any bar size) that read its days disqualifies it: set the hold-out in your first study on a market, before any run on it.

ParameterTypeRequiredDescription
namestringyesWhat the study tests, in a few words.
hold_outobjectnoThe days kept back from every run but run_held_out_test; set once, here. Set it in your first study on a market, before any run on it: a held-out test on days an earlier run on the market read does not count.

run_backtest

Backtest a strategy

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, Sharpe, win rate, trades, a grade, whether it beat buy-and-hold) and the run's trades (when each entered and left, which exit ended it, its side, win or loss), never prices or bars; a figure may be withheld, with the reason. Waits up to 90 s, then answers status "running" with a run_id for get_result.

ParameterTypeRequiredDescription
study_idstringyesThe id create_study returned.
codestringyesOne backtesting.py Strategy class (describe_data has the rules).
symbolstringyesOne ticker ("QQQ", "BTCUSD", "EURUSD").
timeframeenum: "1m" | "5m" | "15m" | "30m" | "1h" | "4h" | "1d"yes
windowobject | objectnoDates ({from, to}; `to` may be "latest") or the last N days, months or years ({last: {n, unit}}). Left out: the standard history, the newest bars counted back from the newest bar, cut at the start of the hold-out.
costsobject | array<object>noThe costs: two fractions of the trade value, or a list of costs each in its own unit.
account_usdnumbernoThe starting account, in US dollars.
stated_rulesarray<object | object | object | object | object>noRules the trades are checked against, one per kind.
labelstringnoA short text shown with the run.

get_result

Read a 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).

ParameterTypeRequiredDescription
run_idstringnoA run_id run_backtest or run_held_out_test returned.
study_idstringnoA study's id, for its runs (the newest 20 by default); with `version`, one of them.
versioninteger | stringno
before_versioninteger | stringnoWith study_id: the 20 runs before this version (a list's `next` gives it).
trades_pageintegernoWith a run (run_id, or study_id with version): the page of its trade list, from 1; a page holds 100 trades. Left out: the first.

run_held_out_test

Test on the hold-out

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 with too few trades for figures (a result needs 10) spends it all the same: each development run says how many trades the hold-out is expected to hold, in `hold_out_estimate`.

ParameterTypeRequiredDescription
run_idstringyesA run of a study with a hold-out, which ran.

compare_trades

Check my own 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). Use it when the trader lists trades they made and asks which the rule took. Takes a run (run_id) and the trades, each {side, entry, exit?}; answers in words, never prices. It re-runs the run's code, so it counts as a run on the run's symbol.

ParameterTypeRequiredDescription
run_idstringnoA run_id run_backtest or run_held_out_test returned: the run whose code is checked against the trades.
study_idstringnoA study's id; with `version`, one of its runs.
versioninteger | stringno
tradesarray<object>yesThe trader's own trades, in their order, each stamp exactly as the trader wrote it.
time_zonestringnoThe clock the trader says their times are on ("UTC+2", "New York", "Europe/Prague"). Left out: the clock the run's trade list is on (ET for stocks and ETFs, UTC otherwise).

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://quantwright.com/api/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http agent-api https://quantwright.com/api/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : agent-api ; URL : https://quantwright.com/api/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : agent-api ; Server URL : https://quantwright.com/api/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "agent-api": {
      "url": "https://quantwright.com/api/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "agent-api": {
      "type": "http",
      "url": "https://quantwright.com/api/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "agent-api": {
      "url": "https://quantwright.com/api/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "agent-api": {
      "httpUrl": "https://quantwright.com/api/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.agent-api]
url = "https://quantwright.com/api/mcp"

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.