tradingview-mcp-thaqif
Allows interaction with TradingView Desktop for reading charts, developing Pine Script indicators, managing alerts, and performing multi-timeframe analysis.
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-mcp-thaqifrun morning_brief on my watchlist"
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-thaqif
Drive TradingView Desktop from Claude (and other MCP clients) for Pine Script v5/v6, FCPO/futures, and Wyckoff multi-timeframe analysis.
A local MCP server that bridges TradingView Desktop to an AI assistant over the Chrome DevTools Protocol, shipped with a 64-rule rules.json that constrains how the AI writes Pine and reads the market. MIT-licensed, runs entirely on your machine.
Improved fork of tradingview-mcp-jackson by Lewis W. Jackson, itself built on the original tradingview-mcp by @tradesdontlie. Full credit to both — see NOTICE.
Not affiliated with TradingView Inc. or Anthropic. This tool connects to the TradingView Desktop app already running on your machine via the Chrome DevTools Protocol. It requires your own valid TradingView subscription and does not bypass any paywall. It surfaces analysis only — it does not place trades. Read the Disclaimer and SECURITY.md before use.
All processing is local. No TradingView data leaves your machine; the server has no telemetry.
What it does
Read your chart — symbol, timeframe, indicator values, and custom Pine output (lines, labels, tables, boxes).
Develop Pine Script v5/v6 — inject source, smart-compile, and read errors in a loop.
Manage alerts, replays, and screenshots.
morning_brief— scan a watchlist, read every indicator, and return structured data so the model produces a Wyckoff multi-timeframe bias, driven by yourrules.json.
Related MCP server: tradingview-mcp
What's new in this fork
Feature | What it does |
| A 64-rule engine across 9 categories (Pine v5/v6, indicators, multi-timeframe, Wyckoff, FCPO, backtesting, alerts, risk, MCP tools). See docs/RULESET.md. |
| A worked, rule-compliant Pine v6 indicator (Spring/UTAD, non-repaint HTF, FCPO sessions). |
npm + | Install via |
Inherited from the jackson fork |
|
Requirements
Node.js 18+
TradingView Desktop running with the Chrome DevTools Protocol enabled (see SETUP_GUIDE.md)
A valid TradingView subscription
Install
Full per-client snippets (Cursor, Cline, VS Code, local clone) are in the install section below.
Claude Desktop — one click: install the .mcpb from Settings -> Extensions, or build it from manifest.json (see DISTRIBUTION.md).
Claude Desktop — config file (claude_desktop_config.json):
{
"mcpServers": {
"tradingview": {
"command": "npx",
"args": ["-y", "tradingview-mcp-thaqif"]
}
}
}Cursor (~/.cursor/mcp.json), Cline (cline_mcp_settings.json), and VS Code (.vscode/mcp.json) use the same command/args. Run from a local clone with "command": "node", "args": ["/abs/path/tradingview-mcp-thaqif/src/server.js"].
Then, with TradingView Desktop open, verify with the tv_health_check tool.
The rules engine
rules.json is loaded as AI context so the assistant treats critical/high rules as hard constraints. The 9 categories: pine_script, indicators, multi_timeframe, wyckoff, fcpo, backtesting, alerts, risk_management, mcp_tools. Each rule has an id, rationale, severity, and a runnable example. Full guide: docs/RULESET.md. Worked example: examples/.
Publishing / distribution
This repo is packaged for npm, the official MCP Registry (server.json), and a Claude .mcpb bundle (manifest.json). Step-by-step in DISTRIBUTION.md.
Disclaimer
For research and educational use. Nothing here is financial advice. Trading FCPO, crude oil, and crypto futures involves substantial risk of loss. This tool is not affiliated with TradingView Inc. or Anthropic, PBC; you are responsible for complying with TradingView's Terms of Use. The server never executes trades — surface signals and place trades yourself.
Attribution & license
MIT — see LICENSE and the full attribution chain in NOTICE. Original by @tradesdontlie; fork foundation by @LewisWJackson.
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.
MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents
Evidence-gated quant research for TradingView Pine Script strategies, run from your AI client.
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.411349 npm47MIT
- AlicenseAqualityCmaintenanceA type-safe MCP server that enables AI agents to control TradingView Desktop via Chrome DevTools Protocol, allowing chart state reading, symbol/timeframe changes, and OHLCV data fetching.1147 npm1MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that connects to TradingView Desktop via Chrome DevTools Protocol, enabling chart control, Pine Script development, and a morning brief workflow with AI-driven analysis.47 npm-
- FlicenseNot gradedqualityCmaintenanceConnects AI assistants to TradingView Desktop for chart analysis, Pine Script development, and workflow automation via Chrome DevTools Protocol.47 npm-