AIAny
Icon for item

TradingView MCP Bridge

Bridges an LLM assistant to your locally running TradingView Desktop via Chrome DevTools Protocol for AI-assisted chart analysis, Pine Script development, and UI automation. Key features: Claude Code MCP integration, a JSON/CLI 'tv' toolset, local-only operation and streamable chart data.

Introduction

Most research and tooling for LLM agents assume web APIs or server-side data access; this project instead asks a practical question: how do you give an LLM safe, deterministic "eyes and hands" on a stateful desktop trading UI without sending market data off your machine? The answer implemented here is a local MCP server that translates TradingView Desktop state and controls into a compact toolset an LLM (e.g., Claude Code) can call.

What Sets It Apart
  • Local-only CDP bridge: communicates exclusively with a locally running TradingView Desktop instance over Chrome DevTools Protocol (Electron debug port), so no TradingView network traffic or market data is forwarded externally. This keeps data residency under the user's control while enabling agentic workflows.
  • Purpose-built MCP toolset: exposes ~78 MCP tools (and a pipe-friendly tv CLI) that map common chart workflows—symbol/timeframe control, indicator reads, Pine Script inject/compile, drawing, alerts, replay mode—into small JSON outputs sized to limit LLM context usage.
  • Agent-first integration: designed to be added to Claude Code's MCP config out-of-the-box; includes a decision tree (CLAUDE.md) so the agent selects compact calls (e.g., data_get_study_values, capture_screenshot) rather than dumping full UI state.
  • Streaming and context management: offers JSONL streaming, deduplication, and summary modes (OHLCV summary, capped labels) to keep the LLM's context budget practical for real-time monitoring and analysis.
Who It's For & Tradeoffs

Great fit if you are a developer or researcher exploring human–AI collaboration on financial charts and you can run TradingView Desktop locally with a paid subscription. It is especially useful for prototyping agent workflows (chart reading, Pine iteration, visual analysis) and for integrating Claude Code MCP agents into a desktop environment. Look elsewhere if you need server-side market data aggregation, want an official TradingView API integration, or expect guaranteed stability across TradingView updates—this tool depends on undocumented internal Electron interfaces and the debug port, so TradingView upgrades can break compatibility. Also, it explicitly does not execute real trades or bypass any exchange/data licensing.

Where It Fits

This project is a tooling layer between LLM agents and desktop financial UIs: not a trading bot or data reseller, but an interface for research into latency, ambiguity, UI-state interpretation, and agent failure modes when operating on live chart data.

Practical notes

Requires TradingView Desktop with --remote-debugging-port enabled, Node.js 18+, and a valid TradingView subscription for real-time data. Source code is MIT-licensed; the repository recommends pinning TradingView Desktop versions for stability and includes a detailed disclaimer about Terms of Use and user responsibility.

Information

  • Websitegithub.com
  • Organizationstradesdontlie
  • Published date2026/03/29

More Items

GitHub

Indexes full text of visited web pages and local files on a self‑hosted server so you can search your personal knowledge from a web UI, terminal, CLI, or an AI assistant. Runs without mandatory telemetry, offers a browser extension for automatic capture, and supports optional semantic search via a configurable embeddings endpoint.

GitHub

A read-only mirror of Anthropic's community plugin marketplace for Claude Cowork and Claude Code, listing vetted third-party plugins in a nightly-synced marketplace.json. Intended for discovering and installing community plugins via the Claude plugin system.

GitHub

Lets AI agents discover and run Apify Actors as MCP tools for web scraping and automation; supports OAuth/Streamable HTTP, dynamic tool discovery, output-schema inference, and agentic payments (AGI, x402, Skyfire) so agents like Claude, ChatGPT, or VS Code can call ready-made scrapers and automations.