atilaahmettaner/tradingview-mcp

View on GitHub ↗

TradingView MCP server — real-time market data, technical analysis, screeners & backtesting for Claude, ChatGPT, Cursor & any MCP client. Stocks, crypto, forex & futures across global exchanges. Hosted or self-host.

3,999 ★866 forksPythonUpdated 1mo ago

What you need to know

TradingView MCP server providing real-time market data, technical analysis indicators, screeners, and backtesting for stocks, crypto, forex & futures across global exchanges — 37 tools with no TradingView account or API key required (market data fetched server-side from public endpoints).

Install

pip install tradingview-mcp-server
Claude Desktop config: {"command": "uvx", "args": ["--from", "tradingview-mcp-server", "tradingview-mcp"]}
uv run tradingview-mcp   # run from source
Hosted zero-setup option: paste one connector URL from pro.cryptosieve.com

Usage

  • •Ask in any MCP client, e.g. "Show today's top crypto gainers on Binance", "Run a full technical analysis of NVDA", "Backtest an RSI strategy on BTC on the daily timeframe", "Compare all 9 strategies on MSFT for 2 years".
  • •Optional: export MARKETAUX_API_TOKEN for financial_news / market_sentiment (free tier, 100 requests/day, cached 4h).
  • •On Windows, pin Python 3.13 (`--python 3.13`) because Python 3.14 wheels are not yet available for some native deps.
  • •OpenClaw integration: connect to Telegram/WhatsApp/Discord via OpenClaw gateway using the included openclaw/SKILL.md and trading.py wrapper (no MCP protocol needed between OpenClaw and the server).

Key features

  • ✓37 tools: backtesting engine (9 strategies — rsi, bollinger, macd, ema_cross, supertrend, donchian, rsi_pullback, keltner_breakout, triple_ema — with Sharpe/Calmar/Expectancy, walk-forward backtesting with overfitting verdict, trade log + equity curve).
  • ✓Yahoo Finance real-time prices (stocks, crypto, ETFs, indices, FX, Turkish stocks) and market snapshot; multi-exchange screeners (Binance, KuCoin, Bybit, NASDAQ/NYSE, EGX, BIST).
  • ✓Technical analysis core (23 indicators with BUY/SELL/HOLD, proprietary ±3 Bollinger rating, candlestick patterns, multi-timeframe alignment) and AI sentiment/intelligence (Reddit sentiment, live news, combined_analysis power tool).
  • ✓Resilience layer (retry + 60s TTL cache), async hot-path tools, structured error envelopes with retryable flags.
  • ✓Interactive in-conversation candlestick charts via MCP Apps on the hosted version.

Best for

AI assistants answering market-data, technical-analysis, screener, and strategy-backtesting questions across global exchanges without a TradingView account or API keys.

Caveats

  • ⚠Not affiliated with or endorsed by TradingView Inc.; does not log into/scrape/automate a TradingView session.
  • ⚠Not financial advice — informational/educational tool; you are responsible for compliance with the terms of any data source.
  • ⚠Python 3.14 not supported yet (pin to 3.13 for prebuilt wheels); on macOS use full path to uvx as GUI apps may lack ~/.local/bin in PATH.
  • ⚠financial_news / market_sentiment need a free Marketaux token (otherwise they return a 'not configured' note).
  • ⚠Hosted version is paid: $9/mo Pro (2,500 req/mo) or $29/mo Pro+ (10,000 req/mo), 3-day trial; self-hosting stays free forever.
Platforms: macOS · Linux · WindowsClients: Claude · ChatGPT · Cursor · Copilot · Codex · OpenClaw (Telegram/WhatsApp/Discord)

Reviewed 2026-08-07

Topics

claude-desktopcryptocurrencyfuturesmarket-datamcp-servermcp-toolsmodel-context-protocolopenclawstock-markettechnical-analysistrading-mcptrading-strategiestradingview
Stars
3,999★
Forks
866
Language
Python
License
MIT
Created
2025-08-08
Last push
2026-08-07