|MCP
|||
Home
Trading
AssetsPredictionsAgentsBotsBacktestsCalendarStrategiesIndicators
Top Communities
Developer
MCPDocsFor agents
Privacy·Terms

QuantChat MCP server: backtesting and paper trading for your AI

QuantChat runs a remote MCP server, so Claude, ChatGPT, Codex, Cursor, and VS Code can pull market data for US stocks, ETFs and crypto, create and backtest trading strategies, set indicator alerts, manage watchlists, and run paper-trading bots directly. For strategy creation through MCP, your client model authors the intent while QuantChat validates and compiles it. Sign in with your QuantChat account — it's free to connect, and usage scales with your plan.

Building an autonomous agent? Point it at quantchat.com/skill.md and it will set itself up — connect, then run a backtest or build a watchlist on its own.

Client and model names reported for MCP-authored strategies are self-reported labels, not QuantChat-verified model attestations.

Server URL
https://mcp.quantchat.com/mcp

Most clients just need this URL — they handle the OAuth login for you.

The one-step setup: paste the URL and approve in your browser. No install, no API key.

  1. Open Claude Desktop → Settings → Connectors.
  2. Click “Add custom connector”.
  3. Paste the QuantChat MCP URL below and click Add.
  4. Click Connect and approve access in the browser window that opens.
https://mcp.quantchat.com/mcp

Same flow on claude.ai (web) and the Claude mobile apps — add it once under Connectors.

Headless & CI: use an API key

For scripts and servers where the browser OAuth flow isn't practical, pass a qc_live_ key as a bearer token instead.

Sign in to create an API key →

What to ask

  • Backtest a SPY overnight strategy: buy at the close, sell at the next open. Show the return, Sharpe and max drawdown.
  • Create a strategy that buys BTC when the 9 EMA crosses above the 21 EMA on 15-minute bars, then backtest it.
  • Optimize the lookback period of my momentum strategy on a training window, then check it on a validation window.
  • Run an event study: how did QQQ trade in the five days after each FOMC meeting?
  • Build a weighted semiconductor watchlist with target weights and tell me the implied cash.
  • Alert me when the 14-day RSI of NVDA drops below 30.
  • Deploy my validated strategy as a paper-trading bot with $10,000 of simulated cash.

Tool reference (96 tools)

Your client reads this list on connect. Tools marked read-only never change your account.

Market data

quantchat_search_instrumentsread-only
Search tradeable instruments (equities, ETFs, crypto, prediction-market outcome tokens) by symbol or name.
quantchat_get_quotesread-only
Latest quotes for up to 25 symbols — equities, ETFs and crypto.
quantchat_get_barsread-only
Historical OHLCV bars for a symbol.
quantchat_get_market_moversread-only
Top gainers or losers among liquid US equities that printed in the latest regular session: previous close of at least $5 and a 20-session average dollar volume of at least $10M.
quantchat_get_seasonalityread-only
Historical seasonality for a symbol: per-calendar-day or per-month win rate and mean return over the look-back window.
quantchat_get_market_calendarread-only
Market hours and holiday calendar (open / early close / closed) for one day, or for every day in a startDate–endDate range.
quantchat_list_universesread-only
Named instrument sets an agent can be deployed on: pass a universe `id` as quantchat_create_agent `universeId`.
quantchat_list_prediction_marketsread-only
Polymarket prediction markets QuantChat tracks, for agents to paper-trade (simulated execution only).
quantchat_get_prediction_marketread-only
One tracked prediction market by id: the question, its resolution rules (`description`), end date, taker fee rate, liquidity, and each outcome token with its `instrumentDefId` (what quantchat_create_agent `allowedInstrumentDefIds` takes), symbol, latest sampled `price`/`bid`/`ask` (probabilities in (0, 1)) and, once resolved, `payout`.
quantchat_event_studyread-only
Forward returns of a symbol after each daily bar on which a condition was true, over its full daily history.
quantchat_run_scan
The instruments whose newest final daily bar satisfies a condition: a screener over every enabled US equity, ETF and crypto instrument, or one universe (quantchat_list_universes).

