All docs

Assistant and AI access (MCP)

Ask the in-app assistant about your strategies, or connect your own AI client to your account with an access token.

QuantRaider has two ways to ask an AI about your trading work. The assistant is a chat inside the app that answers questions about the page you are on and about your strategies. AI access (MCP) lets an AI program you already use, such as Claude Code or Cursor, work with your QuantRaider account directly.

The assistant

Where it is

On every page you see while signed in, a round Assistant button sits in the bottom-right corner. Choose it to open the chat. Choose New chat in the panel header to start over and Close assistant to hide the panel. Press Enter to send a question and Shift+Enter for a new line.

The panel shows a few starter questions for the page you are on. The conversation is kept in your browser for the current tab. Each question sends your most recent messages along, up to 24.

What it knows

The assistant knows two things.

  • What the page shows. When you send a question, the page you are on shares what it currently displays: the selected strategy, the settings and the figures. This is why "this" and "my win rate" work. Pages that share their content are the strategy dashboard, the strategy workspace, Analysis, Auto backtest, AI training and the graph editor. On other pages the assistant knows only which page you are on. Nothing from the page is sent until you send a question.
  • Your account's data. It can look up your strategies and their saved configurations, your graphs, the markets, the state of an auto backtest, analysis statistics, your AI models and your plan. It uses these look-ups when the page does not already answer the question, for example to compare two strategies.

It can also calculate: a strategy's metrics from a win rate, a reward-to-risk ratio and a number of trades, and the position size for a trade.

It does not know live prices, news or anything outside your QuantRaider account.

Your question, the page content and the look-up results are sent to the AI provider that writes the answer.

Example questions

Where you are Questions that work
Analysis Is this edge real? What does the test period say? How much should I risk per trade?
Dashboard Which strategy is doing best? Which strategy should I look at next?
Auto backtest Which configuration looks most robust? Am I overfitting these settings?
AI training Is this model better than the strategy alone? Which features matter most?
Graph editor What does this graph do? How do I add a stop loss?
Billing What does my plan include? Which plan fits how I trade?
Account How do I connect Claude to my account? What does my risk tolerance mean?

You can also ask general questions, such as what expectancy or a t-score means. It answers in the language you write in.

What it will not do

The assistant only reads and calculates. It cannot create or change strategies or graphs, start an auto backtest or AI training, save anything, or touch brokers, orders and live trading. When you ask for one of these, it tells you where in the app to do it. To have an AI do such work for you, connect your own AI client with AI access (MCP), described below. To get a graph proposed in the editor, use the graph assistant.

It stays on QuantRaider and your trading statistics. It declines unrelated requests. Treat the names of strategies and graphs as plain labels: it does not follow instructions hidden in them.

Daily questions

Your plan sets how many questions you can ask per day. The count resets at midnight UTC. When you have 5 or fewer left, the panel shows how many are left under the message box. When you reach the limit, the message box is disabled and the panel says you have used all of today's questions. You can ask again after the reset. Plan limits can change. See Plans and billing and the pricing page.

Other messages you may see:

  • A notice that your plan does not include the assistant, with a See plans link.
  • The assistant has answered as many questions as it can today. Please try again tomorrow. The service as a whole reached its own daily ceiling.
  • The assistant is busy right now or temporarily unavailable. Try again in a moment. A question that failed before any answer text appeared does not count against your day.
  • I stopped looking things up here. The assistant makes a limited number of look-ups per question. Ask again more narrowly.

How far to trust it

The assistant explains your figures and weighs the evidence: few trades, many tried variants, a test period that disagrees with the research period or a low t-score are reasons for doubt, and it says so. Its numbers come from your backtests on past data. Recommended risk, drawdown estimates and AI model advice are estimates. It can still misread a figure or a question. Check important numbers on the page itself, and make your own decisions about trading.

AI access (MCP)

MCP (Model Context Protocol) is a standard way for an AI program to use outside tools. With AI access, you create a personal access token in QuantRaider and give it to your AI client. The client then reads and builds in your account through a fixed set of tools: strategies, graphs, auto backtests, analysis and AI models.

You need a plan that includes AI access. Without one, the AI access (MCP) card on the Account page shows Upgrade to connect AI tools. Plan details change, so check the pricing page or Account > Billing.

Connect a client

  1. Open the Account page. Choose your name at the bottom of the sidebar.
  2. Find the card AI access (MCP). Its Server URL is the address your client connects to. It ends in /mcp. Copy it with Copy server URL.
  3. Under Access tokens, choose New token. Enter a name that tells you where you will use it, for example Claude Code on my laptop, and choose Create token. The name can have up to 60 characters.
  4. The dialog shows the token once under Token (shown only once). Copy it now. After you choose Done, QuantRaider cannot show it again.
  5. In the same dialog, choose your client and copy the setup text. The dialog fills in your real server URL and token.

For Claude Code, the dialog shows this command (the dialog names the server in lower case; the name is only a label and you can choose either). Replace SERVER_URL and YOUR_TOKEN with your own values, or copy the command from the dialog, which has them filled in:

claude mcp add --transport http QuantRaider SERVER_URL --header "Authorization: Bearer YOUR_TOKEN"

For Other clients, the dialog shows this configuration, with the same two placeholders filled in. Add it to the client's MCP settings:

