TradingViewMCPServer
Production-ready multi-asset trading assistant and Pine Script development server for Claude Desktop
Potencialize seu agente
Instalação do publicador. Não é um endpoint do PlugMCP.
Host a copy with our keys and logs.
Ainda não há uma versão empacotada no registro. Siga o README do repositório.
URL remota ou um comando na sua máquina? Como as duas instalações diferem
Rodar no PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirDo publicador
Production-ready multi-asset trading assistant and Pine Script development server for Claude Desktop
Professional multi-asset trading & Pine Script development MCP server for Claude. Features: 20+ indicators, Pine Script tools (validator, autocomplete, docs, testing), Forex/Stocks/Crypto support
Professional trading assistant supporting Forex, Stocks, and Crypto with 25+ technical indicators, Pine Script v6 development tools, and production-grade reliability.
# 1. Clone repository
git clone https://github.com/lev-corrupted/TradingViewMCPServer.git
cd TradingViewMCPServer
# 2. Create .env file
echo "ALPHA_VANTAGE_API_KEY=your_key_here" > .env
# 3. Run with Docker Compose
docker-compose up -d
# 4. Check server health
docker-compose logs -f
# 1. Clone repository
git clone https://github.com/lev-corrupted/TradingViewMCPServer.git
cd TradingViewMCPServer
# 2. Create virtual environment
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# 3. Install dependencies
pip install -e .
# 4. Create .env file
echo "ALPHA_VANTAGE_API_KEY=your_key_here" > .env
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"tradingview": {
"command": "/absolute/path/to/TradingViewMCPServer/.venv/bin/python",
"args": [
"/absolute/path/to/TradingViewMCPServer/tradingview_mcp/server.py",
"stdio"
]
}
}
}
Replace /absolute/path/to/TradingViewMCPServer with your actual installation path.
Monitor server health and performance:
Check server health
What's the cache hit rate?
Show me server statistics
Returns:
Ask Claude Desktop natural language questions:
What's the current price of AAPL?
Show me Bollinger Bands for TSLA on 1h timeframe
Calculate Fibonacci levels for BTC
Get MACD for EURUSD with RSI
Show me support and resistance for NVDA
What's the volume profile for SPY?
Give me the Ichimoku Cloud for ETH
Calculate pivot points and CCI for GBPUSD
Analyze AAPL with Williams %R indicator
Ask Claude to help with Pine Script code:
Validate this Pine Script code: [paste code]
Convert this v4 code to v5: [paste code]
Show me documentation for ta.macd
Test this indicator on AAPL 1h timeframe: [paste code]
Explain error E101
Detect the version of this Pine Script: [paste code]
Give me a Pine Script strategy template
health_check - Server health and cache statisticsget_price - Get current price for any assetget_multiple_prices - Batch price quoteslist_available_pairs - List forex pairslist_supported_assets - List all supported assetsanalyze_pair - Comprehensive analysisget_trading_recommendation - Trading signalscalculate_correlation - Pair correlationget_volume_profile - Volume at price levelsget_market_profile - Market profile with TPO and value areasget_vwap - Volume Weighted Average Priceget_volume_nodes - High/low volume nodesdetect_unfilled_gaps - Price gaps detectionget_stochastic - Stochastic oscillator (%K, %D)get_rsi - NEW! RSI (Relative Strength Index)get_cci - NEW! CCI (Commodity Channel Index)get_williams_r - NEW! Williams %Rget_moving_averages - Multiple SMAs/EMAsget_macd - MACD indicatorget_adx - Average Directional Index (trend strength)get_ichimoku_cloud - Ichimoku Cloudget_bollinger_bands - Bollinger Bandsget_atr - Average True Rangeget_fibonacci_retracement - Fibonacci levelsget_support_resistance - Auto-detected levelsget_pivot_points - Daily pivot pointsvalidate_pine_script - Real-time syntax validation with detailed error reporting (v1-v6 support)get_pine_documentation - Function and topic documentation with examples (110+ functions)test_pine_script - Safe sandbox testing with metricsexplain_pine_error - Detailed error explanations with solutionsdetect_pine_version - Automatic version detection (v1-v6)convert_pine_version - Automatic version conversion (supports v6!)autocomplete_pine - Intelligent code completion (includes v6 features)get_pine_template - Ready-to-use code templatesMajor pairs, crosses, exotics, and gold (XAUUSD)
US equities including AAPL, MSFT, GOOGL, AMZN, TSLA, NVDA, META, and more
BTC, ETH, BNB, XRP, ADA, SOL, and other major cryptocurrencies
Alpha Vantage free tier:
For higher limits, upgrade to premium API key.
Supported timeframes: 5m, 15m, 30m, 1h, 4h, 1d
Major production-grade improvements:
Test Results: 44/44 passing (100%) | Files Changed: 12 | Lines Added: 661+
See IMPROVEMENTS_v3.4.0.md for full details.
Major update with full Pine Script v6 support:
See PINE_SCRIPT.md for complete Pine Script documentation.
See ARCHITECTURE.md for detailed architecture documentation.
Initial Pine Script development tools release:
This version included major improvements and refactoring:
api/: API client with caching and rate limitingindicators/: Technical indicators organized by typeutils/: Utility functions and formattersconfig.py: Centralized configurationget_server_stats() toolRun the test suite:
# Install development dependencies
pip install -r requirements-dev.txt
# Run all tests
pytest
# Run with coverage
pytest --cov=tradingview_mcp --cov-report=html
# Run specific test file
pytest tests/test_cache.py -v
# Run tests matching pattern
pytest -k "test_cache" -v
.env file exists with valid API keyWait 1 minute between requests or upgrade API key.
Ensure virtual environment is activated and dependencies installed:
source .venv/bin/activate
pip install -e .
TradingViewMCPServer/
├── tradingview_mcp/ # Core Python package
│ ├── server.py # MCP server implementation
│ ├── config.py # Configuration management
│ ├── api/ # Alpha Vantage API client
│ ├── indicators/ # Technical indicators (25+)
│ ├── pine_script/ # Pine Script development tools
│ └── utils/ # Utilities (cache, retry, etc.)
├── tests/ # Test suite (44/44 passing)
├── docs/ # Documentation
│ ├── ARCHITECTURE.md # System architecture
│ ├── CONTRIBUTING.md # Contribution guidelines
│ ├── PROJECT_SUMMARY.md # Project overview
│ ├── GITHUB_REPO_INFO.md # GitHub repo metadata
│ ├── guides/ # Usage guides
│ └── releases/ # Release notes & checklists
├── examples/ # Example code
│ └── pine-scripts/ # Pine Script examples & templates
├── .github/ # GitHub Actions CI/CD
├── logs/ # Application logs
├── README.md # This file
├── CHANGELOG.md # Complete version history
├── pyproject.toml # Project metadata
├── requirements.txt # Dependencies
└── Dockerfile # Docker configuration
MIT License - see LICENSE file for details
We welcome contributions! Please see CONTRIBUTING.md for detailed guidelines.
See CONTRIBUTING.md for development setup and coding standards.
For issues or questions:
Professional multi-asset trading & Pine Script development MCP server for Claude. Features: 20+ indicators, Pine Script tools (validator, autocomplete, docs, testing), Forex/Stocks/Crypto support
Ferramentas
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Este registro não lista nenhuma variável de ambiente obrigatória.
TradingView roda localmente via stdio.
Última verificação: 2026-10-28. Professional multi-asset trading & Pine Script development MCP server for Claude. Features: 20+ indicators, Pine Script tools (validator, autocomplete, docs, testing), Forex/Stocks/Crypto support