QuantWright
com.quantwright/agent-api
Serveur MCP OK
Faire examiner Voir les tarifs
Backtests with costs, a held-out test that counts once, a score that counts every version tried.
Fiche technique
- Auteur
- quantwright.com (espace de noms du registre)
- Dépôt
- —
- Site
- quantwright.com/docs/agent-api
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://quantwright.com/api/mcp Streamable HTTP en-tête requis :
Authorization - Outils
- 6
- Catégories
- IA, agents et mémoire
- Dernière mise à jour
- 29 oct. 2026
- Publication
- 29 oct. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.quantwright/agent-api)<a href="https://latlas.dev/mcp/com.quantwright/agent-api"><img src="https://latlas.dev/badge/fiche/com.quantwright/agent-api.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://quantwright.com/api/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:38
- Temps de réponse
- 1 713 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- quantwright 1.0.0
- Outils
- 6
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:38 | OK | 1 713 ms | 6 |
Outils exposés (6, réponse à 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.
Aucun paramètre.
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | What the study tests, in a few words. |
| hold_out | object | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| study_id | string | oui | The id create_study returned. |
| code | string | oui | One backtesting.py Strategy class (describe_data has the rules). |
| symbol | string | oui | One ticker ("QQQ", "BTCUSD", "EURUSD"). |
| timeframe | enum: "1m" | "5m" | "15m" | "30m" | "1h" | "4h" | "1d" | oui | |
| window | object | object | non | Dates ({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. |
| costs | object | array<object> | non | The costs: two fractions of the trade value, or a list of costs each in its own unit. |
| account_usd | number | non | The starting account, in US dollars. |
| stated_rules | array<object | object | object | object | object> | non | Rules the trades are checked against, one per kind. |
| label | string | non | A 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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | non | A run_id run_backtest or run_held_out_test returned. |
| study_id | string | non | A study's id, for its runs (the newest 20 by default); with `version`, one of them. |
| version | integer | string | non | |
| before_version | integer | string | non | With study_id: the 20 runs before this version (a list's `next` gives it). |
| trades_page | integer | non | With 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`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | A 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | non | A run_id run_backtest or run_held_out_test returned: the run whose code is checked against the trades. |
| study_id | string | non | A study's id; with `version`, one of its runs. |
| version | integer | string | non | |
| trades | array<object> | oui | The trader's own trades, in their order, each stamp exactly as the trader wrote it. |
| time_zone | string | non | The 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). |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://quantwright.com/api/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http agent-api https://quantwright.com/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : agent-api ; URL : https://quantwright.com/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : agent-api ; Server URL : https://quantwright.com/api/mcp ; Create as a plugin{
"mcpServers": {
"agent-api": {
"url": "https://quantwright.com/api/mcp"
}
}
}{
"mcpServers": {
"agent-api": {
"type": "http",
"url": "https://quantwright.com/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"agent-api": {
"url": "https://quantwright.com/api/mcp"
}
}
}{
"mcpServers": {
"agent-api": {
"httpUrl": "https://quantwright.com/api/mcp"
}
}
}[mcp_servers.agent-api]
url = "https://quantwright.com/api/mcp"Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.