TradingView MCP Server
Enables market screening and technical analysis for cryptocurrency trading pairs available on the Binance exchange platform.
Allows market screening and technical analysis for cryptocurrency assets traded on the Coinbase exchange platform.
Provides access to cryptocurrency market data and technical analysis tools for trading pairs on the KuCoin exchange platform.
Enables cryptocurrency market analysis and screening capabilities for trading pairs available on the OKX exchange platform.
Provides advanced cryptocurrency and stock market analysis capabilities including real-time market screening, technical indicators (Bollinger Bands, RSI, MACD), pattern recognition, and multi-timeframe analysis across various exchanges and traditional markets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TradingView MCP Server show me the top 5 crypto gainers on Binance in the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π TradingView MCP Server
A powerful Model Context Protocol (MCP) server that provides advanced cryptocurrency and stock market analysis using TradingView data. Perfect for traders, analysts, and AI assistants who need real-time market intelligence.
π₯ Demo Video
Quick 19-second demo showing the MCP server in action
Related MCP server: Stock Market Analysis MCP Server
β¨ Key Features
π Real-time Market Screening: Find top gainers, losers, and trending stocks/crypto
π Advanced Technical Analysis: Bollinger Bands, RSI, MACD, and more indicators
π― Bollinger Band Intelligence: Proprietary rating system (-3 to +3) for squeeze detection
π―οΈ Pattern Recognition: Detect consecutive bullish/bearish candle formations
π Multi-Market Support: Crypto exchanges (KuCoin, Binance, Bybit) + Traditional markets (NASDAQ, BIST)
β° Multi-Timeframe Analysis: From 5-minute to monthly charts
π Individual Asset Deep-Dive: Comprehensive technical analysis for any symbol
π Quick Start
Option 1: Claude Desktop (Recommended)
Install UV Package Manager:
# macOS (Homebrew) brew install uv # Windows powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # macOS/Linux (Direct) curl -LsSf https://astral.sh/uv/install.sh | shAdd to Claude Desktop Configuration:
Config Path:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{ "mcpServers": { "tradingview-mcp": { "command": "uv", "args": [ "tool", "run", "--from", "git+https://github.com/atilaahmettaner/tradingview-mcp.git", "tradingview-mcp" ] } } }Restart Claude Desktop - The server will be automatically available!
π For detailed Windows instructions, see INSTALLATION.md
Option 2: Manual Installation
# Clone the repository
git clone https://github.com/atilaahmettaner/tradingview-mcp.git
cd tradingview-mcp
# Install dependencies
uv sync
# For local development, add to Claude Desktop:Windows Configuration Path:
%APPDATA%\Claude\claude_desktop_config.json
macOS Configuration Path:
~/Library/Application Support/Claude/claude_desktop_config.json
Configuration for Local Setup:
{
"mcpServers": {
"tradingview-mcp-local": {
"command": "C:\\path\\to\\your\\tradingview-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\your\\tradingview-mcp\\src\\tradingview_mcp\\server.py"],
"cwd": "C:\\path\\to\\your\\tradingview-mcp"
}
}
}macOS/Linux Configuration:
{
"mcpServers": {
"tradingview-mcp-local": {
"command": "uv",
"args": ["run", "python", "src/tradingview_mcp/server.py"],
"cwd": "/path/to/your/tradingview-mcp"
}
}
}π οΈ Available Tools
π Market Screening
Tool | Description | Example Usage |
| Find highest performing assets | Top crypto gainers in 15m |
| Find biggest declining assets | Worst performing stocks today |
| Find assets with tight Bollinger Bands | Coins ready for breakout |
| Filter by Bollinger Band rating | Strong buy signals (rating +2) |
π Technical Analysis
Tool | Description | Example Usage |
| Complete technical analysis | Analyze BTC with all indicators |
| Find candlestick patterns | 3+ consecutive green candles |
| Multi-timeframe pattern analysis | Complex pattern detection |
π Information
Tool | Description |
| List all supported exchanges and markets |
π Usage Examples
Talk to Claude Like This:
Basic Market Screening:
"Show me the top 10 crypto gainers on KuCoin in the last 15 minutes"
"Find the biggest losers on Binance today"
"Which Turkish stocks (BIST) are down more than 5% today?"Technical Analysis:
"Analyze Bitcoin with all technical indicators"
"Find crypto coins with Bollinger Band squeeze (BBW < 0.05)"
"Show me coins with strong buy signals (rating +2)"Pattern Recognition:
"Find coins with 3 consecutive bullish candles on Bybit"
"Scan for stocks showing growing candle patterns"
"Which assets have tight Bollinger Bands ready for breakout?"Advanced Queries:
"Compare AAPL vs TSLA technical indicators"
"Find high-volume crypto with RSI below 30"
"Show me NASDAQ stocks with strong momentum"π― Understanding the Bollinger Band Rating System
Our proprietary rating system helps identify trading opportunities:
Rating | Signal | Description |
+3 | π₯ Strong Buy | Price above upper Bollinger Band |
+2 | β Buy | Price in upper 50% of bands |
+1 | β¬οΈ Weak Buy | Price above middle line |
0 | β‘οΈ Neutral | Price at middle line |
-1 | β¬οΈ Weak Sell | Price below middle line |
-2 | β Sell | Price in lower 50% of bands |
-3 | π₯ Strong Sell | Price below lower Bollinger Band |
Bollinger Band Width (BBW): Lower values indicate tighter bands β potential breakout coming!
π’ Supported Markets & Exchanges
π° Cryptocurrency Exchanges
KuCoin (KUCOIN) - Primary recommendation
Binance (BINANCE) - Largest crypto exchange
Bybit (BYBIT) - Derivatives focused
OKX (OKX) - Global crypto exchange
Coinbase (COINBASE) - US-regulated exchange
Gate.io (GATEIO) - Altcoin specialist
Huobi (HUOBI) - Asian market leader
Bitfinex (BITFINEX) - Professional trading
π Traditional Markets
NASDAQ (NASDAQ) - US tech stocks (AAPL, MSFT, TSLA)
BIST (BIST) - Turkish stock market (Borsa Δ°stanbul)
More markets coming soon!
β° Supported Timeframes
5m, 15m, 1h, 4h, 1D, 1W, 1M
π Technical Indicators Included
Bollinger Bands (20, 2) - Volatility and squeeze detection
RSI (14) - Momentum oscillator
Moving Averages - SMA20, EMA50, EMA200
MACD - Trend and momentum
ADX - Trend strength measurement
Stochastic - Overbought/oversold conditions
Volume Analysis - Market participation
Price Action - OHLC data with percentage changes
π¨ Troubleshooting
Common Issues:
1. "No data found" errors:
Try different exchanges (KuCoin usually works best)
Use standard timeframes (15m, 1h, 1D)
Check symbol format (e.g., "BTCUSDT" not "BTC")
2. Empty arrays or rate limiting:
If you get empty results, you may have hit TradingView's rate limits
Wait 5-10 minutes between query sessions
The server automatically handles retries
KuCoin and BIST have the most reliable data
3. Claude Desktop not detecting the server:
Restart Claude Desktop after adding configuration
Check that UV is installed:
uv --versionVerify the configuration JSON syntax
4. Slow responses:
First request may be slower (warming up)
Subsequent requests are much faster
Consider using smaller limits (5-10 items)
π§ Development & Customization
Running in Development Mode:
# Clone and setup
git clone https://github.com/atilaahmettaner/tradingview-mcp.git
cd tradingview-mcp
uv sync
# Run with MCP Inspector for debugging
uv run mcp dev src/tradingview_mcp/server.py
# Test individual functions
uv run python test_api.pyAdding New Exchanges:
The server is designed to be easily extensible. Check src/tradingview_mcp/core/ for the modular architecture.
π€ Contributing
We welcome contributions! Here's how:
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Ideas for Contributions:
Add new exchanges or markets
Implement additional technical indicators
Improve error handling and rate limiting
Add more candlestick pattern recognition
Create comprehensive test suite
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Support & Issues
Report bugs: GitHub Issues
Feature requests: Open an issue with the "enhancement" label
Questions: Check existing issues or open a new discussion
π Star This Project
If you find this MCP server useful, please β star the repository to help others discover it!
Built with β€οΈ for traders and AI enthusiasts
Empowering intelligent trading decisions through advanced market analysis
Available Tools
10 toolsadvanced_candle_patternC
Advanced candle pattern analysis using multi-timeframe data.
Args:
exchange: Exchange name (BINANCE, KUCOIN, etc.)
base_timeframe: Base timeframe for analysis (5m, 15m, 1h, 4h)
pattern_length: Number of consecutive periods to analyze (2-4)
min_size_increase: Minimum percentage increase in candle size
limit: Maximum number of results to return
Returns:
Coins with progressive candle size increase patterns
Inputs: exchange, base_timeframe, pattern_length, min_size_increase, +1 more.
bollinger_scanB
Scan for coins with low Bollinger Band Width (squeeze detection).
Args:
exchange: Exchange name like KUCOIN, BINANCE, BYBIT, etc.
timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M
bbw_threshold: Maximum BBW value to filter (default 0.04)
limit: Number of rows to return (max 100)
Inputs: exchange, timeframe, bbw_threshold, limit. Returns: result
coin_analysisB
Get detailed analysis for a specific coin on specified exchange and timeframe.
Args:
symbol: Coin symbol (e.g., "ACEUSDT", "BTCUSDT")
exchange: Exchange name (BINANCE, KUCOIN, etc.)
timeframe: Time interval (5m, 15m, 1h, 4h, 1D, 1W, 1M)
Returns:
Detailed coin analysis with all indicators and metrics
Inputs: symbol (required), exchange, timeframe.
consecutive_candles_scanB
Scan for coins with consecutive growing/shrinking candles pattern.
Args:
exchange: Exchange name (BINANCE, KUCOIN, etc.)
timeframe: Time interval (5m, 15m, 1h, 4h)
pattern_type: "bullish" (growing candles) or "bearish" (shrinking candles)
candle_count: Number of consecutive candles to check (2-5)
min_growth: Minimum growth percentage for each candle
limit: Maximum number of results to return
Returns:
List of coins with consecutive candle patterns
Inputs: exchange, timeframe, pattern_type, candle_count, +2 more.
rating_filterB
Filter coins by Bollinger Band rating.
Args:
exchange: Exchange name like KUCOIN, BINANCE, BYBIT, etc.
timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M
rating: BB rating (-3 to +3): -3=Strong Sell, -2=Sell, -1=Weak Sell, 1=Weak Buy, 2=Buy, 3=Strong Buy
limit: Number of rows to return (max 50)
Inputs: exchange, timeframe, rating, limit. Returns: result
smart_volume_scannerB
Smart volume + technical analysis combination scanner.
Args:
exchange: Exchange name
min_volume_ratio: Minimum volume multiplier (default 2.0)
min_price_change: Minimum price change percentage (default 2.0)
rsi_range: "oversold" (<30), "overbought" (>70), "neutral" (30-70), "any"
limit: Number of results (max 30)
Inputs: exchange, min_volume_ratio, min_price_change, rsi_range, +1 more. Returns: result
top_gainersB
Return top gainers for an exchange and timeframe using bollinger band analysis.
Args:
exchange: Exchange name like KUCOIN, BINANCE, BYBIT, etc.
timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M
limit: Number of rows to return (max 50)
Inputs: exchange, timeframe, limit. Returns: result
top_losersC
Return top losers for an exchange and timeframe using bollinger band analysis.
Inputs: exchange, timeframe, limit. Returns: result
volume_breakout_scannerB
Detect coins with volume breakout + price breakout.
Args:
exchange: Exchange name like KUCOIN, BINANCE, BYBIT, etc.
timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M
volume_multiplier: How many times the volume should be above normal level (default 2.0)
price_change_min: Minimum price change percentage (default 3.0)
limit: Number of rows to return (max 50)
Inputs: exchange, timeframe, volume_multiplier, price_change_min, +1 more. Returns: result
volume_confirmation_analysisC
Detailed volume confirmation analysis for a specific coin.
Args:
symbol: Coin symbol (e.g., BTCUSDT)
exchange: Exchange name
timeframe: Time frame for analysis
Inputs: symbol (required), exchange, timeframe.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 10 tools
Most tools have distinct purposes focused on different technical analysis patterns (candle patterns, Bollinger Bands, volume analysis, gainers/losers), but some overlap exists between 'smart_volume_scanner' and 'volume_breakout_scanner' as both combine volume and price analysis. The descriptions clarify differences, but an agent might need to carefully choose between them.
Tool names consistently use snake_case and descriptive verb_noun patterns (e.g., 'advanced_candle_pattern', 'bollinger_scan'), with minor deviations like 'coin_analysis' (noun_noun) and 'rating_filter' (noun_verb). The naming is highly readable and follows a clear convention throughout.
With 10 tools, the count is well-scoped for a TradingView server covering various technical analysis scans and detailed analyses. Each tool serves a specific purpose in market scanning and coin evaluation, making the set comprehensive without being overwhelming.
The toolset provides strong coverage for scanning and analyzing cryptocurrency markets, including pattern detection, volume analysis, and rating filters. A minor gap is the lack of tools for managing alerts or backtesting strategies, but core analysis workflows are well-supported.
Related MCP Connectors
Provide real-time cryptocurrency price data and market analysis.
Crypto screener for AI agents: Binance, Bybit, OKX, Hyperliquid data, trends, charts and alerts.
Screen 11,000+ stocks using natural language and detect chart patterns via MCP.
Crypto market signals, technical indicators, and sentiment analysis for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables advanced technical and fundamental analysis of financial markets including stocks and cryptocurrencies. Provides trading opportunity screening, risk management tools, sentiment analysis from financial news, and comprehensive market indicators like RSI, MACD, and Bollinger Bands.MIT
- FlicenseNot gradedqualityDmaintenanceEnables comprehensive stock market analysis with portfolio management, technical indicators, dividend tracking, sector analysis, risk metrics, and price alerts. Provides real-time stock data, trend analysis, and investment insights through natural language interactions.1-

Rozkoduj MCPofficial
AlicenseAqualityAmaintenanceProvides AI assistants with market screening, analysis, and scoring across stocks, crypto, and forex, enabling natural language queries for trading insights.4MIT- AlicenseNot gradedqualityDmaintenanceProvides intelligent cryptocurrency trading assistance using Coinbase Advanced Trade API, with automated technical analysis screening and real-time market insights.2MIT