← all repositories
Leanmcp/superview.sh

A proxy that lets you spy on your Claude Code spending

Two environment variables and a dashboard to see every token, file read, and API call your AI assistant makes behind the scenes.

2.1k stars Shell LearningCoding Assistants
superview.sh
Velocity · 7d
+30
★ / day
Trend
steady
star history

What it does

Superview (marketed inside the “Clear-Code” repo) is a thin proxy layer for Claude Code. You swap two environment variables—ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY—and your traffic routes through LeanMCP’s gateway instead of straight to Anthropic. A web dashboard then shows you the full request/response logs, file reads, and token burn. That’s the whole trick.

The interesting bit

The README is mostly a long-form guide to open-source AI coding tools (Cline, Aider, OpenHands, etc.). The actual superview.sh product is buried like a classified ad in a newspaper—two lines of shell config and a link. It’s either brilliant content marketing or accidental SEO, depending on your cynicism level.

Key highlights

  • Zero code changes: two export statements and you’re proxied
  • Web dashboard for log inspection at app.leanmcp.com
  • Requires a LeanMCP API key (pricing/billing page referenced but not detailed in README)
  • Docs live at docs.leanmcp.com/ai-gateway/claude-code
  • Repo itself is a curated comparison of ~8 open-source coding assistants with quick-start commands

Caveats

  • The README never explains what the proxy costs; you have to click through to a billing page
  • “Superview.sh” appears to be a marketing name—the repo is called clear-code and contains no shell script source
  • No technical details on data retention, latency overhead, or whether requests are stored

Verdict

Worth a look if you’re burning mystery tokens in Claude Code and need visibility yesterday. Skip it if you want self-hosted observability or are allergic to routing proprietary code through a third-party gateway with opaque pricing.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.