whatisgithub

What is tradingview-mcp?

weebapp003/tradingview-mcp — explained in plain English

Analysis updated 2026-05-18

132JavaScriptAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A bridge that lets an AI assistant like Claude Code see and control your local TradingView Desktop app for chart analysis and Pine Script development.

Mindmap

mindmap
  root((TradingView MCP))
    What it does
      AI controls TradingView charts
      Local only, no cloud
      Runs via Chrome DevTools Protocol
    Tech stack
      Node.js
      MCP server
      CLI tool
    Use cases
      Pine Script development
      Chart navigation
      Alert management
    Audience
      Traders
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let an AI assistant write and debug Pine Script indicators on your live TradingView chart.

USE CASE 2

Automate chart navigation, such as switching symbols, timeframes, and indicators, via commands.

USE CASE 3

Manage price alerts and multi pane chart layouts through a CLI or an AI assistant.

USE CASE 4

Study how AI agents can operate real time financial desktop software.

What is it built with?

JavaScriptNode.jsChrome DevTools ProtocolMCP

How does it compare?

weebapp003/tradingview-mcpbuynao/aipathkappaemme-git/local-client-prospector-skill
Stars132131131
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencedevelopergeneralpm founder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a paid TradingView subscription and launching TradingView Desktop with a debug port enabled.

So what is it?

TradingView MCP Bridge lets an AI assistant like Claude Code see and control your own TradingView Desktop app. It connects through the Chrome DevTools Protocol, a standard debugging interface built into Chromium and Electron apps, so the AI can read your charts and interact with them the same way a person would with a mouse and keyboard. Everything runs locally on your own machine. The tool does not talk to TradingView's servers, does not bypass any paywall, and does not store or send your market data anywhere. You still need your own paid TradingView subscription and the Desktop app installed, since this is only a bridge, not a replacement for TradingView itself. The author is upfront that it relies on undocumented internal TradingView interfaces, so an update to TradingView could break it without warning. Once connected, the AI can help write and debug Pine Script, the scripting language TradingView uses for custom indicators and strategies. It can also navigate charts by changing symbols and timeframes, add or remove indicators, draw trend lines and annotations, manage price alerts, step through historical price data to practice trades, take screenshots for visual analysis, and arrange multiple chart panes at once. Every one of these actions is also available as a command line tool called tv, so scripts can pipe its JSON output into other tools. Setup involves cloning the repository, running npm install, launching TradingView Desktop with a debug flag enabled, and adding the tool to Claude Code's configuration file. An optional Redis cache can speed up repeated chart reads, but the tool works fine without it. The README frames this as a research project studying how AI agents can work with financial software interfaces, and it explicitly states it is not a trading bot and does not place real trades. The README does not state a license for the project.

Copy-paste prompts

Prompt 1
Help me install TradingView MCP and connect it to my locally running TradingView Desktop app.
Prompt 2
Use TradingView MCP to write a new Pine Script indicator and compile it on my chart.
Prompt 3
Show me how to use the tv CLI to stream live quote data and pipe it into another script.
Prompt 4
Explain how TradingView MCP uses the Chrome DevTools Protocol to control TradingView Desktop.

Frequently asked questions

What is tradingview-mcp?

A bridge that lets an AI assistant like Claude Code see and control your local TradingView Desktop app for chart analysis and Pine Script development.

What language is tradingview-mcp written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js, Chrome DevTools Protocol.

How hard is tradingview-mcp to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tradingview-mcp for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.