AI access
Let your own AI agent read your journal, analytics, account and positions through a read-only MCP server.
Let your own AI agent read your trading data.
With AI access on, an AI agent you use, such as Claude Desktop or Claude Code, can read your Spectral journal, analytics, account, positions and active trades and answer questions about them. Spectral provides this as a local MCP server.
What an agent can and cannot do
An agent can read your journal (trades, notes and tags), performance analytics, account balances, positions and active trades. It gets 15 read-only tools for this.
Access is read-only. An agent can never place, change or cancel orders, and it cannot edit your journal, your settings or anything else in Spectral.
Included with every license
AI access works with every active Spectral license: Lite, Core, Plus and Pro.
Turn it on
Open Settings, select API & System and switch on AI access (MCP) in the AI access card. The first time, Spectral must be connected to IBKR. Selecting the AI access chip in the top bar opens this card too.
After you have used it once, one click on the AI access chip in the top bar turns it on or off. You can also turn it on or off from the login screen, without connecting to IBKR.
Connect your agent
While access is on, the card shows the agent config. Select Copy config and paste it into your agent's MCP settings, for example in Claude Desktop, Claude Code, Cursor or another MCP client. If your agent already lists other servers, add only the "spectral" entry inside mcpServers.
The config starts Spectral's own backend with the --mcp-stdio argument. Always copy it from the card: the path in it belongs to your installation.
On macOS, move Spectral to the Applications folder first. Otherwise the path changes on every start and Spectral does not offer the config.
What needs IBKR
Journal and analytics, whenever Spectral runs, also while it is disconnected from IBKR. Spectral must have connected to IBKR once so it knows your account.
Account balances, positions and active trades.
Where your data goes
Your agent may send the data it reads to its AI provider's servers, for example Anthropic or OpenAI. That provider is your choice, and Spectral cannot control what happens to the data there.
Spectral masks your IBKR account numbers for agents (for example U***4567) and leaves out order ids.
Other programs on this computer
While access is on, Spectral keeps a read token in a file in its data folder so your agent can read. Any program on this computer that can read that file can call the same 15 read-only paths as your agent. It gets the data unmasked, with full account numbers and order ids. It cannot place, change or cancel orders or change anything.