TradingView Chart Image Scraper is an MCP server that fetches TradingView chart snapshot images for specified tickers and time intervals. It connects directly to TradingView via browser automation using Selenium and ChromeDriver, featuring a browser pooling architecture that handles concurrent chart requests. Financial analysts, algorithmic traders, crypto researchers, and developers use this server to pass real-time visual chart context into LLMs. By integrating chart snapshots directly into AI workflows, users can perform automated technical analysis, monitor price action across crypto and equity markets, and verify visual indicator setups. The server supports authenticated sessions to capture custom chart layouts and can return images either via TradingView snapshot URLs or direct base64 clipboard data. It also exposes performance monitoring tools to inspect average response times and browser pool health.
Category: Design, Media & Creative
Tags: charts, financial-data, image-scraping, stock-market, tradingview
Visit TradingView Chart Image Scraper
bash cd tradingview-chart-mcp python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt 2. Ensure chromedriver is installed and accessible in your system PATH. 3. Open your Claude Desktop configuration file (claude_desktop_config.json) or Cursor MCP settings (~/.cursor/mcp.json). 4. Add the server under mcpServers with your absolute paths and TradingView cookie values: json { "mcpServers": { "tradingview-chart-mcp": { "command": "/absolute/path/to/.venv/bin/python3", "args": ["/absolute/path/to/main.py"], "env": { "TRADINGVIEW_SESSION_ID": "YOUR_SESSION_ID_HERE", "TRADINGVIEW_SESSION_ID_SIGN": "YOUR_SESSION_ID_SIGN_HERE" } } } } 5. Restart your client to apply changes.Part of MCP Servers
The server retrieves chart snapshot images from TradingView for given ticker symbols and intervals. It can return images as TradingView hosted URLs or base64 data URLs. It also tracks execution performance metrics such as request duration and browser pool utilization.
TradingView Chart Image Scraper works with any Model Context Protocol compliant client that supports local command-based servers or HTTP transports, including Claude Desktop and Cursor. Users configure paths and credentials in their respective client configuration JSON files.
Authentication is handled through session cookies. You extract TRADINGVIEW_SESSION_ID and TRADINGVIEW_SESSION_ID_SIGN from your browser cookies after logging in to TradingView, then provide them as environment variables in your client configuration or local .env file.
You need Python 3 installed along with Google Chrome and ChromeDriver. ChromeDriver must be placed in your system PATH or configured to allow Selenium to launch browser instances for automated chart capturing.