Lab · October 2026

How to connect Claude (or any AI) to NinjaTrader 8 with no risk of it touching your orders

An AI that reads your accounts, history and strategies, with three layers that make trading impossible. Free and running on your PC.

You can let an AI read your NinjaTrader 8 accounts, history and strategies without giving it any way to send an order. It isn't a checkbox you have to remember to untick: the code to trade simply doesn't exist.

Why connect an AI to NinjaTrader

Questions like "what time of day do I lose the most money?", "how far am I from the trailing drawdown on each account?" or "what exactly does this strategy I downloaded do?" have answers in your NinjaTrader data. The hard part is getting it out: exporting, cleaning, cross-referencing. A connected AI can do it for you in seconds, in plain language.

The connection uses MCP (Model Context Protocol), an open standard that lets AI apps use external tools. Claude, Copilot in VS Code, Cursor, Gemini CLI, Codex CLI or a local model with Ollama all speak MCP.

The reasonable fear

An AI with access to your trading platform should not be able to trade. Models make mistakes, misread a sentence or follow instructions hidden in a file. If a tool can send orders, sooner or later someone will use it when they shouldn't. That's why we designed NT8-MCP Lite the other way around: first, make trading impossible; then, everything else.

How it's built

The three layers that make trading impossible

  1. The MCP server has no order tools. The AI can't ask for what doesn't exist.
  2. The local client rejects any order command before it leaves the PC.
  3. The AddOn inside NinjaTrader contains no order code; legacy commands answer "BLOCKED".

All three would have to fail at once for anything to reach the market, and none of them has the code needed to do it.

What your AI can read (37 tools)

Install in 5 minutes

  1. You need Windows 10/11 with NinjaTrader 8 and Python 3.10 or later.
  2. Download NT8-MCP Lite from GitHub ("Code" → "Download ZIP"), unzip it and double-click Instalar.cmd: it creates its own Python environment, writes a random local token, installs the AddOn and registers the server in every AI app it finds.
  3. In NinjaTrader: New → NinjaScript Editor → F5 (or restart NinjaTrader). If NinjaTrader is open with positions, the installer doesn't touch the AddOn until you're flat.
  4. Restart your AI app and ask: "Run nt8_status".

What to ask it

Lite and Pro

What's includedLite (free)Pro
Tools37, all read-only88 (they also write code with backups and trade in simulation)
Accounts, history, prices, codeYesYes
Monte Carlo of your trades and prop firm account simulation—Yes
Timeline of every order and the reason for each rejection—Yes
Backtest vault and fast rule-based engine—Yes
Orders on live accountsImpossibleImpossible

Pro also has a practice mode that can only trade NinjaTrader simulation accounts; on live accounts it's still impossible.

Want to start now? NT8-MCP Lite is free and open source: download it from GitHub (more details on the NT8-MCP page).

Good to know

NT8-MCP is a tool, not an advisor: the AI can misread your data, so double-check anything important in NinjaTrader. Your data doesn't leave your PC through NT8-MCP, but whatever you write to your AI app follows that app's terms: if you use a cloud service, your questions and its answers travel to it; with a local model, they don't.

Educational content based on our own experience. Not investment advice. Firm rules change: check them on each firm's website. This article contains no affiliate links.