Back to Home
viney-123 icon

tradingview-mcp

Verified Safe

by viney-123

Overview

The server fetches TradingView chart snapshots as images, enabling users to programmatically capture and visualize market data.

Installation

Run Command
python src/tradingview_mcp/server.py

Environment Variables

  • TRADINGVIEW_SESSION_ID
  • TRADINGVIEW_SESSION_ID_SIGN

Security Notes

The server loads sensitive TradingView session credentials (TRADINGVIEW_SESSION_ID, TRADINGVIEW_SESSION_ID_SIGN) from environment variables using `dotenv`, which is good practice and avoids hardcoding. It uses Playwright for browser automation, launching a headless Chromium instance. While Playwright is a robust library, any browser automation inherently involves a degree of risk as it interacts with external web content. There is no `eval` or obvious obfuscation detected. Network risks are managed by only navigating to tradingview.com for its core function. No direct malicious patterns are identified in the provided source code.

Similar Servers

Stats

Interest Score34
Security Score8
Cost ClassHigh
Avg Tokens50000
Stars3
Forks2
Last Update2026-01-19

Tags

TradingViewChartsSnapshotsPlaywrightPythonFinancial Trading