Free guide ยท from the reel

Claude can draw on your TradingView charts for you.

It's called TradingView MCP. It connects Claude Code to the TradingView app on your computer, so Claude can read your chart, switch the symbol and timeframe, draw your levels, trend lines and zones, write and fix Pine Script, set price alerts and replay old sessions bar by bar. It doesn't place trades.

โœฆ Free ยท open source (MIT)๐Ÿงฐ 84 tools๐Ÿ’ป Runs on your computer
โš ๏ธGood to know. TradingView MCP is a community project, not made or endorsed by TradingView. It doesn't place trades and nothing here is financial advice. You need TradingView Desktop and your own TradingView subscription.

What Claude can do

Ask in plain English. Claude picks the right tool from the 84 the server gives it.

readRead your chartThe symbol, timeframe, prices and the values of your indicators.
chartSwitch symbol + timeframeChange the ticker, the timeframe, zoom to a date, add or remove indicators.
drawDraw for youHorizontal levels, trend lines, rectangles and text, right on your chart.
pineWrite Pine ScriptWrites the script, compiles it, reads the errors and fixes them.
alertSet price alertsCreate, list and delete alerts.
replayReplay practiceStep through an old session bar by bar and practise your entries.
paneMulti-chart layouts2ร—2, 3ร—1 and other grids with a different symbol in each pane.
shotScreenshotsCaptures the chart so Claude can look at it.

It reads and controls the TradingView app on your computer. It does not place trades and doesn't send your data anywhere.

What you need

๐Ÿ“ˆTradingView Desktop free downloadMac, Windows or Linux. tradingview.com/desktop
โญYour own TradingView subscription The tool doesn't get around any paywall. It works with what your account already shows.
๐Ÿง Claude Code The tools plug into Claude Code as an MCP server. claude.com
๐ŸŸฉNode.js 18 or newer freenodejs.org

The setup

One prompt does the install. Then you just talk to your chart.

1

Install TradingView Desktop

Once ยท then sign in

Download it from tradingview.com/desktop, install it and sign in to your account.

2

Paste one prompt into Claude Code

Once ยท it installs everything

Open Claude Code and paste this. It's the install prompt from the project's README:

Paste into Claude CodeInstall the TradingView MCP server. Clone https://github.com/tradesdontlie/tradingview-mcp.git, run npm install, add it to my MCP config at ~/.claude/.mcp.json, and launch TradingView with the debug port. Then verify the connection with tv_health_check.
The Install with Claude Code section of the TradingView MCP README

github.com/tradesdontlie/tradingview-mcp

3

Check the connection

tv_health_check
Paste into Claude CodeUse tv_health_check to verify TradingView is connected
๐Ÿ’กRestart Claude Code after the install so it picks up the new MCP server.
4

Talk to your chart

Prompts to try
Read itRead my current TradingView chart and tell me the symbol, the timeframe, the last price and what my indicators show.
Draw on itDraw horizontal lines at today's high and low, a trend line through the last two swing lows, and a rectangle around the opening range.
Pine ScriptWrite a Pine Script indicator that plots a 20-period SMA, compile it, fix any errors, and add it to my chart.
AlertCreate a price alert on this symbol for when the price crosses [your level].
Replay practiceStart replay mode from yesterday's open and step forward one bar at a time so I can practise my entries.
+

Prefer to do it by hand?

The README's quick start
Terminalgit clone https://github.com/tradesdontlie/tradingview-mcp.git cd tradingview-mcp npm install ./scripts/launch_tv_debug_mac.sh

On Windows use scripts\launch_tv_debug.bat, on Linux ./scripts/launch_tv_debug_linux.sh. Then add this to ~/.claude/.mcp.json with your real path:

~/.claude/.mcp.json{ "mcpServers": { "tradingview": { "command": "node", "args": ["/path/to/tradingview-mcp/src/server.js"] } } }

The fine print

๐ŸšซIt doesn't place tradesIt reads and controls your chart. Nothing in it can buy or sell.
๐Ÿท๏ธNot affiliated with TradingViewIt's a community project. It talks to the TradingView app on your computer and doesn't connect to TradingView's servers.
๐Ÿ”งUpdates can break itIt uses TradingView's internal app interface, which can change in any update. If stability matters, stay on a TradingView Desktop version that works.
๐Ÿ”ŒThe debug port is your switchTradingView only accepts the connection when it's launched with the debug port (9222). Close it and relaunch normally to turn it off.
๐Ÿ“‰Not financial adviceClaude helps with the chart work. The decisions, and the risk, are yours.

If something goes wrong

tv_health_check can't connectTradingView has to be running with the debug port. Run the launch script for your system (step +), then try again.
Claude doesn't see the toolsCheck the path in ~/.claude/.mcp.json points to src/server.js, then restart Claude Code.
It can't find TradingViewMac: /Applications/TradingView.app. Windows: %LOCALAPPDATA%\TradingView. Launch it with --remote-debugging-port=9222.
It stopped working after an updateTradingView changed something inside the app. Update the repo with git pull or go back to the previous TradingView version.
๐Ÿ™ŒTradingView MCP is by tradesdontlie (MIT). TradingView is a trademark of TradingView, Inc. Claude and Claude Code are by Anthropic.
โ˜…Most popular
More guides ยท all 11 in one

Liked this one? Get all 11.

This guide was free. The bundle is every paid guide from my reels in one payment: cartoons, animated reels, bedtime stories, AI characters, video skills, stocks and more. Every skill, kit and download inside.

$99$49Save $50 ยท 51%
See all 11 guides โ†’
CARTOONUNLIMITEDHOURSKILLSCASTDRAGONENDLESSEXPLAINERSTOCKSANALYSTYOUTUBE
You just saw what AI can do

Want me to set this up for you?

I help companies use AI from start to finish: content that looks real, and tools that do the work for them.

Before you pick a time
A few quick questions, so I come to the call already knowing what you need. Takes 1 minute.
1. Who is this for?
2. How do you want to work?
4. What do you want help with? ยท pick any
Content
AI tools
Other
5. Budget for this project
6. When do you want to start?
Your answers go into the booking so I can prepare.