Frozo Tradingview Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Frozo Tradingview Mcp (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Your personal AI trading assistant that sees your TradingView chart, understands your trading style, and coaches you through every decision.
84 MCP tools | 30 skills | 32 slash commands | Telegram alerts | Dhan broker bridge | trader profile
Paste this into Claude Code and it handles everything:
Install the TradingView MCP server from https://github.com/frozo-ai/frozo-tradingview-mcp.git — clone it, run npm install, add it to my .mcp.json, launch TradingView with debug port, and verify with tv_health_check. Then run /tv-profile-setup to set up my trader profile.Or for any AI assistant with MCP support (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"tradingview": {
"command": "node",
"args": ["src/server.js"],
"cwd": "/path/to/frozo-tradingview-mcp"
}
}
}Every number below is pulled live from a running TradingView chart via CDP:
Demo
Run it yourself: bash demo/claude-demo.sh (requires TradingView Desktop running)Claude Code / Desktop / Cursor
|
| MCP protocol (stdio)
v
TradingView MCP Server (Node.js, 84 tools)
|
| Chrome DevTools Protocol (localhost:9222)
v
TradingView Desktop (Electron)
|
+----+----+----+
| | |
Trader Telegram Dhan Broker
Profile Bot API (MCP bridge)[!WARNING] Not affiliated with TradingView Inc. or Anthropic. Interacts with your locally running TradingView Desktop via Chrome DevTools Protocol. Review the Disclaimer before use.
[!IMPORTANT] Requires a valid TradingView subscription. Does not bypass any access controls. All data stays on your machine.
Most trading tools give you data. This one gives you a trading coach that:
git clone https://github.com/frozo-ai/frozo-tradingview-mcp.git
cd frozo-tradingview-mcp
npm install# Mac
./scripts/launch_tv_debug_mac.sh
# Windows
scripts\launch_tv_debug.bat
# Linux
./scripts/launch_tv_debug_linux.sh
# Or manually on any platform
/path/to/TradingView --remote-debugging-port=9222Add to your project .mcp.json:
{
"mcpServers": {
"tradingview": {
"command": "node",
"args": ["/path/to/frozo-tradingview-mcp/src/server.js"],
"cwd": "/path/to/frozo-tradingview-mcp"
}
}
}Add to ~/Library/Application Support/Claude/claude_desktop_config.json (Mac):
{
"mcpServers": {
"tradingview": {
"command": "node",
"args": ["/path/to/frozo-tradingview-mcp/src/server.js"],
"cwd": "/path/to/frozo-tradingview-mcp"
}
}
}Ask Claude: "Use tv_health_check to verify TradingView is connected"
/tv-profile-setupThis guided interview builds trader-profile.json — your identity file that personalizes everything.
Run /tv-pro-workflow and the AI auto-detects the current time and executes the right phase:
/tv-newsFetches global market news via web search: US close, Asia futures, GIFT Nifty, India VIX, FII/DII data, RBI/Fed updates.
/tv-morning-prep/tv-gap # Classify gap type (Common/Breakaway/Exhaustion/Island)
/tv-opening-range # IB analysis + open type (OD/OTD/ORR/OA) + draw levels
/tv-regime # Market regime (Trending/Ranging/Volatile/Choppy)/tv-validate-trade # Go/no-go checklist against YOUR rules
/tv-position-size # F&O-aware lot sizing (NIFTY 75, BANKNIFTY 30)
/tv-dhan-execute # Place order on Dhan (with confirmation)
/tv-session # Live dashboard: P&L, risk budget, trade count
/tv-divergence # NIFTY vs BANKNIFTY/VIX correlation monitor/tv-eod-report # Session summary + compliance audit
/tv-journal # Auto-generate trade journal entry
/tv-journal-review # Weekly behavioral pattern analysis| Phase | Command | What It Does |
|---|---|---|
| Setup | /tv-profile-setup | Guided interview to build your trader profile |
| Setup | /tv-layout | Save/load multi-pane chart layouts |
| Setup | /tv-telegram | Set up Telegram bot for mobile alerts |
| Daily | /tv-start-session | One command: health check + crons + session tracker + morning prep |
| Daily | /tv-pro-workflow | Complete 5-phase professional workflow with news |
| Pre-Market | /tv-news | Global market news via web search |
| Pre-Market | /tv-morning-prep | Full morning briefing (GIFT Nifty, VIX, expiry, sectors) |
| Pre-Market | /tv-sectors | Sector rotation heatmap (10 Indian sectors) |
| Open | /tv-gap | Gap type classification |
| Open | /tv-opening-range | Initial Balance analysis + draw levels |
| Open | /tv-regime | Market regime detector |
| Analysis | /tv-analyze-chart | Full chart analysis report |
| Analysis | /tv-multi-tf | Multi-timeframe confluence (3-4 TFs, scored 1-10) |
| Analysis | /tv-divergence | Nifty vs BankNifty/VIX/USDINR divergence monitor |
| Analysis | /tv-compare | Compare current chart to a historical date visually |
| Analysis | /tv-backtest-pattern | Scan history for pattern occurrences + statistics |
| Trading | /tv-validate-trade | Go/no-go checklist with expiry + session awareness |
| Trading | /tv-position-size | F&O-aware position sizing (lot multiples) |
| Trading | /tv-options | Option strategy suggester (strikes from chart levels + VIX) |
| Trading | /tv-dhan-execute | TradingView analysis to Dhan broker execution bridge |
| Trading | /tv-alert-analyze | Instant GO/NO-GO when an alert fires (<30 sec) |
| Trading | /tv-rules | Natural language rules engine + monitoring |
| Trading | /tv-similar-trades | Find matching trades in your journal history |
| Trading | /tv-session | Live session dashboard (P&L, risk budget, time alerts) |
| Review | /tv-journal | Auto-generate trade journal entry |
| Review | /tv-what-if | "What if I held longer?" exit strategy comparison |
| Review | /tv-eod-report | End-of-day report with compliance audit |
| Review | /tv-journal-review | Weekly/monthly behavioral pattern analysis |
| Strategy | /tv-strategy-report | Backtest performance report |
| Strategy | /tv-scan-symbols | Multi-symbol screening |
| Development | /tv-pine-generate | Natural language to Pine Script indicator |
| Practice | /tv-replay-coach | Coached replay with behavioral tracking |
The trader-profile.json file defines WHO you are. Every skill adapts to it.
# Option 1: Guided interview
/tv-profile-setup
# Option 2: From template
cp trader-profile.example.json trader-profile.json
# Edit with your details| Section | What It Affects |
|---|---|
identity | Name, style (scalper/intraday/swing), experience level |
instruments | Primary symbols, watchlist, default timeframe |
risk | Account size, risk %, max daily loss, max consecutive losses, lot sizes |
session | Trading hours, no-trade zones, expiry day rules |
entry_rules | Required conditions, preferred conditions, forbidden conditions |
exit_rules | Stop method, target method, trailing rules, min R:R |
indicators | Trusted indicators, ignored indicators, custom signal definitions |
behavioral_notes | Known weaknesses, strengths, coaching tone preference |
telegram | Bot token, chat ID, which alerts to send |
journal | Directory, screenshot inclusion, emotion tracking |
Get trading notifications on your phone — trade entries, session warnings, morning briefs, EOD reports.
/newbot, get your bot tokenhttps://api.telegram.org/bot<TOKEN>/getUpdates to get your chat_idtrader-profile.json:"telegram": {
"bot_token": "YOUR_TOKEN",
"chat_id": "YOUR_CHAT_ID"
}/tv-telegram or tv telegram test| Event | Telegram Message |
|---|---|
| Morning prep completes | Condensed brief with bias |
| Trade entry logged | Entry details + size |
| Trade exit logged | P&L result (WIN/LOSS) |
| 2 consecutive losses | Warning to stop |
| Session status RED | Alert: limits hit |
| Alert fires | GO/NO-GO analysis |
| EOD report | Day summary with stats |
Built-in support for NSE/BSE F&O trading:
If you have the dhan-tradehull MCP server connected, the bridge enables:
Chart Analysis (TradingView) --> Validation --> Position Sizing --> Order Placement (Dhan)Every tool is also a tv CLI command with JSON output:
# Profile management
tv profile view # Show your profile summary
tv profile init # Create from template
tv profile validate # Check for missing fields
# Risk management
tv risk position-size --entry 22700 --stop 22650 # Uses profile defaults
# Telegram
tv telegram test # Test connection
tv telegram send -m "msg" # Send message
tv telegram screenshot -f chart.png -c "Setup"
# Chart operations
tv status # Connection check
tv quote # Current price
tv ohlcv --summary # Price summary
tv screenshot # Capture chart
# All commands
tv --helpMorning news brief is pushed to Telegram at 8:27 AM IST via scheduled remote agent.
Run /tv-start-session each morning — it sets up all intraday crons:
| Time | What Runs |
|---|---|
| 9:33 AM | Gap analysis + Opening Range |
| 9:38 AM | Market regime + Sector rotation |
| 12:03 PM | Mid-day dashboard + Divergence check |
| 3:17 PM | EOD report + Journal |
| Every 30 min | Rules monitor |
chart_get_state data_get_study_values quote_get data_get_ohlcv
data_get_pine_lines data_get_pine_labels data_get_pine_tables data_get_pine_boxes
chart_set_symbol chart_set_timeframe chart_set_type chart_manage_indicator chart_scroll_to_date chart_set_visible_range symbol_info symbol_search indicator_set_inputs indicator_toggle_visibility
pine_set_source pine_smart_compile pine_get_errors pine_get_console pine_get_source pine_save pine_new pine_open pine_list_scripts pine_analyze pine_check
replay_start replay_step replay_autoplay replay_trade replay_status replay_stop
risk_position_size
telegram_send telegram_send_screenshot telegram_trade_alert telegram_test telegram_status
draw_shape draw_list draw_remove_one draw_clear draw_get_properties alert_create alert_list alert_delete
pane_list pane_set_layout pane_focus pane_set_symbol tab_list tab_new tab_close tab_switch
ui_click ui_keyboard ui_type_text ui_hover ui_mouse_click ui_scroll ui_find_element ui_evaluate ui_open_panel ui_fullscreen
batch_run capture_screenshot watchlist_get watchlist_add layout_list layout_switch depth_get
tv_health_check tv_launch tv_discover tv_ui_state
| Category | Skill | Purpose |
|---|---|---|
| Setup | profile-setup | Guided interview to build trader identity |
| Pre-Market | morning-prep | Full morning briefing with GIFT Nifty, VIX, expiry |
| Pre-Market | sector-scan | 10 Indian sector indices rotation heatmap |
| Open | gap-analysis | Gap type classification and fill probability |
| Open | opening-range | Initial Balance + open type classification |
| Analysis | chart-analysis | Full chart analysis report |
| Analysis | multi-tf-confluence | Multi-timeframe signal agreement scoring |
| Analysis | regime-detector | Trending/Ranging/Volatile/Choppy classification |
| Analysis | divergence-monitor | Nifty vs BankNifty/VIX/USDINR correlations |
| Analysis | screenshot-compare | Compare chart to historical date |
| Analysis | pattern-backtest | Scan history for pattern occurrences |
| Trading | trade-setup-validator | Go/no-go checklist with profile rules |
| Trading | option-strategy | Option strategy from chart bias + VIX |
| Trading | dhan-bridge | TradingView to Dhan broker execution |
| Trading | alert-analyzer | Instant analysis when alert fires |
| Trading | rules-engine | Natural language rules + monitoring |
| Trading | trade-similarity | Find similar trades in journal history |
| Trading | session-tracker | Live P&L dashboard and risk management |
| Review | auto-journal | Auto-generate trade journal entries |
| Review | what-if-replay | Exit strategy comparison |
| Review | auto-report | EOD report with compliance audit |
| Review | journal-review | Weekly/monthly behavioral pattern analysis |
| Strategy | strategy-report | Backtest performance report |
| Strategy | multi-symbol-scan | Batch symbol screening |
| Development | pine-develop | Pine Script write/compile/debug loop |
| Development | pine-generator | Natural language to Pine Script |
| Practice | replay-practice | Basic replay stepping |
| Practice | replay-coach | Coached replay with behavioral tracking |
| Presets | layout-presets | Save/load multi-pane configurations |
| Alerts | telegram-alerts | Telegram bot setup and notification management |
Claude Code / Desktop
|
| (stdio / MCP protocol)
v
MCP Server (Node.js)
|
| (Chrome DevTools Protocol, localhost:9222)
v
TradingView Desktop (Electron)
|
+----+----+
| |
Profile Telegram Dhan Broker
(.json) (Bot API) (MCP bridge)Dependencies: @modelcontextprotocol/sdk, chrome-remote-interface (that's it)
npm test # E2E + unit tests
npm run test:unit # Pine analysis + CLI tests (no TradingView needed)
npm run test:all # All tests including replay29 tests covering: Pine Script static analysis, server-side compilation, CLI routing, replay mode, and input sanitization.
This project explores: how can LLM agents interact with professional trading interfaces to support human decision-making?
Key findings:
See RESEARCH.md for open questions and findings.
This project is provided for personal, educational, and research purposes only.
This tool uses Chrome DevTools Protocol (CDP), a standard debugging interface built into all Chromium/Electron applications. It does not reverse engineer any proprietary protocol, connect to TradingView's servers, or bypass any access controls. The debug port must be explicitly enabled by the user.
By using this software, you acknowledge:
Use at your own risk. If unsure about compliance, do not use this tool.
Not affiliated with TradingView Inc. or Anthropic, PBC.
MIT — see LICENSE. Applies to source code only, not to TradingView's software, data, or trademarks.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.