TradingView Chart
MCP server that captures TradingView chart images via Selenium — supports any ticker/interval with browser pooling for concurrent performance
What is TradingView Chart?
TradingView Chart is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that captures tradingview chart images via selenium — supports any ticker/interval with browser pooling for concurrent performance
MCP server that captures TradingView chart images via Selenium — supports any ticker/interval with browser pooling for concurrent performance
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server that captures TradingView chart images via Seleni
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx tradingview-chart-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use TradingView Chart
The TradingView Chart MCP server captures live chart images from TradingView for any ticker symbol and time interval using Selenium browser automation, returning them as base64-encoded PNG images that AI assistants can analyze for technical analysis. It features a browser pooling architecture that pre-initializes up to 4 Chrome instances, delivering 70-80% better concurrent performance compared to a single-browser approach. The server requires a TradingView account session to authenticate and access charts, and supports both stdio and HTTP transports for flexible integration.
Prerequisites
- Python 3.9 or later
- Google Chrome and ChromeDriver installed and on the system PATH
- A TradingView account with active session cookies (TRADINGVIEW_SESSION_ID and TRADINGVIEW_SESSION_ID_SIGN)
- An MCP-compatible client such as Claude Desktop or Cursor
- Git to clone the repository (no PyPI package — install from source)
Clone the repository
Clone the TradingView Chart MCP repository from GitHub. There is no PyPI package — the server must be run from source.
git clone https://github.com/ertugrul59/tradingview-chart-mcp.git
cd tradingview-chart-mcpCreate and activate a virtual environment
Create an isolated Python virtual environment to avoid dependency conflicts.
python3 -m venv .venv
# macOS/Linux:
source .venv/bin/activate
# Windows (PowerShell):
.venv\Scripts\Activate.ps1Install dependencies
Install all required Python packages including Selenium, the MCP SDK, and other dependencies.
pip install -r requirements.txtConfigure TradingView authentication
Copy the example environment file and fill in your TradingView session cookies. Obtain these from your browser's developer tools after logging into TradingView — look for sessionid and sessionid_sign in the cookies for tradingview.com.
cp .env.example .env
# Edit .env and set:
# TRADINGVIEW_SESSION_ID=your_session_id
# TRADINGVIEW_SESSION_ID_SIGN=your_session_id_signStart the MCP server
Run the optimized production server with browser pooling for best concurrent performance.
python main_optimized.pyConfigure your MCP client
Add the server to your MCP client configuration, pointing to the Python interpreter in the virtual environment and the main_optimized.py script.
TradingView Chart Examples
Client configuration
Claude Desktop configuration for the TradingView Chart MCP server running from a local clone. Replace /path/to/tradingview-chart-mcp with your actual clone path.
{
"mcpServers": {
"tradingview-chart": {
"command": "/path/to/tradingview-chart-mcp/.venv/bin/python",
"args": ["/path/to/tradingview-chart-mcp/main_optimized.py"],
"env": {
"TRADINGVIEW_SESSION_ID": "your_session_id",
"TRADINGVIEW_SESSION_ID_SIGN": "your_session_id_sign"
}
}
}
}Prompts to try
Sample prompts for capturing and analyzing TradingView charts through the MCP server.
- "Get the daily chart for BYBIT:BTCUSDT.P and analyze the trend"
- "Show me the 1-hour TradingView chart for NASDAQ:AAPL"
- "Capture a 4-hour chart for BYBIT:ETHUSDT.P and identify key support and resistance levels"
- "Get the weekly chart for NASDAQ:TSLA and describe the current technical setup"
- "Show me performance stats for the TradingView chart server"Troubleshooting TradingView Chart
Selenium fails with 'ChromeDriver not found' or version mismatch error
Install ChromeDriver that matches your installed version of Google Chrome. On macOS you can use brew install chromedriver. The ChromeDriver executable must be on your system PATH. Run chromedriver --version and compare with chrome --version to confirm they match.
Charts return empty or show a login page instead of the actual chart
Your TradingView session cookies have expired. Log into TradingView in your browser, open DevTools (F12), go to Application > Cookies > tradingview.com, and copy the fresh sessionid and sessionid_sign values into your .env file.
Concurrent chart requests time out or the browser pool is exhausted
The default pool size is 4 browsers. For higher concurrency, start the server with --max-concurrent 6 or higher. Ensure your system has enough memory — each Chrome instance uses ~200-400 MB. Reduce concurrency if you are hitting memory limits.
Frequently Asked Questions about TradingView Chart
What is TradingView Chart?
TradingView Chart is a Model Context Protocol (MCP) server that mcp server that captures tradingview chart images via selenium — supports any ticker/interval with browser pooling for concurrent performance It connects AI assistants to external tools and data sources through a standardized interface.
How do I install TradingView Chart?
Follow the installation instructions on the TradingView Chart GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with TradingView Chart?
TradingView Chart works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is TradingView Chart free to use?
Yes, TradingView Chart is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
TradingView Chart Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to TradingView Chart? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Browse More Finance & Fintech MCP Servers
Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up TradingView Chart in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use TradingView Chart?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.