---
name: tradingview-screener-mcp
description: Use when you want Claude to run market screeners, technical analysis and backtests on stocks, crypto, forex or futures; it connects Claude to an open-source MCP server with 39 tools for screening, multi-timeframe analysis, backtesting and sentiment.
---
# TradingView Screener and Backtest MCP Server
## What it does
Connects Claude (or any MCP client) to an open-source market-analysis server with 39 tools, covering:
- **Backtesting engine**: `backtest_strategy` (9 strategies: rsi, bollinger, macd, ema_cross, supertrend, donchian, rsi_pullback, keltner_breakout, triple_ema), `compare_strategies`, and `walk_forward_backtest_strategy` (train/test overfitting check: ROBUST/MODERATE/WEAK/OVERFITTED).
- **Technical analysis core**: full TA with 23 indicators, Bollinger Band rating, candlestick pattern detection, multi-timeframe (weekly→15m) alignment, and multi-exchange screeners with 20+ filter criteria.
- **Yahoo Finance prices**: real-time quotes and a global market snapshot (S&P500, NASDAQ, VIX, BTC, ETH, EUR/USD, SPY, GLD).
- **Global stock screener**: common/preferred shares by country market, direct symbol price lookup.
- **Sentiment & news**: `market_sentiment`, `financial_news`, and the combined `combined_analysis` tool (technicals + sentiment + news in one call).
- Multi-exchange coverage: Binance, KuCoin, Bybit, NASDAQ/NYSE, EGX (Egypt), BIST (Turkey), Europe/Canada exchanges, India (NSE/BSE) and Indonesia (IDX).
The project does not log into or automate your TradingView account; it pulls from public market-data endpoints. It does not execute trades. A hosted version (TradingMCP) exists, but self-hosting this repo is free under the MIT license.
## What you need
- Python 3.10–3.13
- `uv` (or `pip`) to install the package
- Claude Desktop or Claude Code (or another MCP client)
- Optional: a free Marketaux API key (100 requests/day) to enable the `financial_news` and `market_sentiment` tools with licensed news/sentiment data — without it, those two tools return a "not configured" note and everything else still works
- No TradingView account or API key required
## Setup
Install the package:
```bash
pip install tradingview-mcp-server
```
Optional — enable news and sentiment tools:
```bash
export MARKETAUX_API_TOKEN=your_token_here
```
Add to Claude Code:
```bash
claude mcp add tradingview -- uvx --from tradingview-mcp-server tradingview-mcp
```
Add to Claude Desktop (`claude_desktop_config.json`):
```json
{
"mcpServers": {
"tradingview": {
"command": "/Users/YOUR_USERNAME/.local/bin/uvx",
"args": ["--from", "tradingview-mcp-server", "tradingview-mcp"]
}
}
}
```
On Linux, replace `/Users/YOUR_USERNAME` with `/home/YOUR_USERNAME`. On Windows, use `%USERPROFILE%\.local\bin\uvx.exe`.
Or run from source:
```bash
git clone https://github.com/atilaahmettaner/tradingview-mcp
cd tradingview-mcp
uv run tradingview-mcp
```
Restart Claude Desktop (or start a fresh Claude Code session) after adding the config.
## How to use it with Claude
- "Show today's top crypto gainers on Binance."
- "Run a full technical analysis of NVDA."
- "What's the multi-timeframe read on gold?"
- "Backtest an RSI strategy on BTC on the daily timeframe."
- "Compare all 9 strategies on MSFT for 2 years."
- "Run a walk-forward backtest on supertrend for SPY and tell me if it's overfitted."
Market data may be delayed, inaccurate or incomplete, and outputs are not financial advice — the project's README states this explicitly.
## Credits
Made by atilaahmettaner (tradingview-mcp), packaged by Orbit.
https://github.com/atilaahmettaner/tradingview-mcp — license: MIT