Tare
See where your coding agent's tokens and money went, with cache-safe fixes
- Pricing
- Free
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 0.2.0
- Listing updated
- 3 days ago
About Tare
Tare is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Most of an agent bill is re-reading context it has already seen. Tare reads the session logs your assistant already keeps, prices every call at API list rates, and attributes spend to startup context, each tool's output, sub-agents and cache rebuilds. It reads Claude Code, Codex CLI, Gemini CLI, Cline, Roo Code and Kilo Code.
The README's own example is a month of 254 sessions at $6,720 API-equivalent spend with $623 flagged as avoidable, including a coffee-break cost for caches that expired after idle pauses. Fixes are deliberately narrow: an output trim hook that cuts long Bash output to first lines, failure lines and the tail, saving the full text locally, and a status line showing cache time left. Backups are taken first and tare fix --undo reverses them.
tare receipt compares cost per commit before and after with a 90% range, and refuses to print a number below 8 finished sessions on either side. It runs locally, uploads nothing and never calls a model. The MCP server offers tare_wrapped, tare_receipt and tare_cache; npx tarelab setup adds it to supported apps.
Install
Run in a terminal
claude mcp add tarelab -- npx -y tarelabAdd to claude_desktop_config.json
{
"mcpServers": {
"tarelab": {
"command": "npx",
"args": [
"-y",
"tarelab"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"tarelab": {
"command": "npx",
"args": [
"-y",
"tarelab"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"tarelab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tarelab"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"tarelab": {
"command": "npx",
"args": [
"-y",
"tarelab"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"tarelab": {
"command": "npx",
"args": [
"-y",
"tarelab"
]
}
}
}Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- tare_wrapped
- Returns the spend summary for recent sessions.
- tare_receipt
- Returns the before-and-after cost per commit comparison.
- tare_cache
- Returns cache status information.
What it does
- Spend breakdown
- Splits cost into cache reads, cache writes and output.
- Waste attribution
- Names startup context, tool output, sub-agents and cache rebuilds.
- Output trim hook
- Shortens long Bash output while keeping failures.
- Cache countdown
- Status line shows when the cache goes cold.
- Savings receipt
- Compares cost per commit before and after fixes.
- Reversible setup
- Backups and an undo command protect settings.
Good for
- Find out what a month of Claude Code use would cost on the API
- See how much was lost to idle cache expiry
- Trim noisy test logs before they enter context
- Check whether a fix really saved money
Pricing
Free
Local and free
Prices change. Check tare.priberry.com before you buy.
Tare FAQ
Does it send my logs anywhere?
No. It runs locally, uploads nothing and never calls a model.
Is it free?
The site describes it as local and free.
Can I undo the fixes?
Yes, tare fix --undo removes only Tare's entries.
Which agents does it read?
Claude Code, Codex CLI, Gemini CLI, Cline, Roo Code and Kilo Code.
Is Tare free?
Yes. Tare is free to use.
How do I add Tare to Claude Code?
Run this command in your terminal: claude mcp add tarelab -- npx -y tarelab
What are the best alternatives to Tare?
The closest alternatives to Tare are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Tare

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools