Tradingview Desktop MCP
MCP server by Mochamad-Rizky Verified · npm:tradingview-desktop-mcp
Lets AI assistants read and control the TradingView Desktop app on your own machine. It drives the app you are logged in to over the Chrome DevTools Protocol and does not call TradingView's servers. Aimed at traders and developers who use TradingView Desktop.
Install Tradingview Desktop MCP
Built from the published package, never by AI.
claude mcp add tradingview-desktop-mcp -- npx -y tradingview-desktop-mcpRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Tradingview Desktop MCP in Claude Code
{
"mcpServers": {
"tradingview-desktop-mcp": {
"args": [
"-y",
"tradingview-desktop-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Tradingview Desktop MCP in Claude Desktop
{
"mcpServers": {
"tradingview-desktop-mcp": {
"args": [
"-y",
"tradingview-desktop-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"tradingview-desktop-mcp": {
"args": [
"-y",
"tradingview-desktop-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add tradingview-desktop-mcp -- npx -y tradingview-desktop-mcp{
"mcpServers": {
"tradingview-desktop-mcp": {
"args": [
"-y",
"tradingview-desktop-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Tradingview Desktop MCP in Antigravity CLI
gemini mcp add tradingview-desktop-mcp npx -y tradingview-desktop-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the tradingview-desktop-mcp block.
About
Tradingview Desktop MCP is an MCP server that lets AI assistants read and control the TradingView Desktop app on your own machine. It connects over the Chrome DevTools Protocol to the debug port that the app opens when it starts with --remote-debugging-port. The server offers chart, market data, indicator, Pine Script, Strategy Tester, drawing, alert and watchlist tools, plus a web dashboard that shows calls live.
Written from the project's README and checked against it.
Tools it gives your assistant
chart_get_stateReads the current chart, including the symbol, timeframe and indicators.data_get_ohlcvReads the bars of the chart, such as the last daily candles.indicator_addAdds an indicator to the chart, within the limits of your plan.batch_runRuns several tools in one call.Pine Script toolsWork with the Pine editor, saved scripts, compile results and the script console.Strategy Tester toolsRead strategy results, trades and equity.Drawing, alert and watchlist toolsManage drawings, alerts and the active watchlist.
What you need
- TradingView Desktop, installed and logged in
- Node.js 20.19 or newer
- macOS (tried), Windows and Linux (best effort)
Try asking
- What am I looking at on my chart? Tell me the symbol and timeframe.
- Show me the last 3 daily candles on my chart.
- Add the MACD to my chart.
Good to know
- Pre-1.0, so tool names and options may change before 1.0.
- Only automates the local app. It does not log in for you or get around plan limits.
- Has been tried on macOS. Windows and Linux are best effort.
- Remote use over HTTP needs a tunnel and a strong token, and exposes control of your logged-in TradingView.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Tradingview Desktop MCP
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
Tradingview Desktop MCP: common questions
Does it send my data to TradingView's servers?
The source says it only automates the local app and does not call TradingView's servers.
Do I need to log in through the server?
No. The server does not log in for you. You use the TradingView Desktop app you are already logged in to.
Can I use it with ChatGPT?
ChatGPT cannot start a program on your computer, so it needs a public HTTPS tunnel to the server, set up by hand.
How do I install Tradingview Desktop MCP?
In Claude Code run claude mcp add tradingview-desktop-mcp -- npx -y tradingview-desktop-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Tradingview Desktop MCP the official server?
Tradingview Desktop MCP is published by npm:tradingview-desktop-mcp from its verified domain in the official MCP Registry.
Is Tradingview Desktop MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Tradingview Desktop MCP safe to use?
It scores 68 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Tradingview Desktop MCP?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does Tradingview Desktop MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
