mrkeyoor.com_
Tue 01 Sept 17:45 UTC
AI Toolsevaluationupdated 27 Aug 2026

tradingview-mcp review

TradingView MCP Bridge gives Claude Code and other MCP clients tools to read and control a locally running TradingView Desktop chart through its Electron debugging interface. It covers chart state, Pine Script editing, indicators, drawings, alerts, replay, screenshots, layouts, and a parallel JSON command-line interface.

+95stars / 7d
Verdict

Our tradingview-mcp run installed in 13 seconds, but 1 of 17 tests failed and npm audit found 7 known vulnerabilities. Use it only as a supervised personal research and Pine-development bridge, with a pinned TradingView Desktop version and read-after-write checks for every UI mutation. Do not use it as a trading bot, a dependable market-data feed, or an unattended editor for saved scripts.

We ran it

Lab card: what happened when we ran tradingview-mcpScreenshot of tradingview-mcp (github.com/tradesdontlie/tradingview-mcp)
Install✓ · 13s185 packages · 44 MB
Buildn/ano build script
Tests✗ · 10s16 passed · 1 failed of 17 (node:test)
Known vulns70 critical · 4 high · 2 moderate · 1 low (npm audit)
Repo85 files~9,667 lines of source · 0.5 MB · 1 CI workflows · tests dir

Answers from our run

Does tradingview-mcp build from source?

Dependencies installed in 13 seconds (185 packages), and the project has no separate build step. We cloned commit c05b8f5 into a clean Debian container with 3 CPUs and no project-specific setup.

Do tradingview-mcp's tests pass?

Not all of them: 16 of 17 passed and 1 failed when we ran the project's own test command (node:test). Some failures need services or credentials a bare container does not have.

Does tradingview-mcp have known vulnerabilities in its dependencies?

npm audit flagged 7 known advisories in the dependency tree at the time of our run.

Who should not use tradingview-mcp?

Anyone seeking automated trade execution: the README explicitly says the bridge does not execute real trades.

What are the alternatives to tradingview-mcp?

TradingView MCP, PineScript MCP Server, Playwright. Our tradingview-mcp run installed in 13 seconds, but 1 of 17 tests failed and npm audit found 7 known vulnerabilities.

Setup2/5Fast install, but Desktop, CDP, MCP config, and subscription are required
Docs3/5Detailed tool guide, but setup paths and tool counts conflict
Community3/55,864 stars; issues active after the July 28 last push
Maturity2/5Undocumented APIs, false-success reports, and no releases

Who it’s for

Pine Script developers who want an assistant to inspect, edit, compile, and debug code against a local chart.
Researchers studying how agents interact with a stateful financial desktop interface.
TradingView subscribers who can supervise every UI action and verify chart state after each change.
Developers building personal, local workflows that never place real orders.

Who it’s NOT for

Anyone seeking automated trade execution: the README explicitly says the bridge does not execute real trades.
Teams requiring a supported TradingView API contract: the project uses undocumented Electron internals that may break after a desktop update.
Users who cannot risk saved Pine scripts: issue 475 reports that pine_new and pine_open can change the current buffer and later overwrite the bound saved script.
Workflows that trust a returned success flag without reading the chart back: open reports show replay and drawing actions claiming success when the UI did not change.
Organizations unable to review TradingView terms for programmatic data consumption or to secure a local remote-debugging port.

Setup reality

Our sandbox installed 185 npm packages in 13 seconds and used 44 MB. There was no build script, so build was skipped. Tests failed after 10 seconds: 16 passed and 1 failed out of 17. The tail showed Pine static analysis and server compile suites passing, but did not identify the failing test.

Useful operation needs Node 18 or newer, a valid TradingView subscription, TradingView Desktop, an MCP client such as Claude Code, and port 9222 enabled through a launch flag. No broker credentials are needed because it does not place real trades.

The bridge depends on undocumented TradingView internals and should be pinned to a tested desktop version. npm audit found 7 known vulnerabilities: 4 high, 2 moderate, and 1 low, with none critical. The README's global Claude Code config path has a current open correction report, so verify registration with the client CLI and tv_health_check.

A local MCP server gives an agent chart controls

TradingView MCP Bridge connects over stdio to an MCP client, then uses Chrome DevTools Protocol on localhost to inspect and control TradingView Desktop. Its tools read chart state, prices, bars, indicator values, Pine drawings, tables, and labels. Other calls change symbols or timeframes, compile Pine code, manage drawings and alerts, operate replay, capture screenshots, switch layouts, and interact with the UI.

The same surface is available through a tv command that emits JSON for shell pipelines. The README says the project itself does not contact TradingView servers, store market data, bypass subscriptions, or execute real trades. A valid TradingView subscription and installed desktop application remain prerequisites. Tool results consumed by an external model are also subject to that MCP client's provider and privacy behavior, which sits outside this repository.

