tradingview-mcp-assistant

Automate TradingView Desktop charts via Chrome DevTools Protocol and MCP tools.

7|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/Aradotso/mcp-skills --skill tradingview-mcp-assistant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tradingview-mcp-assistant
Source: https://github.com/Aradotso/mcp-skills/tree/main/skills/tradingview-mcp-assistant
Command: npx skills add https://github.com/Aradotso/mcp-skills --skill tradingview-mcp-assistant

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the problem of manually analyzing TradingView charts, reading indicator values, and iterating on Pine Script by letting you drive the TradingView Desktop UI locally through MCP and the Chrome DevTools Protocol.

Core Features & Use Cases

  • Pine Script development & debugging: write Pine code, compile, inspect errors/console output, and save indicators/strategies for your chart workflows.
  • Chart + indicator data access: read quote data, OHLCV summaries, indicator/study values, and Pine drawing primitives (lines/labels/tables/boxes) to support decision-making and automation.
  • Trading workflow automation in the UI: control symbols/timeframes/layout panes, manage alerts, and run replay mode for practice—all through MCP tools exposed as a tv CLI.

Use Case: You want to build and validate a custom indicator; you ask for a Pine Script draft, inject the code into TradingView, compile and fix errors using MCP feedback, then read indicator outputs and create alerts once the logic is confirmed.

Quick Start

Ask your AI to connect to TradingView and run the health check, then analyze your current chart by requesting quote, indicator values, and a Pine drawing readout.

Frequently Asked Questions about tradingview-mcp-assistant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate TradingView chart analysis using local AI?

Automate TradingView chart analysis by interfacing AI with the local TradingView Desktop instance over Chrome DevTools Protocol. This enables AI-driven extraction of indicator values, chart navigation, and Pine Script development through MCP tool execution.

Can I use AI to write and debug Pine Script indicators in TradingView?

Write and debug Pine Script by having AI draft the code, inject it into TradingView, compile, and inspect console errors. MCP feedback loops allow you to fix errors and save indicators or strategies directly through local UI automation.

What do I need to connect AI to TradingView Desktop for chart automation?

Connecting AI to TradingView requires a TradingView Desktop subscription, an MCP-capable Claude Code configuration, and local Chrome DevTools Protocol connectivity active on port 9222 to execute chart, data, and replay operations.

How do I extract OHLCV data and indicator values from TradingView charts?

Extract OHLCV summaries and study values by reading quote data through MCP tools interfacing with the local TradingView UI. This supports decision-making by accessing chart data and Pine drawing primitives like lines, labels, and tables.

Is it possible to run TradingView replay mode and manage alerts via AI?

Run replay mode for practice and manage alerts via AI by controlling symbols, timeframes, and layout panes through MCP tools. This automates trading workflow execution directly within the local TradingView Desktop interface.

Why is my TradingView MCP connection failing to access local charts?

TradingView MCP connection failures often occur when local Chrome DevTools Protocol connectivity is not active on port 9222. Ensure your TradingView Desktop instance is running and properly configured for CDP access.