Tradingview Chart MCP
MCP 서버 - TradingView 차트 이미지 스크래퍼
이 MCP 서버는 티커와 간격에 따라 TradingView 차트 이미지를 가져오는 도구를 제공합니다.
설정
가상 환경 만들기:
지엑스피1
가상 환경 활성화:
macOS/리눅스:
source .venv/bin/activateWindows(Git Bash/WSL):
source .venv/Scripts/activateWindows(명령 프롬프트):
.venv\\Scripts\\activate.bat윈도우(PowerShell):
.venv\\Scripts\\Activate.ps1(참고: PowerShell 실행 정책을 조정해야 할 수도 있습니다:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser)
이제 터미널 프롬프트에
(.venv)에 있다는 메시지가 표시됩니다.종속성 설치(venv 내부):
pip install -r requirements.txt환경 구성(로컬 테스트용):
.env.example``.env로 복사합니다..env파일에TRADINGVIEW_SESSION_ID와TRADINGVIEW_SESSION_ID_SIGN입력하세요. TradingView에 로그인한 후 브라우저 쿠키에서 이 정보를 확인할 수 있습니다.이
.env파일은 로컬 테스트를 위해 서버를 직접 실행할 때 사용됩니다(예:python main.py).로컬 실행에 필요한 경우
.env에서 선택적 스크래퍼 설정(MCP_SCRAPER_HEADLESS등)을 조정합니다.
ChromeDriver 확인:
chromedriver설치되어 시스템 PATH에 접근 가능한지 확인하거나, 경로를 지정할 수 있는 경우tview-scraper.py적절히 구성하세요.
Related MCP server: claude-tradingview-mcp
서버 실행
가상 환경이 활성화되어 있는지 확인하세요( source .venv/bin/activate 또는 이와 동등한 파일).
python main.py가상 환경 비활성화
작업이 끝나면 환경을 비활성화할 수 있습니다.
deactivate용법
서버가 실행되면(활성화된 venv 내에서) MCP 클라이언트를 사용하여 TradingView Chart Image 서버 이름을 대상으로 서버와 상호 작용할 수 있습니다.
사용 가능한 도구:
get_tradingview_chart_image(ticker: str, interval: str): TradingView 차트의 직접 이미지 URL을 가져옵니다.
예시 프롬프트:
"NASDAQ:AAPL 15분 차트를 확인하세요"
"BYBIT:BTCUSDT.P의 일간 차트를 보여주세요"
"60 시간대의 COINBASE:ETHUSD에 대한 TradingView 차트 이미지를 가져옵니다"
🔌 MCP 클라이언트(Claude Desktop/Cursor)와 함께 사용
이 서버는 구성을 제공하는 두 가지 방법을 지원합니다.
.env파일을 통해(로컬 테스트용):python main.py직접 실행하는 경우, 서버는 프로젝트 디렉토리의.env파일에서 자격 증명과 설정을 로드합니다.클라이언트 환경 변수 사용(통합 권장): MCP 클라이언트(예: Claude/Cursor)에서 실행하는 경우, 필요한 환경 변수를 직접 주입하도록 클라이언트를 구성해야 합니다. 이렇게 하면
.env파일에 있는 모든 값이 재정의됩니다.
클로드 데스크탑
Claude Desktop 구성 파일을 엽니다.
윈도우:
%APPDATA%\\Claude\\claude_desktop_config.jsonmacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json
mcpServers객체에 다음을 추가하거나 병합하세요.env블록에 사용자 인증 정보를 입력하세요.{ "mcpServers": { "tradingview-chart-mcp": { "command": "/absolute/path/to/your/tradingview-chart-mcp/.venv/bin/python3", "args": ["/absolute/path/to/your/tradingview-chart-mcp/main.py"], "env": { "TRADINGVIEW_SESSION_ID": "YOUR_SESSION_ID_HERE", "TRADINGVIEW_SESSION_ID_SIGN": "YOUR_SESSION_ID_SIGN_HERE" // Optional: Add MCP_SCRAPER_* variables here too if needed // "MCP_SCRAPER_HEADLESS": "False" } } // ... other servers if any ... } }플레이스홀더 경로(
command,args)를 실제 절대 경로로 바꾸세요.YOUR_SESSION_ID_HERE와YOUR_SESSION_ID_SIGN_HERE실제 TradingView 자격 증명으로 바꾸세요.Claude Desktop을 다시 시작합니다.
커서
이동:
Settings -> Cursor Settings -> MCP -> Edit User MCP Config (~/.cursor/mcp.json).mcpServers객체에 다음을 추가하거나 병합하세요.env블록에 사용자 인증 정보를 입력하세요.{ "mcpServers": { "tradingview-chart-mcp": { "command": "/absolute/path/to/your/tradingview-chart-mcp/.venv/bin/python3", "args": ["/absolute/path/to/your/tradingview-chart-mcp/main.py"], "env": { "TRADINGVIEW_SESSION_ID": "YOUR_SESSION_ID_HERE", "TRADINGVIEW_SESSION_ID_SIGN": "YOUR_SESSION_ID_SIGN_HERE" // Optional: Add MCP_SCRAPER_* variables here too if needed // "MCP_SCRAPER_HEADLESS": "False" } } // ... other servers if any ... } }플레이스홀더 경로(
command,args)를 실제 절대 경로로 바꾸세요.YOUR_SESSION_ID_HERE와YOUR_SESSION_ID_SIGN_HERE실제 TradingView 자격 증명으로 바꾸세요.커서를 다시 시작합니다.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceControls the TradingView Desktop app via MCP, allowing AI agents to manage charts, indicators, Pine Script strategies, and optionally mirrors signals to MetaTrader 5 for automated trading.MIT
- AlicenseAqualityCmaintenanceAn MCP server that lets Claude analyze your TradingView charts by reading the window and taking screenshots, with no write tools or trade execution.51MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that lets AI assistants interact with TradingView for real-time quotes, historical OHLCV data, screener, alerts, watchlists, news, chart layouts, Pine scripts, and more. Connect it to Claude Desktop, Cursor, or any MCP-compatible client to control TradingView via natural language.2815
- FlicenseNot gradedqualityCmaintenanceAn MCP server that extends TradingView with AI-driven morning briefs, trading rule automation, and 81 tools for chart control, Pine Script development, replay practice, and multi-pane layouts.281
Related MCP Connectors
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Multi-tenant FastMCP server for Charles Schwab brokerage data, monetized via DPYC Tollbooth
Screenshot and HTML render MCP server for AI agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ertugrul59/tradingview-chart-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server