Connect Claude Code to TradingView — MCP Setup Guide
Step-by-step: install TradingView Desktop, set up TradingView MCP Jackson in Claude Code, launch debug mode, and analyze charts with AI.
Connect Claude Code to TradingView Desktop using the TradingView MCP Jackson server. Once set up, Claude can read your live chart and help with analysis — entries, structure, and trade ideas — through MCP.
What you need: TradingView Desktop (Windows or Mac), Claude Code Desktop, and about 10 minutes.
Step 1 — Download TradingView Desktop
Install TradingView for Windows or Mac from the official TradingView website.
You need the desktop app — not just the browser tab — for the MCP integration to work.
Step 2 — Open Claude Code Desktop
Launch Claude Code on your computer. You'll paste the one-shot setup prompt here in the next step.
Step 3 — Clone the MCP repo
Use this repository:
https://github.com/LewisWJackson/tradingview-mcp-jackson
Claude will clone it for you when you run the setup prompt below — or clone it manually to ~/tradingview-mcp-jackson if you prefer.
Step 4 — Paste this one-shot setup into Claude Code
Copy everything in the block below and paste it into a new Claude Code chat:
Set up TradingView MCP Jackson for me.
Clone https://github.com/LewisWJackson/tradingview-mcp-jackson.git to ~/tradingview-mcp-jackson, run npm install, then add it to my MCP config at ~/.claude/.mcp.json (merge with any existing servers, don't overwrite them).
The config block is:
{
"mcpServers": {
"tradingview": {
"command": "node",
"args": ["/Users/YOUR_USERNAME/tradingview-mcp-jackson/src/server.js"]
}
}
}
Replace YOUR_USERNAME with my actual username.
Then copy rules.example.json to rules.json and open it so I can fill in my trading rules.
Finally restart and verify with tv_health_check.
Claude Code will:
- Clone the repo
- Run
npm install - Merge the MCP config into
~/.claude/.mcp.json(without wiping your other servers) - Create
rules.jsonfrom the example file - Verify the setup with
tv_health_check
Step 5 — Launch TradingView in debug mode
TradingView must run with CDP/debug enabled for the MCP server to connect.
Mac:
./scripts/launch_tv_debug_mac.sh
Windows:
scripts\launch_tv_debug.bat
Linux:
./scripts/launch_tv_debug_linux.sh
Or ask Claude directly:
Use tv_launch to start TradingView in debug mode
Step 6 — Restart Claude
After setup completes, restart Claude Code so the new MCP connection loads properly.
Step 7 — Ask Claude to analyze your chart
Once TradingView is running with your chart open, try:
Design a trading analysis for the current TradingView chart.
Claude can now use TradingView through MCP to help with chart analysis — structure, levels, and trade ideas based on what's on your screen.
Quick checklist
- TradingView Desktop installed
- Claude Code Desktop open
- One-shot setup prompt pasted and completed
-
rules.jsonfilled in with your trading rules - TradingView launched in debug mode
- Claude restarted
- Chart analysis prompt tested
Repo: github.com/LewisWJackson/tradingview-mcp-jackson
Found this useful? Follow @kabeeahmad.ka for more AI + trading tools.
Want live XAU/USD signals with risk management built in?
Get access