AI trading journal: ask Claude about your own trades

From version 26.2 TradingDiary Pro has a built-in MCP (Model Context Protocol) server. AI assistants such as Claude Desktop and Claude Code can read the diary you have open and answer questions in plain English – calculated from your real trades, positions, cash transactions and equity, not from guesses. The server runs only on your own PC, is read-only and protected by a secret token.

Questions you can ask

How it works

  1. TradingDiary Pro serves your diary. The MCP server starts automatically with the application and listens on 127.0.0.1 (your own PC only). You copy its access token from Tools > Options > MCP server.
  2. Claude connects to it. In Claude Desktop you add a short entry to the configuration file; a free bridge (mcp-remote, runs on Node.js) connects Claude to the local server. Claude Code and other MCP clients connect the same way.
  3. You ask, Claude queries. When a question needs your data, Claude calls one of the server's tools, receives only the matching records and builds the answer from the real numbers.

The full step-by-step setup with the configuration snippet is in the MCP server guide.

What Claude can read

DataWhat it contains
AccountsEvery trading account in the open diary
TradesIndividual executions with instrument, account, price, quantity and commission
PositionsRound-trip positions with realized PnL, commission, risk, R multiple, MAE/MFE, tags and option strategy legs
Open positionsPositions you still hold, valued at the last price stored in the diary
Cash transactionsDividends, interest, fees, withholding tax, deposits and withdrawals
EquityThe points of your equity (net asset value) curve

Claude reaches this data through 11 tools that all accept the same filters: accounts, date range, sort order and paging. The numbers come from the same calculations TradingDiary Pro uses in its own views, so Claude's answers match what you see in the application, and every amount carries its currency.

Private and secure by design

  • Local only: the server listens only on 127.0.0.1. It cannot be reached from your network or the internet, whatever your firewall settings are.
  • Token protected: every request must carry a secret access token; requests from web pages in your browser are rejected.
  • Read-only: none of the tools can add, change or delete anything in your diary.
  • No file paths: the server tells Claude the name of the open diary, but not where it is stored on your disk.

Be aware that the records returned for a question are sent to the AI provider as part of the conversation – just as if you had pasted them into the chat yourself. Only the records needed for that question are sent, never your database file. Your journal itself stays on your own PC.

Why not just upload a CSV to a chatbot?

  • Always up to date: import your latest broker statement and the new trades are available to Claude immediately – no exports, no second copy that goes stale.
  • Positions, not raw fills: Claude works with the positions, option strategies, R multiples and MAE/MFE values TradingDiary Pro has already calculated, instead of rebuilding them from a spreadsheet.
  • Only what is needed: each question sends a filtered set of records, not your whole trading history.

Frequently asked questions

Which AI assistants work with TradingDiary Pro?

Any MCP client that runs on the same PC as TradingDiary Pro, for example Claude Desktop and Claude Code. MCP (Model Context Protocol) is an open standard, so other MCP-compatible AI tools and agents can connect the same way.

Can I use it with ChatGPT?

Not directly. ChatGPT connectors run in the cloud and cannot reach a server that listens only on your own PC. Use a local MCP client such as Claude Desktop or Claude Code.

Is my whole trading journal sent to the AI provider?

No. The database file never leaves your PC. When you ask a question, Claude requests only the records it needs (for example the positions of one year), and those records become part of the conversation with the AI provider.

Can the AI change or delete my trades?

No. The MCP server is read-only: none of its tools can add, modify or delete anything in your diary.

Which version do I need and does it cost extra?

The MCP server is built into TradingDiary Pro 26.2 and later and has no extra cost. TradingDiary Pro must be running with your diary open while you ask Claude questions.

Purchase process

Activate the trial version and become a better trader!