TradingView MCP
Provides dedicated tools for Pine Script development within TradingView, including code injection into the editor, smart compilation with automatic error detection, reading console output (log.info), saving scripts to TradingView cloud, and offline static analysis. Enables AI-assisted writing, debugging, and management of custom indicators and strategies.
Provides 78 tools to read, control, and automate TradingView Desktop charts via Chrome DevTools Protocol. Enables chart navigation (symbols, timeframes, scrolling), indicator management, drawing tools (trend lines, levels, shapes), alerts, replay mode for historical backtesting, multi-pane layouts, and comprehensive chart state reading including OHLCV data, quote data, and study values.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TradingView MCPrun my morning brief and generate today's session bias"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TradingView MCP
Español · Release v1.0.2 · Repository history
Local TradingView Desktop MCP bridge for chart automation, Pine workflows, Codex support, and consent-gated trading actions.
This repository follows the same product-line layout used by Kerebrom: stable implementation lines live under versions/vN/, while the repository root stays as the product landing page and operational guide.
Current Stable Line
Line | Status | Product root | Purpose |
| current |
| TradingView Desktop MCP bridge, 100+ tools, offline/remote/live test split, hardened launcher. |
Related MCP server: tradingview-mcp
Install
git clone https://github.com/ulianbass/tradingview-mcp.git
cd tradingview-mcp/versions/v1
npm installUse this MCP server path in AI clients:
/absolute/path/to/tradingview-mcp/versions/v1/src/server.jsFor this machine, the current path is:
/Users/ulianbass/Documents/TradingView MCP/versions/v1/src/server.jsWork With The Repo
From the repository root:
npm test
npm run test:remote
npm run test:e2eThose commands delegate to versions/v1.
For direct version-line work:
cd versions/v1
npm test
npm run test:remotenpm run test:e2e requires TradingView Desktop running with Chrome DevTools Protocol enabled on port 9222.
Branch Policy
Active branch:
v1.Default GitHub branch:
v1.mainis not used in this fork.Historical or upstream references should be tags or external remotes only when intentionally needed; they should not appear as active product branches.
See docs/BRANCHES.md.
Version Docs
License
Source-available proprietary software. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Live LinReg fan charts, 64-setup playbook, 11-section MTF TA. Remote MCP, no API key.
Evidence-gated quant research for TradingView Pine Script strategies, run from your AI client.
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables automated trading analysis and chart management through the TradingView Desktop app. Provides tools for morning brief workflows, Pine Script development, chart navigation, and replay mode practice with local data processing.75 npm-
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with TradingView Desktop charts via Chrome DevTools Protocol, supporting chart analysis, Pine Script development, drawing, alerts, and replay automation.75 npm-
- FlicenseNot gradedqualityBmaintenanceEnables reading charts, running morning briefs, developing Pine Scripts, and automating workflows on TradingView Desktop via Chrome DevTools Protocol.75 npm-
- FlicenseBqualityBmaintenanceEnables AI-assisted chart analysis, Pine Script development, and live order execution on TradingView Desktop via Chrome DevTools Protocol, supporting connected brokers for trading workflows.9775 npm-