tradingview-mesh
Provides Pine Script tooling including transpiling Pine v5 to TypeScript, compile-checking Pine code, using example Pine indicators, and injecting custom Pine indicators into TradingView charts.
Unified integration with TradingView covering chart control via CDP, data tools for screeners, technical analysis, backtesting, sentiment, and price data without login, plus TradingView-to-webhook alert routing.
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-meshScreen S&P 500 for bullish RSI divergence and show top 10 tickers"
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 Mesh — 200+ Repo Scan + Best-of Mashup
Scanned 335 unique TradingView repos (11 queries × 20 evaluated = 220 evaluations) via
github-deepscansurface+deep. Reports in../.agents/skills/github-deepscan/reports/.
Top Finds (composite /5)
Rank | Repo | Stars | What it does best | Composite |
1 |
| 518 | Pine v5 → TypeScript transpiler, type-safe indicator dev | 4.0 |
2 |
| 4312 | Data layer — 37 tools: market data, screeners, TA, backtest, sentiment, Yahoo, futures, no browser/login needed | 3.4 (deep) |
3 |
| 5936 | Browser layer — 78 tools via CDP to TradingView Desktop, chart control, drawings, alerts, screenshots, CLI | 3.2 (deep) |
4 |
| 38 | Fresh 2026-08-31, JS CDP controller | 3.6 |
5 |
| <100 | Real Chrome Pine injection — drives real TradingView chart, Pine compile via | not ranked (too new) |
6 |
| 887 | 100+ Pine example indicators | 3.2 |
Deep winner: atilaahmettaner (3.4) > tradesdontlie (3.2). Bus factor warning on jackson-video fork (≤2 contributors).
Related MCP server: J-SQUAD TradingView MCP Combined
Mesh Architecture
User → Mesh MCP (Python FastMCP) → routes by tool prefix
├─ tv_browser.* → moon-dev + tradesdontlie CDP (real chart, Pine injection, invite-only legend)
├─ tv_data.* → atila core (screener, TA, backtest, sentiment, price — no login)
├─ tv_pine.* → PineTS transpile + pine-facade compile-check + everget examples
└─ tv_alert.* → fabston webhook (TradingView → webhook → bot)Why mesh: No single repo does all 4. Moon-dev is only one that can write custom Pine to chart (others only read data). Tradesdontlie has 78 chart tools + CLI but needs TV Desktop. Atila has 37 data tools with zero browser. PineTS makes Pine type-safe. Mesh = one MCP, all capabilities, invite-only supported via legend scrape.
What Invite-Only Looks Like
tv_list_indicators→ reads[data-name="legend-source-item"]→ invite-only shows same as public:{"title":"My Invite Only v2","values":["42.1"]}if on charttv_add_indicator(name="Exact Invite Name")→ searches Indicators dialog → TradingView returns your invite-only if you have accessCannot enumerate all invite-only you own without names, cannot decompile source (server-compiled)
Install (Windows)
cd C:\Users\LENOVO\tools\tradingview-mcp-mesh
python -m venv .venv; .\.venv\Scripts\activate
pip install -r requirements.txt
copy ..\Trading-View-MCP-for-AI-by-Moon-Dev\.env .env # set TV_MCP_CHROME_BINARY to real Chrome
# real Chrome 152 found at C:\Program Files\Google\Chrome\Application\chrome.exe
python -m tradingview_mcp_mesh.server # stdio MCPMCP config for Claude/Kimi:
{
"mcpServers": {
"tradingview-mesh": {
"command": "python",
"args": ["-m", "tradingview_mcp_mesh.server"],
"cwd": "C:/Users/LENOVO/tools/tradingview-mcp-mesh"
}
}
}Status
Sources cloned to
sources/(5 repos)Chrome CDP live at 9222 (real Chrome 152, not playwright) — but websocket
wshung before (even blank page). Needs retest after mesh wiring withchrome-remote-interface(tradesdontlie's lib is more robust thanwebsocket-client).Next: wire
tradesdontlie/src/connection.jsCDP client +moon-dev/cdp_client.pyfallback, expose unifiedtv_list_indicatorsthat merges both.
Scan Proof
tradingview mcp: 33 candidates, 20 evaluatedtradingview pine script: 34, 20tradingview api: 30, 20tradingview indicator: 30, 20tradingview webhook: 32, 20tradingview strategy: 32, 20tradingview chart: 30, 20lightweight-charts: 30, 20pinescript: 31, 20tradingview lightweight: 34, 20tradingview alert: 29, 20 Total unique ~335, evaluated 220 (>200 as requested).
This server cannot be deployed
Maintenance
Related MCP Connectors
> TradingMCP puts a market analyst inside your AI assistant. Paste one URL into Claude, ChatGPT, Cursor, VS Code or any MCP client and ask in plain language: screen for breakouts, run a multi-timeframe analysis, backtest a strategy with walk-forward validation, scan for smart-money and volume signals, or get a one-prompt morning market brief. In clients that support MCP Apps, price charts and the Markets panel are drawn right in the chat. > 40+ tools covering crypto (real-time), stocks, ETFs, FX, futures and commodities across major global exchanges. > Hosted, nothing to install: Pro $9/month (2,500 tool calls) or Pro+ $29/month (10,000). Paid upfront with a 14-day money-back guarantee; your API key arrives right after checkout. > Built on the open-source tradingview-mcp core (MIT, ~5k GitHub stars): self-host it free, or use the hosted version with zero ops. > For research and education, not financial advice. Not affiliated with TradingView
- FensoryOAuthcom.fensory
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Create and manage trading strategies, bots, webhooks and signals from any MCP client.
Production MCP server for US equity and options intelligence: real-time IV radar, Monte Carlo simulation, options pressure, strategy backtesting, AI prediction, pre-trade risk analysis, and automated stock research reports.
Related MCP Servers
- AlicenseBqualityAmaintenanceMCP server that lets AI agents directly control and interact with the TradingView desktop app via 88 chart-control tools, enabling automated chart reading, Pine Script compilation, strategy optimization, and replay control.11359 npm48MIT
- FlicenseNot gradedqualityBmaintenanceA comprehensive MCP server that integrates TradingView Desktop automation, screener API, Yahoo Finance, IDX/BEI tools, backtesting, news sentiment, trade math, and market sessions. It enables traders to perform technical analysis, backtest strategies, manage positions, and automate TradingView tasks through natural language.-
- FlicenseNot gradedqualityDmaintenanceExposes TradingView data including quotes, technical ratings, historical OHLCV, and market screening through an MCP server using unofficial libraries.-
- FlicenseNot gradedqualityDmaintenanceMCP server that connects AI assistants to TradingView Desktop via Chrome DevTools Protocol, enabling chart analysis, Pine Script development, and workflow automation through natural language.120 npm-