claude-tradingview-mcp
An MCP server that lets Claude analyze your TradingView charts by reading the window and taking screenshots, with no write tools or trade execution.
README
<div align="center">
claude-tradingview-mcp
Let Claude see your TradingView charts. Never let it trade them.
An MCP server that lets Claude analyze the chart you're looking at in the TradingView desktop app — by reading the window with AppleScript and screenshotting it. It has no order tools, no alert-write tools, no money-movement tools, and it refuses to boot if anyone adds one.
</div>
2. Demo
GIF placeholder:
docs/media/demo.gif— Claude Desktop receiving ascreenshot_chart()of an AAPL daily, then callingextract_indicators()and giving a plain-language read. (Record a 12–20s loop: ask "what's on my screen?" → Claude shows the chart back + the RSI/EMA/MACD read.)
3. Install
# 1) install the server (pipx keeps it isolated)
pipx install claude-tradingview-mcp # or: uv tool install claude-tradingview-mcp
# 2) register it with Claude
claude mcp add tradingview claude-tradingview-mcp
Then grant macOS Accessibility + Screen Recording to the app running the server (Terminal / Claude Desktop) — see docs/install.md.
4. Quickstart
Drop the snippet from examples/claude-desktop-config.json
into your Claude Desktop config, chart any symbol in TradingView, and ask:
"What's on my screen?"
Claude calls get_symbol() → screenshot_chart() → extract_indicators() and tells
you what it sees.
5. Why
Claude can already analyze prose. Now it can analyze your charts — the exact ones on your screen, with your indicators and your layout. The chart stays on your machine: the screenshot is captured from your window, handed to Claude, and the temp file is deleted immediately. Nothing is uploaded by this tool, and nothing it exposes can place a trade.
6. The tools (all read-only)
| Tool | What it returns |
|---|---|
get_symbol() |
the charted symbol + timeframe (from the window title) |
screenshot_chart() |
a base64 PNG of only the TradingView window |
extract_indicators() |
RSI, EMA20/50/200, MACD, ATR, Bollinger, VWAP, Supertrend + a verdict |
get_watchlist() |
symbols TradingView currently exposes |
read_alerts() |
read-only view of visible alert configs |
resource tradingview://current |
current symbol + open windows snapshot |
Tools this server will never have
place_order · modify_alert · paper_trade · withdraw · buy · sell ·
cancel_order · close_position · transfer — registration of any of these raises
at boot. See safety.py and
tests/test_safety.py.
7. Demo video
Placeholder: a 60-second screencast (link here). Show the boot-time safety abort when a write tool is added — that's the moment that sells the project.
8. FAQ
Will it ever execute a trade?
No. There is no code path that can. Tools are registered through a hardcoded allowlist
in safety.py; any tool whose name even
contains a trade/write verb raises SafetyViolation before the server starts. The
test suite asserts the registry is exactly the five read-only tools.
Does my chart get uploaded anywhere? The screenshot is captured locally and deleted from disk right after it's encoded. This tool uploads nothing. (Your MCP client — Claude — receives the image to analyze; that's the point.)
Does it work on Windows/Linux?
Not yet — it relies on macOS AppleScript + screencapture. PRs welcome for a
Windows/Linux read path, as long as they stay read-only.
Do I need a TradingView API key / paid plan? No. There is no TradingView API here — it reads the desktop app's window. Indicator math uses free public OHLC from yfinance.
9. Comparison
| claude-tradingview-mcp | ccxt MCP servers | tradingview-screener | |
|---|---|---|---|
| Reads your actual on-screen chart | ✅ | ❌ | ❌ |
| Can place orders | ❌ never | ✅ (that's the point) | ❌ |
| Needs API keys / exchange creds | ❌ | ✅ | ❌ |
| Screenshot of your live window | ✅ | ❌ | ❌ |
| Indicator bundle | ✅ (local, MIT) | varies | scanner-based |
| Safety model | read-only by construction | you hold the keys | read-only |
10. Contributing
PRs welcome — with one hard rule: we will not merge any PR that adds a write tool (orders, alert mutation, money movement, "just paper trading", anything). The CI safety test will fail it, and so will we. See docs/threat-model.md.
11. License & sponsors
MIT © 2026 Aiden Hecker. See LICENSE. Indicator formulas are pure pandas (no AGPL dependency). If this saves you time, sponsorship keeps it maintained.
12. Requirements
macOS · TradingView desktop app · Python 3.10+ · Accessibility + Screen Recording permission for the host app. How it works: docs/how-it-works.md.
<div align="center"> <sub>Built because almost no MCP server reads the chart you're <em>actually</em> looking at. Read-only by construction — <a href="docs/threat-model.md">audit the 90 lines that guarantee it</a>.</sub> </div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。