Setup opens a debugging port into the desktop app

TradingView must launch with --remote-debugging-port=9222. Platform scripts cover macOS, Windows, and Linux, and a health tool checks the connection. The server needs Node 18 or newer. Users then register node src/server.js in an MCP client. The port grants debugging access to the Electron application, so it should remain local and unavailable to untrusted users or containers.

Our checkout was small: 85 files, about 9,667 source lines, and 0.5 MB before dependency installation. The README is far larger than the code summary because it documents many tools and command aliases. It also disagrees with itself about the exact tool count, naming 78 in one heading and 84 in the architecture section. Treat the server's live tools/list response as authoritative for a pinned commit.

What happened when we ran it

Our sandbox installed 185 packages in 13 seconds and used 44 MB on disk. The repository has no build script or target, so we skipped build rather than inventing one. Tests ended with exit code 1 after 10 seconds: Node reported 16 passing tests and 1 failing test out of 17 across 2 suites.

The supplied tail showed pine_analyze static analysis and pine_check server compilation suites passing, followed by the summary and a generic test failed error. It did not name the failed case, so our run cannot support a cause. npm audit separately reported 7 known vulnerabilities: 4 high, 2 moderate, 1 low, and 0 critical. Those findings apply to commit c05b8f5 and its installed dependency tree.

Undocumented internals make false success dangerous

The bridge reaches TradingView through an internal Electron object structure rather than a supported public automation API. The README warns that any desktop update may change or break it. A caller therefore needs to verify state after a mutation: read the symbol after switching it, list drawings after creating one, check replay status after stopping, and confirm the active Pine script name before saving.

Issue 484 reports that replay_stop returned success while replay remained active, which then affected drawing actions. Issue 488 describes a drawing call returning success with a null entity ID while no shape appeared. These reports concern specific charts and versions, but their shared failure shape matters. An agent cannot treat a successful JSON envelope as proof that a stateful desktop UI changed.

Pine actions can touch the wrong saved script

The most serious open report is issue 475. It says pine_new and pine_open replace text in the currently bound editor buffer instead of creating or switching the script binding. A later save can overwrite the script that was already open. The report inspected the source and reproduced the new-script path while avoiding a destructive full reproduction of the open-script path.

Until that behavior is fixed and verified, work on disposable script copies and export source before invoking mutation tools. Read the editor's actual bound name after opening or creating anything, then confirm it again before save. Pine static analysis and compile checks can still be useful without saving. Our lab's 16 of 17 result does not override a report of potential data loss in a UI path.

Indicator reads and client setup need verification

Issue 461 reports that the study-values command omitted RSI and MACD values living in non-price panes while still returning volume. If analysis depends on those indicators, compare the MCP output with the visible chart or read the relevant Pine data through another tool. A missing study should fail the workflow visibly, rather than silently becoming evidence for a market conclusion.

The README tells Claude Code users to write a global file under ~/.claude/.mcp.json. Issue 483 reports that this path is not read and recommends registering the server through the Claude CLI or using a project-root .mcp.json. Client configuration changes over time, so use the client's current registration command, list configured servers, and run tv_health_check before diagnosing TradingView itself.

Active issue reports do not replace a release process

GitHub showed 5,864 stars, 221 combined issues and pull requests, and a last source push on July 28, 2026. The latest-release endpoint returned no release. Issue activity continued through August 26, including detailed reproductions against commit c05b8f5, so the project has engaged users even though merged source had been quiet for about a month.

This is an inventive personal bridge and a useful research artifact. Its 13-second install makes experimentation cheap. The failed test, 7 audit findings, undocumented integration, stale source push, and false-success reports rule out unsupervised financial use. Keep it local, use copies of Pine scripts, pin every moving part, and require visible confirmation before believing an action completed.

Alternatives

ProjectWhat it isPick it when
TradingView MCPAn MCP server centered on market data, screening, technical analysis, and backtesting rather than desktop chart control.pick this instead when structured market-data tools matter more than manipulating a local TradingView window.
PineScript MCP ServerA narrower MCP server focused on Pine Script assistance.pick this instead when Pine authoring support is the job and chart-wide desktop automation is unnecessary.
Playwright gh↗A browser automation framework with explicit locators, assertions, traces, and test runners.pick this instead when automating a web interface you own and verifiable browser tests matter more than ready-made TradingView tools.

What people are saying

  1. [github-trending] tradesdontlie/tradingview-mcp

Sources

  1. TradingView MCP Bridge README
  2. TradingView MCP Bridge license
  3. Pine saved-script overwrite report
  4. Replay false-success report
  5. Claude Code setup-path report
  6. Indicator pane omission report

More ai tools reviews

claudian · SkillSpector · robin · mjlab · MoGe · awesome-design-md · the whole board →