{"repo":"ali-rajabpour/tradingview-mcp","free":true,"listed":false,"github":"https://github.com/ali-rajabpour/tradingview-mcp","clone":"git clone https://github.com/ali-rajabpour/tradingview-mcp.git","description":"A lightweight Python MCP server that fetches TradingView chart snapshots using Playwright for fast, secure, and customizable browser automation.","language":"Python","stars":18,"topics":["asyncio","chart-snapshot","fastapi","headless-browser","mcp-server","playwright","python","quantitative-trading","screenshot-automation","tradingview"],"license":"MIT","category":"mcp-servers","readme_excerpt":"TradingView MCP Server 📈 A lightweight Model Context Protocol (MCP) server for fetching TradingView chart snapshots. Uses Playwright for efficient browser automation with persistent sessions and cookie-based authentication. Note : This uses Playwright because TradingView renders charts client-side with JavaScript/Canvas. There is no pure HTTP API for chart images. This is the lightest possible working solution ( 150MB RAM vs 500MB with Selenium). ✨ Features - 🪶 Lightweight : Playwright in headless mode ( 150MB vs 500MB with Selenium) - 🚀 Fast : Persistent browser reuse, 3-5 seconds per chart - 🔐 Secure : Session-based authentication via cookies - 🎨 Customizable : Configure chart dimensions, intervals, and themes - 🔧 MCP Compatible : Works with any MCP-enabled client (Claude Desktop, etc.) - ♻️ Efficient : Reuses browser instances across multiple requests 📋 Prerequisites - Python 3.10 or higher - A TradingView account (free or paid) - TradingView session cookies Table of Contents - Installation - Quick Start - Usage - Configuration - Available Tools - Symbol Format - Troubleshooting - Performance - Contributing 🚀 Installation 1. Clone the repository 2. Create a virtual environment 3. Install dependencies 4. Configure credentials 1. Copy .env.example to .env : 2. Get your TradingView session cookies: - Log into TradingView in your browser - Press F12 to open Developer Tools - Go to Application tab (Chrome) or Storage tab (Firefox) - Navigate to Cookies https://www.tradi","default_branch":null,"files":null,"tree":[],"storefront":"/r/ali-rajabpour","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ali-rajabpour/tradingview-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}