tradingview-mcp — What is it?

The tradesdontlie/tradingview-mcp project provides an AI-assisted bridge between TradingView Desktop and Claude Code, enabling personal workflow automation and Pine Script development with AI assistance.

⭐ 266 Stars 🍴 67 Forks JavaScript — Author: tradesdontlie
Source: Official README and linked documentation View on GitHub →

Why it matters

This project is being discussed because its innovative approach to integrating AI with trading platforms, addressing the need for automated analysis and development in financial markets. It fills a gap by providing a tool that allows for AI-assisted Pine Script development and chart analysis, which is unique in its use of the Chrome DevTools Protocol for local communication.

Source: Official README and linked documentation

Core Features

AI-assisted Pine Script development

Facilitates writing, injecting, compiling, debugging, and iterating on scripts with AI assistance, enhancing the efficiency of script development.

Source: Official README and linked documentation
Chart navigation and analysis

Enables users to change symbols, timeframes, zoom, add/remove indicators, and perform visual analysis, with the ability to read indicator values and annotations.

Source: Official README and linked documentation
Drawing and alert management

Supports drawing on charts, managing alerts, and replaying historical data for practice, enhancing the user's ability to interact with the chart interface.

Source: Official README and linked documentation
Multi-pane layouts and monitoring

Allows users to set up multi-pane layouts and monitor their charts through streaming JSONL data, providing a broad view of the trading environment.

Source: Official README and linked documentation

Architecture

The architecture is inferred to be modular, with a clear separation of concerns. It likely employs design patterns such as the Model-View-Controller (MVC) for managing interactions between the AI, the TradingView Desktop app, and the user interface. The code tree indicates a structured module decomposition, with distinct directories for CLI commands, chart analysis, and Pine Script development. Data flow is managed through the Chrome DevTools Protocol, and key technical decisions include the use of Electron for the TradingView Desktop integration and the @modelcontextprotocol/sdk for communication.

Source: Official repository tree and dependency files

Project Knowledge Graph

Knowledge graph: project (center) + core features (inner hexagons) + key dependencies (outer chips) @modelcontextprotocol/sdk@modelcontextp… chrome-remote-interfacechrome-remote-… AI-assisted Pine Script developmentAI-assisted Pine Sc… Chart navigation and analysisChart navigation an… Drawing and alert managementDrawing and alert m… Multi-pane layouts and monitoringMulti-pane layouts… tradingview-mcp Project Core feature Key dependency

Tech Stack

LanguageJavaScriptFrameworkElectron, Chrome DevTools Protocol
@modelcontextprotocol/sdkchrome-remote-interface
Local machine with TradingView Desktop and Node.js environment
Source: Official repository tree and dependency files

Quick Start

git clone https://github.com/tradesdontlie/tradingview-mcp.git cd tradingview-mcp npm install./scripts/launch_tv_debug_mac.sh Add to Claude Code MCP config: { "mcpServers": { "tradingview": { "command": "node", "args": "/path/to/tradingview-mcp/src/server.js" } } } Verify connection with tv_health_check.
Source: Official README and linked documentation

Use Cases

This project is for developers and researchers interested in AI-assisted financial analysis and Pine Script development. It is useful in scenarios where automated analysis and script development are required, such as in financial market research, algorithmic trading, and educational purposes.

Source: Official README and linked documentation

Strengths & Limitations

Strengths

  • Innovative integration of AI with trading platforms
  • Enables automated analysis and script development
  • Local data processing for enhanced security

Limitations

  • Requires a valid TradingView subscription
  • May be affected by changes in TradingView's internal structure
  • Limited to local machine usage
Source: Official README and linked documentation

Latest Release

Not enough information.

Source: Official releases

Verdict

The tradesdontlie/tradingview-mcp project is worth watching for its innovative approach to integrating AI with trading platforms. It is particularly suitable for developers and researchers interested in exploring the intersection of AI and financial markets, offering a unique tool for automated analysis and script development.

Sources and review scope
This review is based on the project's public documentation. Versions, installation commands, and feature boundaries can change upstream; check the cited sources and current release before use. Sources checked on: 2026-09-23 13:55.

Reference materials: README, GitHub API, dependency files