tradesdontlie /tradingview-mcp
AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation
★ 7,143⑂ 2,897
7,143
stars
+77+85+420
2,897
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions
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