TradingView

v1.0.0Finance & Fintechstable

Real-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.

claude-desktopcryptocurrencymcp-servermcp-toolsopenclaw
Share:
2,787
Stars
0
Downloads
0
Weekly
0/5

What is TradingView?

TradingView is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to real-time crypto & stock screening, advanced technical indicators, bollinger bands intelligence, candlestick patterns + native claude desktop integration. multi-exchange (binance, kucoin, bybit+). ope...

Real-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.

This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Real-time crypto & stock screening, advanced technical indic

Use Cases

Screen crypto and stocks with real-time technical indicators.
Analyze candlestick patterns and Bollinger Bands with AI.
harshil1502

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx tradingview

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use TradingView

tradingview-mcp is a focused, type-safe MCP server that bridges Claude Code (or any MCP client) with a locally running TradingView Desktop application via the Chrome DevTools Protocol. It exposes a clean set of tools to read chart state, switch symbols and timeframes, and fetch up to 5,000 OHLCV bars — all processed locally so no TradingView data leaves your machine. Traders and quant developers use it to let AI agents read and navigate charts, pull price history, and reason about market data interactively, without any screen scraping.

Prerequisites

  • Node.js 20+ installed
  • A valid TradingView subscription with TradingView Desktop installed
  • An MCP client such as Claude Code or Claude Desktop
  • TradingView Desktop launched with --remote-debugging-port=9222
1

Install tradingview-mcp globally

Install the package from npm so the tradingview-mcp binary is available on your PATH.

npm install -g tradingview-mcp
2

Launch TradingView Desktop with the CDP debug port

Quit any running TradingView Desktop first, then relaunch it with the Chrome DevTools Protocol debug port enabled. This is a standard Chromium debug flag and is opt-in.

# macOS
open -a "TradingView" --args --remote-debugging-port=9222

# Windows
& "C:\Users\<you>\AppData\Local\Programs\TradingView\TradingView.exe" --remote-debugging-port=9222

# Linux
tradingview --remote-debugging-port=9222
3

Verify the connection with the doctor command

Run the built-in diagnostic to confirm the CDP endpoint is reachable and TradingView is responsive before adding it to your MCP client.

tradingview-mcp doctor
4

Add tradingview-mcp to your MCP client configuration

Register the server in Claude Code's MCP config file. TV_MCP_PORT defaults to 9222 and only needs to be set if you used a different port.

5

Restart your MCP client

Restart Claude Code or Claude Desktop so it picks up the new MCP server entry and registers the chart tools.

TradingView Examples

Client configuration

Add tradingview-mcp to Claude Code's MCP config (~/.claude/mcp.json or project .mcp.json).

{
  "mcpServers": {
    "tradingview": {
      "command": "tradingview-mcp",
      "env": {
        "TV_MCP_PORT": "9222"
      }
    }
  }
}

Prompts to try

Example prompts to use with Claude once tradingview-mcp is connected.

- "What symbol and timeframe is my TradingView chart showing right now?"
- "Switch to NASDAQ:AAPL on a 1-hour chart and pull the last 200 OHLCV bars."
- "Change the chart to BTCUSDT on the 4h timeframe and calculate the average volume over the last 50 candles."
- "What studies are active on my current chart, and what is the last close price?"

Troubleshooting TradingView

tradingview-mcp doctor reports CDP endpoint not reachable

Make sure you quit TradingView Desktop completely before relaunching it with --remote-debugging-port=9222. On macOS, confirm the app fully quit via Activity Monitor. Then rerun the open -a command with the flag and verify with curl http://localhost:9222/json.

tvWidget not detected — chart state readable error

The TradingView page must be fully loaded and a chart must be open before the MCP server can read state. Wait for the chart to fully render, then retry. If you have multiple TradingView windows open, set TV_MCP_TARGET to the specific CDP target ID shown by curl http://localhost:9222/json.

Tools start returning errors after a TradingView Desktop update

TradingView's internal page API is undocumented and can change between Desktop releases. Check the project's connection/tradingview.ts file for the single location where TradingView's internal API is called. Pin the previously working TradingView Desktop version until a compatible release of tradingview-mcp is published.

Frequently Asked Questions about TradingView

What is TradingView?

TradingView is a Model Context Protocol (MCP) server that real-time crypto & stock screening, advanced technical indicators, bollinger bands intelligence, candlestick patterns + native claude desktop integration. multi-exchange (binance, kucoin, bybit+). open-source ai trading infrastructure. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install TradingView?

Follow the installation instructions on the TradingView GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with TradingView?

TradingView works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is TradingView free to use?

Yes, TradingView is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Finance & Fintech MCP Servers

Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "tradingview": { "command": "npx", "args": ["-y", "tradingview"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use TradingView?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides