tradingview-mcp-assistant — Claude Code skill: what it does
tradingview-mcp-assistant — a skill that hooks Claude to your local TradingView desktop app over Chrome DevTools Protocol, so the agent can read charts, edit Pine Script and set alerts.
no license 262 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill tradingview-mcp-assistant -a claude-codeWhat tradingview-mcp-assistant does
The skill links a coding agent to the TradingView desktop app running on your own machine. Traffic goes over Chrome DevTools Protocol, so the agent sees the chart you already have open: it switches tickers and timeframes, pulls the current quote, reads indicator values, and inspects lines, labels, tables and boxes left by Pine scripts.
Pine Script work is the other half. Code lands in the editor, compiles, and errors come back with line numbers; saving pushes the script to TradingView's cloud. A four-pane layout can hold different symbols, alerts can be created and listed, and replay walks the history bar by bar. Each tool has a tv counterpart for shell scripts.
Setup takes some patience. TradingView must be started in debug mode on port 9222, and .mcp.json needs a node server entry; launch scripts for macOS, Windows and Linux come with the setup. A paid TradingView subscription and Node.js 18+ are required. With the debug port closed the agent finds no chart at all, so run tv_health_check before anything else.
What it helps with
- read indicator values off the open chart
- write and compile a Pine Script indicator
- arrange four symbols in a 2x2 layout
- mark support and resistance with horizontal lines
- create price alerts and list them afterwards
Example prompts for the agent
- Run
tv_health_checkand tell me which symbol and timeframe are open. - Read the indicator values from the chart and give me the current RSI.
- Write a Pine Script indicator with RSI plus lines at 70 and 30, compile it, and show me any errors.
How to install tradingview-mcp-assistant
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill tradingview-mcp-assistant -a claude-code2Manually: put the files in place
~/.claude/skills/tradingview-mcp-assistant/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tradingview-mcp-assistant/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill tradingview-mcp-assistant -a codex2Manually: put the files in place
.agents/skills/tradingview-mcp-assistant/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill tradingview-mcp-assistant -a cursor2Manually: put the files in place
.cursor/skills/tradingview-mcp-assistant/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/tradingview-mcp-assistant2Manually: put the files in place
.github/skills/tradingview-mcp-assistant/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill tradingview-mcp-assistant -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/tradingview-mcp-assistantManually: put the files in place
.devin/skills/tradingview-mcp-assistant/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill tradingview-mcp-assistant -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about tradingview-mcp-assistant
How do I install tradingview-mcp-assistant in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill tradingview-mcp-assistant -a claude-code. The skill file lands at ~/.claude/skills/tradingview-mcp-assistant/SKILL.md.
What does tradingview-mcp-assistant do?
It gives the agent access to your TradingView desktop app: chart and indicator reading, Pine Script development, drawn levels, alerts, pane layouts and replay mode.
What is needed before the skill works?
A paid TradingView subscription with the desktop app, Node.js 18+, the app started in debug mode on port 9222, and an MCP server entry in .mcp.json.