A developer built a free TradingView alternative with Claude Code, which costs $13–240 a month
TradingView is a popular charting service for traders, but its paid plans cost $13–240 a month. Developer kennnyz used Claude Code to build Sandchart, a free app for macOS, Windows, and Linux with no ads, telemetry, or subscriptions. Through MCP, the Model Context Protocol for connecting AI to desktop software, an agent can draw levels, set alerts, and test an idea against historical data. It is not a full replacement: for now it supports only Binance spot pairs, but the code is open.
AI-processed from Habr AI; edited by Hamidun News
TradingView is the most popular exchange charting service: traders draw lines, calculate indicators, and set price alerts there. The problem is that it is getting harder to use for free. According to third-party reviews, the free plan allows only two indicators on a chart (it used to be three), one chart per tab, and three alerts, and it shows ads. Paid plans cost roughly $13 to $240 a month, which works out to somewhere between about $150 and nearly $3,000 a year. Developer kennnyz decided the core of such a terminal could be built independently and wrote it together with Claude Code. The result is Sandchart, an open-source desktop app for macOS, Windows, and Linux.
The author is upfront that this is not a full replacement for TradingView. For now the app supports only Binance spot pairs. It has no stocks, no social network, no Pine Script language, and none of the hundreds of other exchanges. But everything runs locally, the code is open under MIT/Apache-2.0, and there are no sign-ups, subscriptions, ads, or telemetry. You can read the code, modify it, and build it for yourself without asking anyone's permission.
An AI agent works with your charts
The main reason to try Sandchart is its MCP server. MCP (Model Context Protocol) is a common way to connect AI agents to ordinary programs. Alongside the app is a small program called sandchart-mcp. Through it, Claude Code, Claude Desktop, Cursor, and other MCP clients can do with charts what a human does: read candles, calculate indicators, draw levels, set alerts, and review replay results. Connecting takes one command: claude mcp add sandchart -- sandchart-mcp.
From there, you can speak in plain language. For example: "Find the latest local lows for BTCUSDT on the 4h timeframe, draw levels based on them, and set alerts for a break to the downside." The agent requests the candles itself, finds the extremes, and draws everything on your chart. Another example is testing an idea on history: "Long on pullbacks to the EMA20 in an uptrend, 1.5% stop, 2R target." The agent calculates the indicators with the same code the chart uses, checks the outcome of each trade against the candles, and plots the trades on the chart. According to the author, doing this by hand would take an evening, while this takes a couple of minutes.
TradingView's AI assistant, AI Copilot, is sold as a separate paid add-on to a paid subscription. Sandchart requires no extra payment: it connects to whichever agent you already use. The app has no exchange API keys at all, so no tool can trade on your behalf.
Custom indicators and backtesting
SMA, EMA, Bollinger Bands, RSI, and MACD are built in. A custom indicator is a WebAssembly module: the app passes it candles, and it returns lines, histograms, markers, or bands. The module runs in a sandbox with no access to files, the network, or the clock, so you can install someone else's indicator without worrying about a data leak. One example from the documentation: a test showed that a moving-average crossover indicator used 727,932 of its 600,000,000 allowed computation steps (0.12%), and its results are deterministic, meaning the same candles always produce the same output.
The simplest way to write indicators is in Rust, using the sandchart-indicator command (new, build, test). But you don't need to know Rust: the repository includes a guide, and each new project gets an AGENTS.md file with rules for the agent.
The documentation contains a ready-made prompt that you paste into Claude Code, Codex, or Cursor, then add what you want, such as "VWAP from the start of the week with one and two standard deviation bands." The agent creates the project, builds it, runs the tests, and fixes errors. A separate check catches repainting: if an indicator changes past values after new candles arrive, the app warns you.
Such indicators look perfect on historical data but mislead in real trading.
Replay mode works as a trainer. You pick a bar in the past, the chart rewinds to it, and candles advance one at a time or automatically at 1, 2, 5, or 10 bars per second. You can open paper trades and move the stop and target. Results are measured in R, units of risk: win rate, total and average R, profit factor, drawdown, and the longest losing streak. The core holds future candles and never sends them to the interface, so you cannot peek ahead even by accident. The session is saved to a .replay file, trades are recalculated when it is opened, and a "strategy with an 80% win rate" can be checked.
Architecture and limitations
Sandchart is a single binary built on Tauri 2: a Rust core with a thin TypeScript and React interface running in the system WebView. The macOS build is about 13 MB, because Electron bundles an entire Chromium, while a pure Rust GUI (egui, iced) would have required far more time for menus and input fields. The trade-off is three different WebViews (WebKit, WebView2, and WebKitGTK), so CI builds and tests the app on all three systems. The chart is drawn by a custom engine on Canvas 2D, and a frame takes less than a millisecond. Prices and volumes are stored as integers in ticks, with no floats.
The limitations are stated plainly: alerts work only while the app is open, delivery to webhooks and Telegram is planned but not yet available, and the MCP server reads the SQLite database directly, without a local API. For a developer, Sandchart is interesting both as a ready-made tool and as an example of a project designed for agents, with a clear contract, a sandbox, and AGENTS.md. You can fork the repository, ask an agent to add the feature you need, and end up with your own version of the terminal.
- Nov 30, 2026Amazon Releases Quick Docs, Sheets and Slides: AI Agents Edit Files for $3 a Month
- Nov 30, 2026SpaceXSI Turns Cursor Into Grok Build and Drops the Brand After a $60 Billion Deal
- Nov 30, 2026Seven Anthropic Repositories That, by One Developer's Estimate, Cut Claude Code Limit Usage by 60%
- Nov 30, 2026Claude Used MCP to Replace a 3D Tree With Pictures: 16 Triangles Instead of 6,265
Key Questions Answered
What are the key details on An AI agent works with your charts?
The main reason to try Sandchart is its MCP server. MCP (Model Context Protocol) is a common way to connect AI agents to ordinary programs. Alongside the app is a small program called sandchart-mcp. Through it, Claude Code, Claude Desktop, Cursor, and other MCP clients can do with charts what a human does: read candles, calculate indicators, draw levels, set alerts, and review replay results. Connecting takes one command: claude mcp add sandchart -- sandchart-mcp. From there, you can speak in plain language.
What are the key details on Custom indicators and backtesting?
SMA, EMA, Bollinger Bands, RSI, and MACD are built in. A custom indicator is a WebAssembly module: the app passes it candles, and it returns lines, histograms, markers, or bands. The module runs in a sandbox with no access to files, the network, or the clock, so you can install someone else's indicator without worrying about a data leak.
What are the key details on Architecture and limitations?
Sandchart is a single binary built on Tauri 2: a Rust core with a thin TypeScript and React interface running in the system WebView. The macOS build is about 13 MB, because Electron bundles an entire Chromium, while a pure Rust GUI (egui, iced) would have required far more time for menus and input fields. The trade-off is three different WebViews (WebKit, WebView2, and WebKitGTK), so CI builds and tests the app on all three systems.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
