tradingview-mcp  by tradesdontlie

AI-powered interface for TradingView chart analysis and automation

Created 1 week ago

New!

1,600 stars

Top 25.7% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project provides an AI-assisted interface for TradingView Desktop, enabling workflow automation, Pine Script development, and chart analysis via LLMs. It targets researchers and power users seeking to integrate AI locally with trading workflows, providing enhanced analysis and development through natural language interaction.

How It Works

It connects to a local TradingView Desktop instance using the standard Chrome DevTools Protocol (CDP) after the user enables the debug port (--remote-debugging-port=9222). All data processing remains local, preventing external transmission of TradingView data. This approach utilizes a standard debugging protocol and keeps operations on the user's machine, avoiding direct server interaction.

Quick Start & Requirements

Requires TradingView Desktop (paid subscription), Node.js 18+, and Claude Code with MCP support. Installation involves cloning the repo and running npm install. Users must launch TradingView Desktop with the --remote-debugging-port=9222 flag (scripts provided). Integration with Claude Code needs MCP configuration updates. GitHub: https://github.com/tradesdontlie/tradingview-mcp.

Highlighted Details

Features include AI-assisted Pine Script development, programmatic chart navigation (symbols, timeframes), visual indicator analysis, drawing tools, alert management, replay mode control, screenshot capture, multi-pane layouts, and local data streaming. A comprehensive CLI offers direct access to all functionalities.

Maintenance & Community

The README provides no specific details on contributors, sponsorships, or community channels like Discord/Slack, focusing instead on technical implementation and research context.

Licensing & Compatibility

Licensed under MIT, applying only to the project's source code. Programmatic interaction may conflict with TradingView's Terms of Use (automated data collection, non-display usage). Commercial use requires careful review of TradingView's ToS.

Limitations & Caveats

Accesses undocumented internal TradingView APIs via Electron's debug interface, prone to breaking changes; pinning TradingView version is advised for stability. Requires a valid TradingView subscription and Desktop app. This is a research-oriented interface, not an automated trading bot. Users are solely responsible for compliance with TradingView's ToS and assume all risks, including potential account actions.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
30
Issues (30d)
24
Star History
1,615 stars in the last 13 days

Explore Similar Projects

Feedback? Help us improve.