{
  "mcpServers": {
    "QuantRaider": {
      "type": "http",
      "url": "SERVER_URL",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

This works for clients that can connect to a remote (HTTP) MCP server and send an Authorization: Bearer header, for example Cursor. The exact place for this configuration differs between clients. Check your client's documentation for how to add a remote MCP server with a header. Connections that only offer a sign-in window (OAuth), such as web connectors in some chat apps, are not supported yet.

After connecting, ask your client to list your QuantRaider strategies. If it can, the connection works. The token row on the Account page then shows the date it was last used.

You can have a limited number of tokens at a time. When you reach it, New token is disabled. Revoke one you no longer use.

What a connected client can do

The tools your client sees depend on your plan. Tools that change something are offered only through AI access, not in the in-app assistant. Your client normally asks you before it runs one.

Strategies and graphs

  • List your strategies, and read one in detail: its stop losses, take profits, indicators, saved configurations, linked graphs and how many backtest trades it has.
  • Create an empty strategy.
  • Save an analysis configuration (one stop loss and one take profit, without filters) for a strategy.
  • Read the catalogue of nodes that graphs are built from.
  • List and read your graphs and the published and built-in ones.
  • Create a graph from a complete description. QuantRaider checks it against the node catalogue and rejects it with a reason if something is wrong, and then saves nothing.
  • Replace the content of one of your own graphs. This sends the whole new graph, so the old content is overwritten. The AI should read the graph first.
  • Link a trading graph to a strategy, or remove that link. Unlinking does not delete the graph, the strategy's trades or its stop losses and take profits.

Auto backtests

  • List the markets and timeframes you can use.
  • Start an auto backtest for a strategy over a date range. It continues on the server and can take minutes. A strategy has one run at a time. Starting one adds trades to the strategy and needs a plan that includes automated backtesting.
  • Check the progress of the newest run, or cancel it. Trades already saved stay.

Analysis

  • Read the analysis statistics of your strategies per saved configuration, including the test period and how many variants were tried. Reading them does not count as a tried variant or a look at the test period.
  • Read the random twin result of a configuration, if an auto backtest ran one.

AI models and trade advice

  • Read the state of a strategy's AI model: the training job, the current model and saved models.
  • Start training a model, and save a trained model under a name. Both need a plan that includes AI model training. Plans also limit training runs.
  • Read how a model did on the held-back test trades compared with the saved configuration.
  • Ask the trained model about one trade signal of your strategy. The answer says whether to take it, how much to risk and which stop loss and take profit to use, or which inputs are missing. Nothing is traded.

Calculators

  • Strategy metrics from a win rate, a reward-to-risk ratio and a number of trades. This reads none of your data.
  • Position size for a trade from the account balance, the risk, the entry and the stop loss.

What a connected client cannot do

  • It cannot place, change or close orders, and it has no access to your linked broker accounts or live trading.
  • It cannot delete strategies, graphs, trades or models. There is no delete tool. It can overwrite one of your graphs with new content, add trades through an auto backtest, and cancel a run.
  • It cannot see other users' data. Every call runs with your identity and your plan's limits.
  • It cannot change your account, your plan, your billing or your tokens.

An AI client can still make mistakes. It may build a graph that does not do what you meant, or describe results too optimistically. Check what it created in the app, and do not treat a backtest result as proof of an edge.

Keep your token safe

  • QuantRaider shows a token once. Copy it into your client straight away. If you lose it, create a new one.
  • Treat it like a password. Anyone who has it can use the tools above on your account: read your strategies and statistics, create and replace graphs, and use your auto backtest and AI training allowance, within your plan's limits. Do not share it, paste it into chats or commit it to a code repository.
  • Give each place its own token and name, so you can revoke one without breaking the others. The list on the Account page shows each token's name, its first characters, the date it was created and the date it was last used.
  • To revoke a token, choose the bin icon next to it on the Account page and confirm Revoke. Clients using it lose access at once. This cannot be undone.
  • If a token may have leaked, revoke it first, then create a new one.

Troubleshooting

What you see What it means and what to do
Send a QuantRaider access token as 'Authorization: Bearer' followed by the token. Create one in the app under Account > AI access. (HTTP 401) The request had no token, or the token is wrong or revoked. Check that the header is Authorization: Bearer followed by the token with nothing added, that you copied the whole token, and that it still appears on the Account page. Otherwise create a new one.
This QuantRaider plan does not include AI access (MCP). Upgrade under Account > Billing. (HTTP 403) Your current plan does not include AI access. See Plans and billing.
Your plan could not be verified. Please try again. (HTTP 503) QuantRaider could not read your plan at that moment. Try again shortly.
The user's plan (...) does not include this. They can upgrade under Account > Billing. The connection works, but this tool needs a feature your plan does not include, for example automated backtesting or AI model training. Other tools keep working. Ask your client to read your plan, or check the pricing page.
Too many tool calls in a minute. Wait a moment and continue. A limit on how many tool calls you can make per minute. Wait a minute and let the client continue.
Invalid input. with a list of problems The client sent a tool a value in the wrong form. Ask it to correct the input and try again.
Not allowed: this does not belong to the user, or it does not exist. The client used an id that is not yours or no longer exists. Ask it to list your strategies or graphs again.
This strategy already has an auto backtest that waits or runs. A strategy has one run at a time. Wait for it to finish, or cancel it.
The answer is too large. Ask for fewer items or a narrower range. Ask for fewer strategies or a smaller range.
The platform took too long to answer, could not be reached, or The tool failed unexpectedly A temporary problem. Try again in a moment.
You can have at most ... access tokens. Revoke one first. You have reached the token limit. Revoke a token you no longer use.

If a tool reports a limit of your plan, such as the number of strategies or saved configurations, the message names it. Delete what you do not need in the app or change your plan.