TradingView MCP Server
Advanced TradingView MCP Server that turns AI agents like Claude into powerful market analysts with real-time stock & crypto screening, 30+ technical indicators, backtesting, sentiment analysis, and Yahoo Finance integration.
Overview
TradingView MCP Server is a powerful Model Context Protocol (MCP) server that provides AI agents with comprehensive access to TradingView-powered market data and analysis tools. It enables natural language interaction with real-time stock, crypto, and financial market intelligence, making it ideal for traders, quants, and developers building AI-assisted trading workflows.
The server combines TradingView data sources with additional integrations like Yahoo Finance, offering backtesting capabilities, technical analysis, and live sentiment — all accessible via MCP-compatible clients such as Claude Desktop and Code.
Key Features
- Market Screening: Real-time scanner for stocks, crypto, forex across multiple markets with advanced filters.
- Technical Analysis: 30+ indicators including RSI, MACD, Bollinger Bands, moving averages, and more.
- Backtesting Engine: Walk-forward optimization, equity curves, trade logs, and performance metrics.
- Sentiment Analysis: Live market sentiment from multiple sources.
- Yahoo Finance Integration: Supplementary fundamental and historical data.
- Chart & Data Access: Fetch structured market data and insights conversationally.
- Local & Secure: Runs on your machine with easy configuration for MCP clients.
Quick Start
Install via UV (recommended):
uv tool install --from git+https://github.com/atilaahmettaner/tradingview-mcp.git tradingview-mcp
Add to your MCP client config (e.g., Claude or Cursor):
{
"mcpServers": {
"tradingview-mcp": {
"command": "uv",
"args": ["tool", "run", "--from", "git+https://github.com/atilaahmettaner/tradingview-mcp.git", "tradingview-mcp"]
}
}
}
Once connected, ask your AI: "Screen for bullish crypto setups with RSI under 30" or "Backtest a moving average crossover strategy on BTC".
Use Cases
- AI Trading Assistant: Let agents perform real-time technical analysis and generate trade ideas.
- Strategy Development: Build, test, and optimize trading strategies through natural conversation.
- Market Research: Quickly screen thousands of assets and summarize opportunities.
- Educational Tool: Learn technical analysis by querying the agent with live data.
- Multi-Agent Workflows: Combine with other MCP servers for full trading automation pipelines.
Why TradingView MCP Server?
TradingView remains one of the most popular charting platforms, but its data is traditionally hard for AI agents to access in real time. This MCP server bridges that gap, providing structured, tool-based access that lets LLMs reason with current market conditions instead of outdated knowledge cutoffs.
The project emphasizes responsible use — always do your own research and never treat AI output as financial advice.
Resources
- GitHub Repository: atilaahmettaner/tradingview-mcp
- Demo & Documentation: Available in the repository README
- Community Discussions: Reddit threads and MCP ecosystem forums
Note: Multiple community forks and variants exist (chart image scrapers, Pine Script tools, Desktop bridges). This entry focuses on the comprehensive analysis-focused implementation.
Disclaimer: This is not financial advice. Trading involves risk. Use for educational and research purposes only.