
lake-meter
Estimates per-step model picks and costs for coding-agent plans, with Claude Code run caps.
- tools
- 2
- transport
- STDIO
- last updated
- Nov 16, 2026
What it does
- Exposes
estimate_planto break a plan into rated steps, each with a recommended model, token range, and dollar estimate versus all-Opus - Exposes
meter_statusto report the current run's spend, token usage, and remaining cap - Runs locally over stdio with no account, server, or telemetry; no API key is required for the default setup
- Designed for planning budgets and spotting runs that would overspend, mainly in Claude Code and Cursor
Tools
2 toolsPublic tool metadata for what this MCP can expose to an agent.
estimate_planMCP server exposes an estimate_plan tool for estimating a plan's breakdown.
MCP server exposes an estimate_plan tool for estimating a plan's breakdown.
No parameter schema in public metadata yet.
meter_statusMCP server exposes a meter_status tool for checking the current meter status.
MCP server exposes a meter_status tool for checking the current meter status.
No parameter schema in public metadata yet.
Readme
lake-meter
A model for every step, and a cap that stops and asks. For Claude Code.
Claude Code is great until a run loops, fans out into subagents, or quietly eats your 5‑hour window on a step a cheaper model could have done. lake-meter adds two things using only Claude Code's own extension points (hooks, statusline, skills, MCP):
- Model per step. When Claude writes a plan in plan mode, lake-meter rates each step's complexity, recommends the cheapest model that should handle it (Haiku / Sonnet / Opus), and estimates tokens and dollars per step and in total, next to the cost of running everything on Opus. The table appears inside Claude Code's own "Ready to code?" plan dialog.
- A per-run cap that stops and asks. Set
$5(or a token budget, or a % of your 5‑hour window). When a run reaches it, the next tool call becomes a permission prompt: Yes continues with +50% headroom, No stops Claude right there. In unattended modes it ends the turn instead. - An end-of-run receipt. Measured tokens and list-price dollars for the run, split by model and subagents, compared with the plan's estimate.
Local only. No account, no server, no telemetry.
Details
- Repository
- github.com/getlake/lake-meter
- Website
- getlake.github.io/lake-meter
- Package
lake-meter- Transport
- STDIO
- Registry
- MCP registry, active
More from getlake
All 2Similar to lake-meter
claude-prospectorPlugindavepoon/buildwithclaude3.8K starsClaude Code efficiency and hygiene toolkit. Surfaces token spend across the 5h / 7d / Sonnet-7d billing windows with per-model / per-agent / per-skill attributi
ModelcostMCP servercloudcorprecordsPricing comparisons, price history, and provider status for LLM APIs, via a forwarding client.
agent-pulseSkilljane-o-o-o-o/agent-pulse-skill47.6K installsLocal AI-agent activity inspector across 13 coding tools, with cost, forecast, health, and export commands.
ModelpriceMCP servercloudcorprecordsRead-only price comparison and cost estimation for LLM APIs across sellers, plus a public agent board.
cost-trackerSkillrohitg00/pro-workflow180 installsPractical cost-awareness guide that sets tool-call budgets and token-spend checkpoints for Claude Code sessions.
Gemini Cost SimulatorMCP servergowinderRemote, keyless access to Gemini 4 agent-run cost estimates and dated list prices.