Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Miha21222v0.1.0MITIn 1 marketplace
TradingView toolkit for AI agents: SMC/ICT scanning, chart rendering, backtesting, journal sync, Pine compile, TradingView Desktop control - plus the official TradingView MCP (quotes, screener, news, calendars, alerts, watchlists) registered side by side. Not affiliated with TradingView, Inc.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
Connects to a remote server outside your machine
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
OANDA environmentOANDA_ENV
practice (default) or live.
string
TradingView Desktop CDP URLTV_CDP_URL
e.g. http://127.0.0.1:9223 for the opt-in `desktop` toolset (default 9223; 9222 is usually owned by another CDP tool).
string
Max bars per responseTV_MAX_BARS
Hard cap on bars returned by data tools (default 5000).
string
Enabled toolsetsTV_TOOLSETS
Comma list. Default `hybrid` = data,scan,chart,backtest,pine,journal,strategy,calendar (everything the official TradingView MCP does not do, plus a calendar that also carries exchange holidays and futures rollover). `default` = public,data (unauth screener, no official server needed); `all` = everything. session/desktop are opt-in and carry ToS risk: `hybrid,session,desktop`.
stringdefault hybrid
Rendered PNG output directoryTV_CHART_DIR
Where tv_chart_render writes PNGs.
string
Read-only modeTV_READ_ONLY
Set to 1 to disable all write-capable tools (hard-wins over everything).
string
TradingView sessionid cookieTV_SESSIONID
Optional. Enables the opt-in `session` toolset (reads data through your TradingView account - may violate TradingView's ToS). Stored as a secret.
Sensitivestring
OANDA API keyOANDA_API_KEY
Optional. Enables the OANDA OHLCV provider (free practice account at oanda.com). Stored as a secret.
Sensitivestring
TradingView Desktop executableTV_DESKTOP_EXE
Optional. Full path to TradingView.exe (or TradingView.app on macOS) for tv_desktop_launch when auto-discovery (Store package, %LOCALAPPDATA%/Programs) fails.
string
FX Replay journal watch-folderTV_JOURNAL_DIR
Where tv_journal_scan / tv_journal_parse read CSV exports.
string
Sentinel run folderTV_SENTINEL_DIR
Where the `sentinel` toolset writes one JSON run file per watch (default ~/.tvmcp/sentinel).
string
Declarative strategy folderTV_STRATEGY_DIR
Where tv_strategy_list / tv_strategy_run read YAML strategy specs.
string
MCP server giving AI agents a TradingView-centric trading toolkit: screener queries, historical FX data, and — as milestones land — SMC/ICT pattern scanning, chart rendering with markup, backtesting, Pine tooling, and a bundle of companion Agent Skills.
AI agents: to install and verify this MCP for a human, follow
AGENT_SETUP.mdtop to bottom (prerequisites →uv sync→scripts/healthcheck.py→ register both servers → smoke tests → report).
Not affiliated with TradingView, Inc. "TradingView", "Pine Script" and "Lightweight Charts" are trademarks of TradingView, Inc.
M0-M7 complete, M8 landed (part B awaits one live run): server boots with public/data defaults; opt-in toolsets for SMC scanning, chart rendering, backtesting, FX Replay journal sync, TradingView-account data (session), Pine compile, Desktop CDP (35 tools: app launcher, screenshots, API-driven symbol/timeframe/viewport navigation, drawing on the live chart, reading and configuring the user's own indicators — plot values, Pine-drawn FVG/OB zones incl. compact levels/zones, input changes with read-back —, Strategy Tester report, bar replay, and the Pine Editor: get/set source, compile-on-chart with error markers, save, open saved scripts; M8: scored chart-tab binding, generic UI find/click, level-tag checks on the chart's own bars, workspace preparation, surgical byte-verified Pine edits, own-copy protection, and tv_desktop_pine_build_and_backtest - one call from source to Strategy Tester report), declarative strategies, and a hybrid mode beside the official TradingView MCP. M7 ports the six mechanisms worth having from the community bridge tradesdontlie/tradingview-mcp (MIT) into this server's driver — landmines in docs/PLAN.md. Ships a tv CLI (every tool = a subcommand emitting JSON), 11 companion skills, and a validated Claude Code plugin manifest. Open items: M1's trust gate still awaits the owner's real hand-labeled SMC setups; webhook receiver, MCP Apps, and the sandboxed Python strategy escape hatch are deferred. Roadmap: docs/PLAN.md.
/plugin marketplace add Miha21222/tradingview-mcp
/plugin install tradingview-mcp@tradingview-mcp-marketplace
The install registers two servers: this one (tradingview, stdio) and the official TradingView MCP (mcp-tradingview, https://mcp.tradingview.com/mcp). It prompts for optional credentials (OANDA practice key, TradingView sessionid) and operator settings (TV_TOOLSETS, TV_READ_ONLY, ...). Plugin default is TV_TOOLSETS=hybrid; set it to default (= public,data) for a zero-account setup that does not need the official server. Requires uv on PATH.
TradingView ships an official MCP (public beta, needs an Essential+ plan, OAuth via /mcp). It covers quotes, screener, symbol search, news, economic/earnings/dividend calendars, fundamentals, filings, price alerts and watchlists — and nothing else: no charts, indicators, Pine, drawings, replay, backtests or desktop access; bars delayed 15+ minutes; no history paging beyond the last 5000 bars; no broker-CFD symbols in its screener.
This project is built to run next to it, not instead of it:
| Job | Server |
|---|---|
| quotes, screener, search, news, calendars, fundamentals, alerts, watchlists | official mcp-tradingview |
| deep/free OHLCV history, realtime session feed, SMC/ICT scans, chart rendering, backtests, strategies, Pine compile, journal, TradingView Desktop (CDP) | this server, TV_TOOLSETS=hybrid (+ session, desktop as opt-ins) |
hybrid = data,scan,chart,backtest,pine,journal,strategy,calendar: it drops the public toolset (the official screener replaces it) and keeps tv_setup_doctor, which now registers regardless of toolsets. The tradingview-hybrid skill holds the per-job routing table and the official beta's verified limits. Users without a qualifying TradingView plan keep TV_TOOLSETS=default,... and ignore the official entry — the two servers are independent.
uv sync
uv run python -m tvmcp --check # list registered tools
uv run python -m tvmcp # run on stdio
uv run tv --check # CLI: list tools
uv run tv tv_data_get_bars '{"symbol":"EURUSD","count":10}' # CLI: call any tool -> JSON
The opt-in chart toolset renders via headless Chromium; run uv run playwright install chromium once if you enable it. Enable opt-in toolsets via TV_TOOLSETS=default,scan,chart,backtest,journal.
Claude Code: the repo's .mcp.json registers both servers automatically when you trust the project (tradingview with TV_TOOLSETS=hybrid, plus the official mcp-tradingview).
npx claudepluginhub miha21222/tradingview-mcp --plugin tradingview-mcpBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground