com.mylinedchart/chart-context

Read-only MCP server: AI agents read your live MyLinedChart desktop chart context. Local, IBKR.

AI & MLJavaScriptv0.1.1

@mylinedchart/mcp-chart-context

Read-only MCP server giving AI agents read-only access to your live MyLinedChart desktop chart and workspace context. Requires the MyLinedChart desktop app. Full docs: mylinedchart.com/mcp

Tools

ToolPurpose
get_chart_contextReturns the current MyLinedChart chart and workspace summary: symbol, timeframe, range, provider, connection state, feed type, candle/drawing/indicator counts, diagnostics ID, and data freshness. Read-only.
get_candlesReturns the most-recent OHLCV candle bars for the current chart. Fields: timestamp (epoch ms), open, high, low, close, volume. Read-only.
get_drawingsReturns all drawings and price levels for the current chart symbol: trend lines, horizontal levels, note labels, and other overlays. Read-only.
get_indicatorsReturns the configured indicators for the current chart: name, calculation parameters, placement (main/lower), and visibility. Does NOT include series data. Read-only.
get_provider_statusReturns IBKR connector and market-data provider status: connection state, MarketDataStatus code, feed type (delayed/live), diagnostics ID, and last-updated. Never exposes account IDs, credentials, or bridge URLs. Read-only.

Privacy & safety

  • Read-only. No mutations, no order entry, no trading.
  • Local. The server runs on your machine alongside the desktop app. Nothing leaves your machine.
  • Redacted. Account IDs, credentials, bridge URLs, and session tokens are stripped before any context is returned.

Install

npm install -g @mylinedchart/mcp-chart-context

Node 18 or later required.

Usage

Add to your AI agent's MCP config (claude_desktop_config.json or ~/.claude/settings.json):

{
  "mcpServers": {
    "mylinedchart": {
      "command": "mlc-mcp"
    }
  }
}

Then:

  1. Download and open the MyLinedChart desktop app (mylinedchart.com/resources/downloads).
  2. Enable the MCP server in-app (Settings → MCP).
  3. Load a chart. Your AI agent can now call the five read-only tools above.

Override the context file path

MLC_CONTEXT_FILE=/custom/path/agent-context.json mlc-mcp

Links

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @mylinedchart/mcp-chart-context

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

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

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@mylinedchart/mcp-chart-contextnpm

Compatible MCP Clients

com.mylinedchart/chart-context works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More