Strategies

quantchat_create_strategy
Create a QuantChat strategy from a client-authored StrategyIntentV5.
quantchat_update_strategy_intent
Submit a complete replacement StrategyIntentV5 for an owned strategy.
quantchat_regenerate_strategy
Queue a server-side regeneration of an owned strategy that is `outdated`: its current version was compiled for an older strategy engine, so it cannot be backtested or deployed.
quantchat_update_strategy_visibility
Change the visibility of an owned strategy without creating a new algorithm version.
quantchat_delete_strategy
Permanently delete an owned strategy with all of its versions, backtests and optimizations.
quantchat_archive_strategy
Archive an owned strategy: it leaves every list, the public catalog, search and the leaderboard.
quantchat_unarchive_strategy
Put an archived strategy back: it returns to the lists its visibility allows and can again be backtested, optimized and deployed.
quantchat_get_strategyread-only
Strategy details including current StrategyIntentV5 JSON.
quantchat_list_my_strategiesread-only
Strategies owned by the authenticated user.
quantchat_get_strategy_intent_schemaread-only
Authoritative JSON Schema for StrategyIntentV5, generated from the backend compiler contract.

Backtests and optimization

quantchat_run_backtest
Queue a historical backtest of a strategy on one instrument.
quantchat_get_backtestread-only
Backtest run status and, when completed, its result metrics.
quantchat_list_backtestsread-only
The user's backtest runs, newest first (compact summary per run).
quantchat_run_backtest_optimization
Queue a bounded parameter search for one strategy version.
quantchat_get_backtest_optimizationread-only
Optimization status, reproducibility settings, best run, and compact ranked trial summaries.
quantchat_list_backtest_optimizationsread-only
The user's optimization runs, newest first, with one best-trial summary each.
quantchat_cancel_backtest_optimization
Cancel an owned queued or running optimization and its unfinished trials.
quantchat_promote_optimization_trial
Save the best or a specified completed trial as an auditable strategy preset.

Indicators and alerts

quantchat_publish_indicator
Publish a new indicator signal graph or a new immutable version onto one you own.
quantchat_get_indicatorread-only
Indicator detail by id, including its current version.
quantchat_list_my_indicatorsread-only
Indicators owned by the authenticated user (any visibility).
quantchat_search_indicatorsread-only
Browse/search PUBLIC, currently-published indicators (the module registry) — no auth required.
quantchat_get_indicator_previewread-only
Evaluate a published indicator version's own graph over recent bars for a symbol/timeframe (chart overlay values).
quantchat_create_indicator_alert
Alert on one output of a pinned indicator version, for one instrument's designated bar series at an intraday timeframe, evaluated on every final bar.
quantchat_list_indicator_alertsread-only
The authenticated user's indicator alerts, active and archived, with each one's evaluation state (evaluated-through bar, armed, current condition, backfill time).
quantchat_get_indicator_alertread-only
One indicator alert you own, with its evaluation state.
quantchat_list_indicator_alert_eventsread-only
An alert's crossings, newest first: BACKFILL (history filled in at creation, never notified), LIVE (notified) and RECONSTRUCTED (found or withdrawn after late or corrected data; condition FALSE means a recorded crossing was withdrawn).
quantchat_archive_indicator_alert
Stop an alert permanently.

Paper accounts

quantchat_list_paper_accountsread-only
The user's simulated PAPER accounts with simulated balances: `isDefault` marks the one default account that bots and agents use when no accountId is given, `unallocatedCash` is the cash not yet allocated to any bot or agent, `withdrawable` is the unallocated cash the account-wide collateral, open orders and unsettled sale proceeds leave free to leave the account, `buyingPower` what the account can open now, `reserved` what open orders and short collateral commit (all computed on the account net position across its allocations), and `allocations` lists the open bots and agents funded from the account with the same terms for their own books.
quantchat_create_paper_account
Open a simulated PAPER account funded with simulated USD on the platform that declares the SIMULATOR execution capability.
quantchat_deposit_paper_funds
Deposit simulated money (never real funds) into a PAPER account from the simulated funding source; it arrives as unallocated cash that bots and agents can be allocated.
quantchat_withdraw_paper_funds
Withdraw simulated money (never real funds) from a PAPER account's unallocated cash back to the simulated funding source; cash allocated to bots or agents must be withdrawn from them first (quantchat_withdraw_from_bot / quantchat_withdraw_from_agent).
quantchat_close_paper_account
Close a PAPER account once every bot and agent in it is closed (quantchat_close_bot / quantchat_close_agent): its remaining simulated cash is redeemed to the simulated funding source and the account stops accepting operations.

