MODEL CONTEXT PROTOCOL (MCP)

Your AI can codify your trading rules for you.

It can also do all the technical analysis for you, too.

Tell Claude or Codex what you want in natural language: add trendlines and notes, create custom indicators, or anything else you can dream of.

Draw yesterday's high and low on QQQ2 levels drawn
Add an indicator: 20-day minus 50-day SMAcustom line renders
Set ES to the 5-minute, regular sessionview updates
Box the overnight range and label itzone + note added
Export my drawings, notes, and chart contextexported to XLSX, CSV, or JSON

Setup

  1. After signup you'll download the app.
  2. Add the AI connector:
true one-clickClaude Desktop

Download the installer and double-click. No terminal, no config.

Download and Install
one commandCodex

Paste one command in your terminal.

codex mcp add mylinedchart -- npx -y @mylinedchart/mcp-chart-context
Full steps
one clickCursor

In the app, click Add to Cursor. Cursor opens and asks to add the server.

or add the config to ~/.cursor/mcp.json
Full steps
one clickGitHub Copilot (VS Code)

In the app, click Add to VS Code. VS Code opens and adds MyLinedChart to Copilot.

or add the config to .vscode/mcp.json
Why the config key differs

The MCP server ships as the @mylinedchart/mcp-chart-context npm package. For any other config-based MCP client, add:

{ "mcpServers": { "mylinedchart": { "command": "npx", "args": ["-y", "@mylinedchart/mcp-chart-context"] } } }

VS Code is the exception. Its .vscode/mcp.json wraps the same server under servers, not mcpServers. Paste the block above into VS Code and it parses without complaint, then ignores the server:

{ "servers": { "mylinedchart": { "command": "npx", "args": ["-y", "@mylinedchart/mcp-chart-context"] } } }

Listed on the official Model Context Protocol registry, com.mylinedchart/chart-context

Then just say…

Draw & edit the chart

The write tool. Draws the full toolkit (trend lines, rays, segments, Fibonacci, rectangles, text notes), configures built-in or custom formula indicators, or sets the symbol/timeframe/chart type/range/session. Every change confirmation-gated. Never an order.

Export data

Export to Excel (XLSX) or CSV for your review and journaling, or JSON for automation or workflow integration.

Create custom indicators

Invent a custom formula indicator from a natural-language description.

Get chart context

Symbol, timeframe, range, provider, connection state, and candle/drawing/indicator counts.

Pull candles

Up to 2,000 recent OHLCV bars for the current chart.

Get drawings

All drawings and price levels on the current symbol.

Get indicators

Configured indicators: name, parameters, placement, visibility.

Check connection status

IBKR connector + market-data status. Never exposes credentials.

Pull trades

The session's executed fills as chart markers (IBKR).

Get all-symbol drawings

Drawing counts and labels across every symbol in the workspace.

Take a screenshot

A PNG of the live chart view, exactly as rendered.

FAQ

AI access questions, answered

What is the MyLinedChart MCP server?

A direct connection that gives your AI agent your live chart context, candles, drawings, indicators, and trades, plus one confirmation-gated tool for drawing on the chart. It ships as an npm package and is listed on the official Model Context Protocol registry.

Is there an MCP server for trading?

MyLinedChart is a chart-context MCP server for trading. It gives your AI your live chart, candles, drawings, indicators, and trades, over the Model Context Protocol, with one confirmation-gated tool to draw back. It reads and marks up your chart for analysis and journaling; it never places orders or touches your brokerage account.

Is there an IBKR MCP server?

Yes. Connect Interactive Brokers locally with your own keys and MyLinedChart gives your IBKR chart context to your AI agent over MCP. The same works for Schwab, Alpaca, and other providers. Credentials stay on your device, and the connection is chart-context only, never order placement.

Which AI agents work with MyLinedChart?

Claude Desktop installs with a double-click. No terminal, no config. Cursor is one click from inside the app. Claude Code and Codex connect with one command, and any other MCP-capable client works with a short config entry.

Can the AI place trades or touch my brokerage account?

No. The connection is chart-context only. The single write tool draws and configures charts, every change is confirmation-gated, and it can never place an order or touch your account.

What can my AI actually do on my chart?

Read your candles, drawings, indicators, and trade history; draw the full toolkit, trend lines, rays, Fibonacci, rectangles, and notes; create custom formula indicators from a plain-language description; set symbol, timeframe, or chart type; and export XLSX, CSV, or JSON. You confirm every change.

Do I need to code to set this up?

No. Claude Desktop is a double-click install, and other clients take a single copy-paste command. After that you just talk to your AI.

Does my data stay private?

The connection runs locally next to the app, and your broker credentials never leave your device. Chart context is only shared with the AI agent you choose to connect and ask.