MODEL CONTEXT PROTOCOL (MCP)

Your AI can codify your trading rules for you.

Your AI can also do all the technical analysis for you.

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 QQQ”2 levels drawn
“Add an indicator: 20-day minus 50-day SMA”custom line renders
“Set ES to the 5-minute, regular session”view updates
“Box the overnight range and label the box”zone + note added
“Export my drawings, notes, and chart context”exported to XLSX, CSV, or JSON

Setup

  1. After signup you'll download the app.
  2. Add the AI connector:
local extensionClaude Desktop

On Windows, prepare the connector from MyLinedChart’s AI connections, then import the saved .mcpb in Claude Settings → Extensions → Advanced settings → Install Extension. On Mac, the app opens the extension in Claude Desktop.

Download connector (.mcpb)
pluginChatGPT

Add the MyLinedChart plugin in ChatGPT.

Open the ChatGPT plugin
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 direct connection 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. The .vscode/mcp.json file wraps the same server under servers, not mcpServers. Paste the block above into VS Code and VS Code parses the block 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 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.

Push AI headlines

Want your AI's take on the news? Ask your AI for headlines around a date on your chart and your AI can add them to the AI Headlines indicator. Confirmation-gated, labeled as coming from the AI, never a clickable link.

Answer in the chart's AI chat

No API key in the app? Ask in the chart's AI chat and the chat hands you a ready prompt for your AI. Your AI answers back into that chat, after you approve the answer. Explanations only, never advice or orders.

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.

MyLinedChart does not guarantee the accuracy of AI responses. Check anything important before relying on it.

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 confirmation-gated tools for drawing on the chart and pushing AI-sourced headlines. The connection ships as an npm package and is listed on the official Model Context Protocol registry.

Is there an MCP server for trading?

MyLinedChart gives your AI a direct, chart-context connection for trading. The connection hands your AI your live chart, candles, drawings, indicators, and trades, over the Model Context Protocol, with confirmation-gated tools to draw back and push AI-sourced headlines. MyLinedChart reads and marks up your chart for analysis and journaling; MyLinedChart 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 a local .mcpb extension. If opening the file does not work, use Claude Settings > Extensions > Advanced settings > Install Extension. Cursor connects 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 write tools draw and configure charts (and push AI-sourced headlines), every change is confirmation-gated, and the connection 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. Install the Claude Desktop extension from MyLinedChart’s AI connections or Claude Settings. Other clients take a single copy-paste command. Start a new chat after installation.

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.