Skip to main content
Glama
MyLinedChart Chart Context MCP Server

MyLinedChart Chart Context MCP Server

@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

Tool

Purpose

get_chart_context

Returns 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_candles

Returns the most-recent OHLCV candle bars for the current chart. Fields: timestamp (epoch ms), open, high, low, close, volume. Read-only.

get_drawings

Returns all drawings and price levels for the current chart symbol: trend lines, horizontal levels, note labels, and other overlays. Read-only.

get_indicators

Returns the configured indicators for the current chart: name, calculation parameters, placement (main/lower), and visibility. Does NOT include series data. Read-only.

get_provider_status

Returns 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.

Related MCP server: tradingview-mcp

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

Available Tools

5 tools
get_candlesA

Returns the most-recent OHLCV candle bars for the current chart. Fields: timestamp (epoch ms), open, high, low, close, volume. Read-only.

Inputs: limit.

get_chart_contextA

Returns 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.

Inputs: no named parameters.

get_drawingsA

Returns all drawings and price levels for the current chart symbol: trend lines, horizontal levels, note labels, and other overlays. Read-only.

Inputs: no named parameters.

get_indicatorsA

Returns the configured indicators for the current chart: name, calculation parameters, placement (main/lower), and visibility. Does NOT include series data. Read-only.

Inputs: no named parameters.

get_provider_statusA

Returns 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.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of chart data (candles, context, drawings, indicators, provider status) with no overlap, making it easy for an agent to select the correct tool.

    Naming Consistency5/5

    All tools follow a consistent 'get_<noun>' pattern, using snake_case and clear noun phrases that match their function. No deviations.

    Tool Count5/5

    5 tools is well-scoped for a read-only chart context server. Each tool serves a clear purpose without excess or redundancy.

    Completeness5/5

    The set covers all major read-only aspects of chart context: price data (candles), overall context, drawings, indicators, and provider status. No obvious gaps for its intended purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to read and control TradingView Desktop charts in real time, supporting chart analysis, Pine Script development, alerts, replay practice, and multi-pane automation.
      92 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides AI agents with a TradingView-centric toolkit for screener queries, historical FX data, pattern scanning, chart rendering, backtesting, Pine tooling, and optional account/desktop integration.
      6
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to read live price, VWAP, and volume-profile snapshots from a running charting platform via local tools.
      1
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to connect to a locally running TradingView Desktop app to analyze charts, develop Pine Scripts, navigate symbols and timeframes, draw annotations, manage alerts, and automate chart workflows.
      92 npm
      -