{"repo":"atilaahmettaner/tradingview-mcp","free":true,"listed":false,"github":"https://github.com/atilaahmettaner/tradingview-mcp","clone":"git clone https://github.com/atilaahmettaner/tradingview-mcp.git","description":"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.","language":"Python","stars":3980,"topics":["claude-desktop","cryptocurrency","futures","market-data","mcp-server","mcp-tools","model-context-protocol","openclaw","stock-market","technical-analysis","trading-mcp","trading-strategies","tradingview"],"license":"MIT","category":"dev_tool","readme_excerpt":"# TradingView MCP Market Data & Technical Analysis for AI Assistants\n\n<a href=\"https://trendshift.io/repositories/25110\" target=\"_blank\"><img src=\"https://trendshift.io/api/badge/repositories/25110\" alt=\"atilaahmettaner%2Ftradingview-mcp | Trendshift\" style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"/></a>\n\n**TradingView MCP server** — real-time market data, technical indicators, screeners, and backtesting for Claude, ChatGPT, Cursor, Copilot, and any MCP client. Stocks, crypto, forex & futures across global exchanges.\nBacktesting + live sentiment + Yahoo Finance + 37 technical-analysis tools — the most complete TradingView MCP toolkit, all in one server.\n\n<p align=\"center\">\n  <img src=\".github/assets/tradingview-mcp-demo.gif\" width=\"820\" alt=\"TradingView MCP in an AI chat: ask for the top gainers on Binance and get ranked, real-time results — one of 37 tools\" />\n</p>\n\n**🆕 The hosted server now draws.** Ask for a chart and an interactive candlestick view (1d / 1h / 15m, optional Bollinger overlay) renders live **inside the conversation** via MCP Apps — and the AI reads the band values back to you:\n\n<p align=\"center\">\n  <img src=\"docs/assets/bollinger-15m-chart-demo.gif\" width=\"820\" alt=\"MCP Apps demo: asking Claude for a 15-minute Bollinger chart — an interactive candlestick chart with Bollinger Bands renders inside the conversation and Claude analyzes the band values\" />\n</p>\n\n**Paste one URL (or `pip install`), then just ask.** Real output, straight from the live server:\n\n<p align=\"center\">\n  <img src=\"assets/showcase-top-gainers.png\" width=\"820\" alt=\"Real output: top crypto gainers on KuCoin with 24h change, RSI and signal — ranked table returned in chat\" />\n</p>\n<p align=\"center\">\n  <img src=\"assets/showcase-gold-mtf.png\" width=\"820\" alt=\"Real output: multi-timeframe gold analysis — weekly to 15m trend alignment with a LEAN BULLISH verdict\" />\n</p>\n\n**Try these first** — they work in Claude, ChatGPT, Cursor, or any MCP client:\n\n```text\nShow today's top crypto gainers on Binance\nRun a full technical analysis of NVDA\nWhat's the multi-timeframe read on gold?\nBacktest an RSI strategy on BTC on the daily timeframe\n```\n\n> [!NOTE]\n> Independent open-source project — **not affiliated with, endorsed by, or associated with TradingView Inc.** \"TradingView\" is a trademark of its respective owner; this project consumes third-party market data and is not a TradingView product.\n\n> [!NOTE]\n> **Does it need — or risk — your TradingView account? No.** This server does **not** log into, scrape, or automate a TradingView session, and it requires no TradingView account or API key. Market data is fetched server-side from public endpoints, so there is no account of yours in the loop and no browser/UI automation. *(This is different from MCP servers that drive the TradingView Desktop app via Chrome DevTools.)* You are responsible for ensuring your own use complies with the terms of any data source you point it at.\n\n<details>\n<summary><b>How this compares to desktop-automation TradingView MCPs</b> (the ones that remote-control TradingView Desktop)</summary>\n<br>\n\n\"TradingView MCP\" now means two very different kinds of project. Both are useful — for different jobs:\n\n| | **This project — data & analysis API** | **Desktop-automation MCPs** |\n|---|---|---|\n| What you need | Nothing — public market data | TradingView Desktop, usually with a paid TradingView plan |\n| Where it works | Claude.ai, Claude Code, ChatGPT, Cursor, Copilot — any MCP client | Mostly Claude Code, on your own machine |\n| When your machine is off | Hosted version keeps answering, 24/7 | Stops |\n| Screeners & backtesting | Built in (37 tools, multi-exchange) | Whatever the TradingView UI offers |\n| Charts | Interactive in-conversation charts (MCP Apps, hosted) | TradingView's own charts |\n| Your TradingView account | Not needed, never touched | Drives your logged-in session |\n\nIf you want an AI clicking around *your* TradingView Desktop — editing Pine Script, drawing on charts, using replay — check out [tradesdontlie/tradingview-mcp](https://github.com/tradesdontlie/tradingview-mcp). If you want headless market data, screeners and backtesting available to any AI client, with nothing installed and no TradingView account in the loop — that's this project.\n\n</details>\n\n> [!IMPORTANT]\n> **Not financial advice.** Nothing produced by this software is investment, financial, legal, tax, or accounting advice. tradingview-mcp is an informational and educational analysis tool. Its outputs, including indicators, scores, signals, \"trade setups\", entries, stop losses, and targets, are computed from third party market data and are **not** recommendations to buy, sell, or hold any asset. It does not execute trades, manage money, or guarantee any result. Trading and investing carry a substantial risk of loss, and you can lose some or all of your capital. Always do your own research and consult a licensed professional before making any financial decision. You are solely responsible for your own decisions and for complying with the laws and regulations that apply to you. Market data may be delayed, inaccurate, or incomplete, and is provided without warranty.\n\n> [!TIP]\n> **Prefer zero setup? Use the hosted version.** [**pro.cryptosieve.com**](https://pro.cryptosieve.com) serves all 37 tools as one connector URL for Claude.ai, ChatGPT, Copilot, and Cursor — no `uv`, `pandas`, or Python to wrangle. **From $9/mo (Pro) or $29/mo (Pro+ — higher limits), with a 3-day free trial.** Self-hosting stays free forever; hosted is just for folks who'd rather skip the ops. *(Full self-host vs hosted comparison in Quick Start below.)*\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python 3.10-3.13](https://img.shields.io/badge/python-3.10--3.13-blue.svg)](https://www.python.org/downloads/)\n[![MCP Ready](https://img.shields.io/badge/MCP-Ready-brightgreen)](https://modelcontextprotocol.com/)\n[![OpenClaw Ready](https://img.shields.io/badge/OpenClaw-Ready-blueviolet)](https://openclaw.ai)\n[![Version](https://img.shields.io/badge/version-v0.8.0-blue)](https://github.com/atilaahmettaner/tradingview-mcp/releases)\n[![PyPI](https://img.shields.io/badge/PyPI-tradingview--mcp--server-orange)](https://pypi.org/project/tradingview-mcp-server/)\n[![GitHub Sponsors](https://img.shields.io/badge/Sponsor-❤️-pink?logo=github-sponsors)](https://github.com/sponsors/atilaahmettaner)\n\n> **⭐ If this tool improves your workflow, please star the repo and consider [sponsoring](https://github.com/sponsors/atilaahmettaner) — it keeps the project alive and growing!**\n\n<a href=\"https://github.com/sponsors/atilaahmettaner\">\n  <img src=\"https://img.shields.io/badge/☕_Coffee_($5)-Sponsor-orange?style=for-the-badge&logo=github-sponsors\" alt=\"Sponsor $5\"/>\n</a>\n<a href=\"https://github.com/sponsors/atilaahmettaner\">\n  <img src=\"https://img.shields.io/badge/🚀_Supporter_($15)-Sponsor-blueviolet?style=for-the-badge&logo=github-sponsors\" alt=\"Sponsor $15\"/>\n</a>\n<a href=\"https://github.com/sponsors/atilaahmettaner\">\n  <img src=\"https://img.shields.io/badge/💎_Pro_($30)-Sponsor-gold?style=for-the-badge&logo=github-sponsors\" alt=\"Sponsor $30\"/>\n</a>\n\n---\n\n## 🎥 Framework Demo\n\nhttps://github-production-user-asset-6210df.s3.amazonaws.com/67838093/478689497-4a605d98-43e8-49a6-8d3a-559315f6c01d.mp4\n\n---\n\n## 🆕 What's New\n\n**Stability & Strategy Expansion (May 2026)**\n\n- **Async hot-path tools** — 7 high-traffic tools (`yahoo_price`, `stock_extended_hours`, `top_gainers`, `volume_breakout_scanner`, `multi_timeframe_analysis`, `financial_news`, `combined_analysis`) converted to `async def`. FastMCP runs sync tools serialized on the event loop — async unlocks real intra-server parallelism so concurrent tool calls actually overlap. `combined_analysis` additionally fans its 3 sub-calls out via `asyncio.gather` for ~3× wall-clock improvement on the power tool. `yahoo_price` / `stock_extended_hours` use `httpx.AsyncClient` for true non-blocking I/O; sync-library tools (`tradingview_ta`, `tradingview-screener`, `feedparser`) are off-loaded via `asyncio.to_thread`. *(PR — open)*\n- **9 backtest strategies** (up from 6) — added `rsi_pullback`, `keltner_breakout`, and `triple_ema`, covering trend-pullback, ATR-normalized breakout, and SMA200-filtered EMA cross edges. `compare_strategies` now ranks the full 9.\n- **Resilience layer** — automatic retry + 60-second TTL cache on the TradingView screener provider, eliminating transient `\"Expecting value\"` errors on `combined_analysis` and `multi_timeframe_analysis`. *(PR [#32](https://github.com/atilaahmettaner/tradingview-mcp/pull/32) — merged)*\n- **Financial news service rebuild** — replaces deprecated Reuters RSS endpoints with Yahoo Finance, MarketWatch, and CNBC. Fixes the long-standing `count: 0` bug on `financial_news`. *(PR [#33](https://github.com/atilaahmettaner/tradingview-mcp/pull/33) — merged)*\n- **TA throttle** — caps concurrent `tradingview_ta` calls (default 4) + min 0.8s spacing between starts. Prevents parallel bursts of `combined_analysis` / `multi_timeframe_analysis` from hitting TradingView's empty-body rate-limit cliff. Tunable via env vars. *(PR [#34](https://github.com/atilaahmettaner/tradingview-mcp/pull/34) — merged)*\n- **Walk-forward backtesting** (`walk_forward_backtest_strategy`) — train/test split with overfitting verdict (ROBUST / MODERATE / WEAK / OVERFITTED).\n- **Hourly (1h) timeframe** support across `backtest_strategy`, `compare_strategies`, and `walk_forward_backtest_strategy`.\n- **Full trade log + equity curve** outputs (`include_trade_log=True`, `include_equity_curve=True`).\n\n---\n\n## 🏗️ Architecture\n\n![tradingview-mcp Architecture](assets/architecture.png)\n\n---\n\n## ✨ Why tradingview-mcp?\n\n| Feature | `tradingview-mcp` | Traditional Setups | Bloomberg Terminal |\n|---------|-------------------|--------------------|--------------------|\n| **Setup Time** | 5 minutes | Hours (Docker, Conda...) | Weeks (Contrac","default_branch":"main","files":112,"tree":[".codex-mcp.json",".codex-plugin/plugin.json",".dockerignore",".env.example",".github/FUNDING.yml",".github/ISSUE_TEMPLATE/bug_report.md",".github/ISSUE_TEMPLATE/feature_request.md",".github/ISSUE_TEMPLATE/installation_help.md",".github/assets/tradingview-mcp-demo.gif",".github/workflows/mcp-registry-publish.yml",".github/workflows/publish-image.yml",".gitignore","CHANGELOG.md","CONTRIBUTING.md","Dockerfile","EXAMPLES.md","INSTALLATION.md","LICENSE","OPENCLAW.md","PR_BODY.md","README.md","SECURITY.md","assets/architecture.png","assets/showcase-gold-mtf.png","assets/showcase-top-gainers.png","docker-compose.yml","docs/assets/bollinger-15m-chart-demo.gif","docs/assets/bollinger-15m-chart-still.png","docs/assets/logo-400.png","glama.json","openclaw/SKILL.md","openclaw/trading.py","pyproject.toml","server.json","src/tradingview_mcp/__init__.py","src/tradingview_mcp/coinlist/ace.txt","src/tradingview_mcp/coinlist/all.txt","src/tradingview_mcp/coinlist/asx.txt","src/tradingview_mcp/coinlist/binance.txt","src/tradingview_mcp/coinlist/bist.txt","src/tradingview_mcp/coinlist/bitfinex.txt","src/tradingview_mcp/coinlist/bitget.txt","src/tradingview_mcp/coinlist/bursa.txt","src/tradingview_mcp/coinlist/bybit.txt","src/tradingview_mcp/coinlist/chn.txt","src/tradingview_mcp/coinlist/coinbase.txt","src/tradingview_mcp/coinlist/egx.txt","src/tradingview_mcp/coinlist/gateio.txt","src/tradingview_mcp/coinlist/hk.txt","src/tradingview_mcp/coinlist/hkex.txt","src/tradingview_mcp/coinlist/hsi.txt","src/tradingview_mcp/coinlist/huobi.txt","src/tradingview_mcp/coinlist/klse.txt","src/tradingview_mcp/coinlist/kucoin.txt","src/tradingview_mcp/coinlist/leap.txt","src/tradingview_mcp/coinlist/mexc.txt","src/tradingview_mcp/coinlist/myx.txt","src/tradingview_mcp/coinlist/nasdaq.txt","src/tradingview_mcp/coinlist/nyse.txt","src/tradingview_mcp/coinlist/okx.txt","src/tradingview_mcp/coinlist/sse.txt","src/tradingview_mcp/coinlist/szse.txt","src/tradingview_mcp/coinlist/tpex.txt","src/tradingview_mcp/coinlist/twse.txt","src/tradingview_mcp/core/data/__init__.py","src/tradingview_mcp/core/data/egx_indices.py","src/tradingview_mcp/core/data/egx_sectors.py","src/tradingview_mcp/core/errors.py","src/tradingview_mcp/core/portfolio.py","src/tradingview_mcp/core/services/backtest_service.py","src/tradingview_mcp/core/services/bitcoin_market_service.py","src/tradingview_mcp/core/services/coinlist.py","src/tradingview_mcp/core/services/egx_service.py","src/tradingview_mcp/core/services/extended_hours_service.py","src/tradingview_mcp/core/services/futures_service.py","src/tradingview_mcp/core/services/indicators.py","src/tradingview_mcp/core/services/indicators_calc.py","src/tradingview_mcp/core/services/marketaux_service.py","src/tradingview_mcp/core/services/multi_agent_service.py","src/tradingview_mcp/core/services/news_service.py","src/tradingview_mcp/core/services/options_service.py","src/tradingview_mcp/core/services/proxy_manager.py","src/tradingview_mcp/core/services/scanner_service.py","src/tradingview_mcp/core/services/screener_provider.py","src/tradingview_mcp/core/services/screener_service.py","src/tradingview_mcp/core/services/sentiment_service.py","src/tradingview_mcp/core/services/stock_screener_service.py","src/tradingview_mcp/core/services/yahoo_finance_service.py","src/tradingview_mcp/core/types.py","src/tradingview_mcp/core/utils/validators.py","src/tradingview_mcp/server.py","tests/stress/__init__.py","tests/stress/test_real_upstream.py","tests/unit/services/__init__.py","tests/unit/services/test_async_handlers.py","tests/unit/services/test_backtest_validation.py","tests/unit/services/test_batch_sentinel.py","tests/unit/services/test_donchian_backtest.py","tests/unit/services/test_error_envelopes.py","tests/unit/services/test_screener_provider_resilience.py","tests/unit/services/test_venue_fallback.py","tests/unit/test_atr_injection.py","tests/unit/test_commodity_futures_aliases.py","tests/unit/test_error_envelope_batch1.py","tests/unit/test_errors.py","tests/unit/test_exchange_aliases.py","tests/unit/test_exchange_fixes.py","tests/unit/test_symbol_suggestions.py","tests/unit/test_tool_annotations.py","tests/unit/test_tool_offload.py","tests/unit/test_validators.py","uv.lock"],"storefront":"/r/atilaahmettaner","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/atilaahmettaner/tradingview-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}