tradingview-mcp icon

tradingview-mcp

by tradesdontlie

communitystdiogithub
4.2kstars|2.0kforks
Works withClaude DesktopCursorVS CodeWindsurf

About

MCP server that connects Claude Code to TradingView Desktop for AI-assisted chart analysis.

Features

  • Connects Claude Code to a local TradingView Desktop session
  • Uses Chrome DevTools Protocol on localhost with explicit debug-port launch
  • Documents 78 MCP tools plus CLI commands for chart workflows
  • Includes setup scripts for macOS, Windows, and Linux
  • Provides health-check tooling to verify the TradingView connection

Use Cases

Quant and trading builders

Ask Claude Code to inspect chart state, verify a TradingView connection, and automate personal chart-analysis workflows.

MCP power users

Run TradingView Desktop locally and expose chart context to an MCP-compatible coding assistant.

What This Server Can Do

MCP servers expose three types of capabilities to AI clients. Here's what tradingview-mcp supports.

Tools

Supported78 tools

Functions your AI client can call to perform actions — like querying a database, creating a file, or calling an API.

How to use: Tools run automatically when your AI client decides they're needed. Ask your AI assistant to perform a task, and it will invoke the right tool.

Resources

Not available

This server does not expose read-only data resources.

Prompts

Not available

This server does not provide pre-built prompt templates.

For the full list of available tools, resources, and prompts, check the README on GitHub.

Available Tools (2)

tv_health_check

Verify that the local TradingView Desktop connection is available.

tv_launch

Launch or help start TradingView in debug mode for MCP use.

Frequently Asked Questions