TradingView MCP Server
Allows querying technical analysis and market regime indicators for cryptocurrency assets on the Binance exchange.
Provides real-time technical indicators (RSI, ADX, MACD, Bollinger Bands, EMAs), moving average summaries, and market regime classification (CHOP vs TRENDING) for global stocks, indices, crypto, and forex using TradingView data.
Click on "Install 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 ServerWhat's the current market regime for NIFTY on NSE?"
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 standalone, lightweight Model Context Protocol (MCP) Server powered by TradingView Technical Analysis (tradingview_ta).
It provides AI agents (Claude Desktop, Cursor, Custom Agents) and trading microservices with real-time technical indicators, market regime classification (CHOP vs TRENDING), moving average summaries, and oscillator signatures for global stocks, indices, crypto, and forex.
🌟 Key Features
📊 Real-Time Technical Indicators: Instant access to RSI, ADX, MACD, Bollinger Bands, EMAs, and Moving Average summaries.
🎯 Market Regime Classification: Calculates market condition (
CHOPvsTRENDING) using ADX trend strength, oscillator divergence, and Bollinger Band squeeze signatures.🌐 Multi-Asset & Multi-Exchange: Supports Indian stock market (
NSE,BSE), US equities (NASDAQ,NYSE), Crypto (BINANCE), and Forex.⚡ Dual Transport Support:
stdio mode: Standard input/output for LLM desktop integration (Claude Desktop, Cursor, etc.).
SSE HTTP mode (Port 5560): Background streaming event server for microservices.
REST API Bridge (Port 5559): Instant HTTP
curlqueries for trading bots.
Related MCP server: AI Quant Trading MCP Server
🚀 Quick Start
1. Installation
# Clone the repository
git clone https://github.com/niketbiyani/tradingview-mcp-server.git
cd tradingview-mcp-server
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt2. Run the MCP Server
# Interactive mode (stdio transport for MCP clients)
python tv_mcp_server.py💻 Claude Desktop / MCP Client Integration
Add the server config to your Claude Desktop configuration file (claude_desktop_config.json):
{
"mcpServers": {
"tradingview": {
"command": "/path/to/tradingview-mcp-server/venv/bin/python",
"args": [
"/path/to/tradingview-mcp-server/tv_mcp_server.py"
]
}
}
}🛠 VPS Systemd Deployment
To run the server as a background service on your VPS (Ubuntu/Debian):
cd tradingview-mcp-server
sudo bash install_vps_service.shService Control Commands:
Check Status:
sudo systemctl status tradingview-mcpRestart Service:
sudo systemctl restart tradingview-mcpView Live Logs:
tail -f tv_mcp.log
🧰 Available Tools & REST Endpoints
MCP Tools
get_technical_analysis(symbol, exchange, screener, interval)Fetches TradingView recommendation summary, oscillators, moving averages, and detailed indicators.
Example:
symbol="NIFTY", exchange="NSE", interval="1m"
get_market_regime(symbol, exchange, screener, interval)Calculates market condition (
CHOPvsTRENDING) and returns ADX, BBW, RSI, and detailed reason strings.
REST API Endpoints (Port 5559)
Get Market Regime:
curl "http://127.0.0.1:5559/get_market_regime?symbol=NIFTY&exchange=NSE&interval=1m"Get Full TA Analysis:
curl "http://127.0.0.1:5559/get_technical_analysis?symbol=NIFTY&exchange=NSE&interval=1m"
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Developed with ❤️ by Niket Biyani.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Real-time market events, sentiment, and technical analysis as MCP tools, backed by real data.
Crypto market signals, technical indicators, and sentiment analysis for AI agents.
Crypto trading intelligence MCP — 34+ endpoints, x402 pay-per-use, AI agent strategy & execution
Market intelligence for AI agents. Real-time data, cross-market analysis, and regime detection.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides technical analysis indicators like SMA, EMA, RSI, MACD, Bollinger Bands, and Stochastic through MCP, enabling AI assistants to perform financial market analysis and calculations on price data.187MIT
- FlicenseNot gradedqualityBmaintenanceProvides real-time stock data, technical indicators, and market analysis via MCP protocol to enable AI-driven quantitative trading.1
- AlicenseAqualityCmaintenanceProvides real-time and historical crypto market data via WebSocket and REST for MCP clients, supporting multiple exchanges, 73 technical indicators, and advanced chart analysis tools.191MIT
- AlicenseBqualityBmaintenanceProvides real-time market data, technical analysis, screeners, and backtesting for stocks, crypto, forex, and futures to AI assistants via MCP.371MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/niketbiyani/tradingview-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server