tradingview
📈 Fetch TradingView chart snapshots effortlessly with this lightweight MCP server, leveraging Playwright for fast and secure browser automation.
claude mcp add --transport stdio viney-123-tradingview-mcp python -m tradingview_mcp
How to use
This MCP server provides a lightweight Python-based service to fetch TradingView chart snapshots. It runs as a local server that interfaces with TradingView to render and return chart images, enabling you to capture visual representations of specific assets, timeframes, or indicators for research, monitoring, or automation workflows. Once running, you can send requests via your browser or HTTP client to the local server endpoint to generate snapshots for the TradingView charts you specify, and then integrate those images into reports or dashboards as needed.
The toolset centers on snapshot generation: you provide a TradingView chart URL or parameters (asset, timeframe, and optional indicators), and the MCP server processes the request to return a crisp image of the chart. It’s designed to be lightweight and easy to deploy on common operating systems, with cross-platform Python support. The server accepts standard HTTP requests and serves the resulting images or data back to your application, enabling automation pipelines for market monitoring, backtesting visuals, or alerting dashboards.
How to install
Prerequisites
- Python 3.7 or higher installed on your system
- Internet connection for initial setup and fetching snapshots
- Basic familiarity with running Python modules
Step-by-step installation
- Prepare your environment
- Install Python 3.7+ from the official source for your OS.
- Optional: create a virtual environment
- python -m venv venv
- On Windows: venv\Scripts\activate
- On macOS/Linux: source venv/bin/activate
- Download the MCP package
- The README references a ZIP release. Save the package locally or clone the repository if available.
- Install dependencies
- If a requirements.txt is provided with the package, install them:
- pip install -r requirements.txt
- Run the MCP server
- Use the following command structure to start the server in module mode (as described in the README):
- python -m tradingview_mcp
- Verify the server is running
- Open a browser and navigate to http://localhost:8000 or the appropriate port configured by the package to ensure the server responds.
Note: If the distribution provides a custom launcher script, you may instead execute that script directly as documented in the release notes.
Additional notes
- The server is Python-based; ensure Python 3.7+ is installed.
- Default port is typically 8000 unless overridden by configuration.
- If you encounter SSL or network-related issues when fetching TradingView snapshots, ensure outbound access is allowed and that any required API or URL endpoints are reachable.
- Check the releases or repository for updates to the tradingview_mcp module to benefit from improvements and new features.
- If you need different runtime environments (e.g., virtual environments or containerized deployment), adapt the commands accordingly and ensure the tradingview_mcp module is importable in those environments.
Related MCP Servers
alpaca
Alpaca’s official MCP Server lets you trade stocks, ETFs, crypto, and options, run data analysis, and build strategies in plain English directly from your favorite LLM tools and IDEs
tradingview
Advanced TradingView MCP Server for AI-powered market analysis. Real-time crypto & stock screening, technical indicators, Bollinger Band intelligence, and candlestick patterns. Works with Claude Desktop & AI assistants. Multi-exchange support (Binance, KuCoin, Bybit+). Open source trading toolkit.
mcp-crypto-price
A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.
robinhood
The Robinhood MCP Server provides a comprehensive interface to the Robinhood Crypto API. This server handles authentication, account management, market data retrieval, and trading operations through both REST API and WebSocket interfaces.
solana
A comprehensive Solana MCP (Model Context Protocol) server for analyzing memecoins, tracking trends, and providing AI-powered insights using cultural analysis and on-chain data.
lyra-tool-discovery
AI powered automation toolkit which acts as an agent that discovers MCP servers for you. Point it at GitHub/npm/configure your own discovery, let GPT or Claude analyze the API or MCP or any tool, get ready-to-ship plugin configs. Zero manual work.