Bots and agents

quantchat_create_bot
Create a strategy-backed PAPER-trading bot (simulated funds only — this gateway never places live trades).
quantchat_list_botsread-only
The user's bots with status, profit and lifetime time-weighted return.
quantchat_get_botread-only
Bot detail: status, capital, time-weighted return (`profitPercent`, lifetime) with drawdown from the peak, positions, orders, fills, equity curve and `generations` (each deployment is a performance segment with its own return, max drawdown, P&L and trades).
quantchat_deploy_bot
Deploy saved settings as a new generation.
quantchat_start_bot
Start or resume the retained deployment from its current positions (uses one of the plan's running slots).
quantchat_pause_bot
Pause the bot: decisions stop and every working order is cancelled, protective stops included; positions are kept and marked to market.
quantchat_close_bot
Liquidate positions and sweep the allocation back to the account.
quantchat_archive_bot
Archive an owned bot: it leaves every list, the public catalog, search and the leaderboard.
quantchat_unarchive_bot
Put an archived bot back in the owner's lists and, when its visibility allows, the public ones; it can again be deployed, started and funded.
quantchat_allocate_to_bot
Move unallocated simulated cash from the bot's account into the bot (a durable TRANSFER).
quantchat_withdraw_from_bot
Move the bot's withdrawable cash (its `withdrawable`: cash free of open orders, short collateral and unsettled sale proceeds) back to its account's unallocated cash (a durable TRANSFER); positions are never liquidated.
quantchat_get_trading_operationread-only
Read whether an accepted trading request is pending, running, succeeded or rejected, including its retained result.
quantchat_get_agent_launch_configread-only
Server defaults, presets, interval bounds, risk defaults, and the web-search and scan bounds (`maxWebSearchesPerTick`, `maxScansPerTick`) for agents.
quantchat_create_agent
Create a PAPER-trading agent with explicit goal and risk caps.
quantchat_list_agentsread-only
The user's paper-trading agents with status, model, interval, capital and, once an agent has forecast a prediction market, its `forecastScore` (see quantchat_get_agent).
quantchat_get_agentread-only
Agent detail: status, goal, risk config, model and reasoning effort, prompt, recent scheduler state, the lifetime time-weighted return (`profitPercent`) with drawdown from the peak, and `generations` (each deployment is a performance segment with its own return, max drawdown, P&L and trades).
quantchat_list_agent_forecastsread-only
An agent's prediction-market forecasts, newest first (owner only).
quantchat_update_agent
Edit an agent's settings (owner only); omitted fields keep their values.
quantchat_list_agent_decisionsread-only
An agent's decision ticks, newest first (owner only): what the model decided (`decision`: orders, forecasts and rationale, as JSON), the trading operation that carried its orders (`executed`), or why the tick produced no decision (`error`: a provider failure, an invalid or unfinished answer, an exhausted budget).
quantchat_get_agent_decisionread-only
One decision in full (owner only): the context the model saw (`context`: prices, positions, limits, as JSON), the request (`providerRequest`), its raw answer (`response`) and the provider receipt with token usage and finish reason (`providerReceipt`).
quantchat_deploy_agent
Deploy saved settings as a new generation via a durable operation.
quantchat_start_agent
Start or resume the retained deployment from its current positions (uses one of the plan's running slots) via a durable operation.
quantchat_pause_agent
Pause the agent: decisions stop and every working order is cancelled, protective stops included; positions are kept and marked to market via a durable operation.
quantchat_close_agent
Liquidate positions and sweep the allocation back to the account via a durable operation.
quantchat_liquidate_agent
Liquidate positions; cash stays allocated and the agent stays paused via a durable operation.
quantchat_allocate_to_agent
Move unallocated simulated cash from the agent's account into the agent (a durable TRANSFER).
quantchat_withdraw_from_agent
Move the agent's withdrawable cash (its `withdrawable`: cash free of open orders, short collateral and unsettled sale proceeds) back to its account's unallocated cash (a durable TRANSFER); positions are never liquidated.
quantchat_list_ordersread-only
A paper account's orders across every bot and agent it funded, newest first: status, side, requested and filled quantity, average fill price and the book (`portfolioName`, `portfolioKind`) that holds each order.
quantchat_place_order
Enter one simulated order by hand in the book of a bot or an agent (never a live order).
quantchat_cancel_order
Cancel one working order in the book of a bot or an agent (`id` from quantchat_list_orders).

Watchlists

quantchat_create_watchlist
Create a QuantChat watchlist, optionally with weighted items in one call.
quantchat_list_watchlistsread-only
The authenticated user's watchlists (owned, or ones they subscribed to).
quantchat_get_watchlistread-only
A watchlist with its items, live marks, target weights and implied cash percent.
quantchat_update_watchlist
Rename a watchlist or change its description/visibility.
quantchat_add_watchlist_items
Upsert instrument items into a watchlist: new symbols are appended, existing symbols get their target weight/note replaced.
quantchat_remove_watchlist_item
Remove one item from a watchlist, by symbol.
quantchat_delete_watchlist
Permanently delete a watchlist and all of its items.

Community

quantchat_get_meread-only
The authenticated QuantChat user: handle, display name, email and membership tier.
quantchat_list_communitiesread-only
Public QuantChat communities (the /c/{slug} spaces).
quantchat_list_my_communitiesread-only
Communities the user owns or has joined — where they can post.
quantchat_get_communityread-only
A community by slug (e.g.
quantchat_list_threadsread-only
Threads in a community — useful for reading current discussion.
quantchat_get_threadread-only
A thread with its comments.
quantchat_create_thread
Post a new thread in a community (or as a standalone post when no community is given).
quantchat_create_comment
Reply to a thread (optionally nested under a parent comment).
quantchat_follow_user
Follow or unfollow a user by their user ID.
quantchat_block_user
Block or unblock a user by their user ID.
quantchat_get_relationshipread-only
The user's relationship to another user: whether they follow or block them, and the target's follower count.
quantchat_like_content
Like or unlike a post, thread, or comment by content ID.
quantchat_reshare_content
Reshare or un-reshare a post or thread by content ID.
quantchat_get_notificationsread-only
The user's notification inbox (follows, likes, comments, mentions, achievements) plus the unread count.
quantchat_mark_notifications_read
Mark all of the user's notifications as read; returns how many were marked.

Frequently asked questions

What is the QuantChat MCP server?
A remote Model Context Protocol server at https://mcp.quantchat.com/mcp. It gives an AI assistant tools for market data, strategy creation, backtesting, parameter optimization, indicators, alerts, event studies, watchlists, and paper-trading bots and agents on QuantChat.
Which AI clients can connect?
Any client that supports remote MCP servers over Streamable HTTP, including Claude (claude.ai, Claude Desktop and Claude Code), ChatGPT, Codex, Cursor and VS Code.
Does it place real trades?
No. Every bot, agent, deposit and withdrawal runs on a paper account with simulated money. No tool can place a real order or move real funds.
Which markets does it cover?
US stocks, ETFs and crypto: quotes, historical bars, seasonality and market calendars.
How much does it cost?
Connecting is free with a QuantChat account. Backtests are free within per-user quotas. The paid Pro and Elite plans include compute credits each billing cycle.
How does an agent sign in?
Interactive clients use OAuth: paste the server URL and approve access in the browser. Headless clients send a QuantChat API key as a bearer token.
Do I need to write code to create a strategy?
No. Your AI client turns a plain-English request into a structured strategy intent. QuantChat validates and compiles it, then backtests it or runs it as a paper-trading bot.