tradesdontlie /tradingview-mcp
AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation
★ 7,200⑂ 2,910👁 107⑃ 431● 129▤ 0
+11
Daily
+134
Weekly
+406
Monthly
7,200
stars
2,910
forks
107
watchers
431
prs
129
issues
0
releases
README
TradingView MCP Bridge Personal AI assistant for your TradingView Desktop charts. Connects Claude Code to your locally running TradingView app via Chrome DevTools Protocol for AI-assisted chart analysis, Pine Script development, and workflow automation. [!WARNING] This tool is not affiliated with, endorsed by, or associated with TradingView Inc. It interacts with your locally running TradingView Desktop application via Chrome DevTools Protocol. Review the Disclaimer before use. [!IMPORTANT] Requires a valid TradingView subscription. This tool does not bypass or circumvent any TradingView paywall or access control. It reads from and controls the TradingView Desktop app already running on your machine. [!NOTE] All data processing occurs locally on your machine. No TradingView data is transmitted, stored, or redistributed externally by this tool. [!CAUTION] This tool accesses undocumented internal TradingView APIs via the Electron debug interface. These can change or break without notice in any TradingView update. Pin your TradingView Desktop version if stability matters to you. How It Works (and why it's safe to run) This tool does not connect to TradingView's servers, modify any TradingView files, or intercept any network traffic. It communicates exclusively with your locally running TradingView Desktop instance via Chrome DevTools Protocol (CDP) — a standard debugging interface built into all Chromium/Electron applications by Google, including VS Code, Slack, and Discord. The debug port is disabled by default and must be explicitly enabled by you using a standard Chromium flag (--remote-debugging-port=9222). Nothing happens without that deliberate step. What This Tool Does Not Do - Connect to TradingView's servers or APIs - Store, transmit, or redistribute any market data - Work without a valid TradingView subscription and installed Desktop app - Bypass any TradingView paywall or access restriction - Execute real trades (chart interaction only) - Work if TradingView changes their internal Electron structure Research Context This project explores an open research question: how can LLM-based agents interact with professional trading interfaces to support human decision-making? Specifically it investigates: - How structured tool APIs (MCP) can bridge LLMs and stateful desktop financial applications - What latency, context, and reliability constraints emerge when an agent operates on live chart data - How agents handle ambiguous financial UI state (e.g. interpreting Pine Script output, reading indicator tables) - Whether natural language is an effective interface for chart navigation and Pine Script development - The failure modes of LLM agents operating in real-time data environments This is not a trading bot. It is an interface layer that makes a trading application legible to an LLM agent, allowing researchers and developers to study human-AI collaboration in financial workflows. See RESEARCH.md for open questions, fin
Top issues
#13tv_launch fails on TradingView Desktop v2.14.0 (Electron 38 / Node 22 strict flag validation)3 comments · 2026-04-02#529tv_launch fails on MSIX (Store) installs: uncaught sync spawn EPERM skips local-copy fallback; copied binary then crashes without --no-sandbox2 comments · 2026-09-17#470MSIX copy-fallback crashes immediately (exit code 9) on TradingView 3.3.0.7992 / Win11 — CDP never binds2 comments · 2026-08-20#396CDP debug port cannot be enabled on TradingView Desktop 3.3.0.7992 (MSIX, sideloaded/Developer signature) — bad option error from LOCALAPPDATA fallback2 comments · 2026-07-27#392Title: Debug port never binds on Store-packaged Desktop 3.3.0.7992 (Windows) — all three documented launch methods fail2 comments · 2026-07-25#348MSIX/Store install: CDP launch fails with Access Denied (direct) and STATUS_BREAKPOINT self-terminate (local copy fallback)2 comments · 2026-07-12#344Unable to make it work on Windows 112 comments · 2026-07-10#333FIND_MONACO fails when a stale detached .pine-editor-monaco node precedes the live editor (querySelector picks the dead node)2 comments · 2026-07-06