← Back to directory
T

TradingView MCP Server

Community
Expose TradingView market data, multi-exchange screeners, and a backtesting engine to AI assistants
GitHub source repository ↗
★ 148 Stars Category · Other Popular
62FMRS · C

A feature-rich independent TradingView MCP server: 36 tools spanning screeners, technical analysis, sentiment, news, and backtesting, built with strict TypeScript, layered architecture, and optional Redis caching, with solid tests and docs; however it is not affiliated with TradingView and backtest results are not financial advice.

Reliability
8/20
Security and permissions
14/20
Maintenance
11/20
Documentation
16/20
Setup experience
13/20
Read the FMRS scoring method →

TradingView MCP Server is a production-oriented open-source Model Context Protocol server exposing 36 tools for TradingView market data, multi-exchange screeners (crypto, US equities, EGX, BIST, HKEX, SSE, TWSE and more), technical analysis (Bollinger ratings, RSI, multi-timeframe alignment, volume breakouts, candle patterns), Reddit sentiment, RSS financial news, Yahoo Finance quotes, and a built-in backtesting engine with 9 strategies including Sharpe, Calmar, and walk-forward overfitting detection. It is an independent open-source project, not affiliated with TradingView Inc.; outputs are for research and education only, not financial advice.

Setup

Requires Node.js 18+, npm 9+, and optionally Redis 6+. Clone the repository, then run npm install and npm run build to produce dist/index.js. In Claude Desktop, set command to node with args pointing at the built binary; in Cursor / VS Code MCP, point the config at the same binary and restart the host. Alternatively use docker compose up -d for a Redis-enabled setup. Configuration is via a .env file (see .env.example) with variables for LOG_LEVEL, REDIS_ENABLED, cache TTLs, retry backoff, concurrency cap, and proxy.

claude_desktop_config.json
{"mcpServers":{"tradingview":{"command":"node","args":["D:/path/to/tradingview-mcp/dist/index.js"]}}}

Fit and risk

Best for

  • Traders and quant hobbyists researching market data inside AI assistants
  • Users of MCP clients such as Claude Desktop and Cursor
  • Developers who need a cacheable, fault-tolerant market data pipeline

Not for

  • Users seeking real financial advice or guaranteed returns
  • Users needing live order execution or brokerage integration
  • Users expecting an officially certified TradingView server

Required permissions

  • Access to public scanner.tradingview.com endpoints
  • Access to Yahoo Finance, Reddit JSON API, and RSS financial feeds
  • Optional Redis connection (REDIS_URL / host / port)
  • No TradingView account or API key required

Risks and side effects

  • Backtests use historical data with simulated costs and do not predict future results
  • Relies on public endpoints subject to rate limits or upstream failures
  • Outputs are informational only, not financial advice
  • Not an official TradingView project

Troubleshooting

  1. An empty [] result means no symbols matched filters today — adjust filters
  2. ALL_BATCHES_FAILED indicates upstream failure; retry later and check network
  3. On timeouts, reduce batch size and enable caching
  4. Redis outages degrade gracefully to in-memory cache; check REDIS_URL and firewall
  5. Windows first-launch timeout: run npm run build before configuring your MCP host
  6. Requires Node 18+; verify with node --version

Use cases

Query multi-exchange gainers/losers and screener results via natural language
Run RSI, Bollinger, and multi-timeframe technical analysis
Backtest 9 strategies with Sharpe/Calmar and overfitting detection
Aggregate Reddit sentiment, RSS news, and Yahoo Finance quotes into combined analysis

Supported clients

Claude DesktopFull support
CursorFull support