🥷 I connected Claude AI to NinjaTrader 8 in real time

Hey everyone,

I’ve been experimenting with connecting Claude Code (Anthropic’s AI) directly to NinjaTrader 8 via a custom MCP server, and I finally got it working end-to-end on Windows.

What it does:
:white_check_mark: Claude reads your open charts in real time (OHLCV data)
:white_check_mark: Gives you technical analysis in plain language
:white_check_mark: Reads your account balance, positions and orders
:white_check_mark: Can place and cancel orders directly from the terminal

How it works:
I built two NinjaScript components from scratch:

  • McpBridgeAddon — an HTTP server (port 7890) that runs inside NinjaTrader as an AddOn
  • QMcpChartIndicator — an indicator you add to each chart, which feeds live OHLCV data to the AddOn via shared memory

Then a Node.js MCP server connects Claude Code to the AddOn using the Model Context Protocol.

I made a full video walkthrough (in Spanish, but the code and setup are universal):
:backhand_index_pointing_right: youtube /watch?v=rGbYLrL105A
or Search : Conecté Claude AI a NinjaTrader 8 y esto pasó… :exploding_head: (nadie lo ha hecho en español).

Happy to answer any questions . This is early stage but fully functional — tested with MES futures.

— Tadeo / @Shinobi_Traders

1 Like

Are you profitable? Are you making moolah??!!

2 Likes

EXACTLY! This is the bottom line. Are you making money.
More complexity often doesn’t translate into higher profits.

2 Likes

Hi Tadeo! Amazing work connecting Claude to NinjaTrader. I have everything set up — Node.js, the MCP server, Claude Desktop is recognizing NinjaTrader — but I’m missing the McpBridge AddOn zip file to install in NinjaTrader 8. Could you please share the download link? Thank you so much!

This is overengineered. LLMs are non-deterministic. Same candles, different answers. That is dangerous for execution.

You don’t need the MCP server at all. You can make it much simpler, but honestly it does not even make sense for trading.

A basic Java Spring Boot service does the same thing. NT8 sends candle data to RabbitMQ. Spring Boot picks it up and calls the Claude API directly. Parse the response and send the signal back to NT8.

No Node.js. No MCP layer. Just a direct API call. Way less moving parts.

1 Like