Trazum
Trazum as an MCP server: let an agent price and budget its own prompts before it sends them.
- Transport
- Not stated
- Package
- —
- Registry id
- io.github.Davmunrey/trazum
No install snippet on purpose. A working MCP config is a command, its arguments and an environment block — the last two are where API keys live, so this catalogue never stores them and cannot publish them. Follow the link above for the authors' own instructions.
A deterministic cost analyser for prompts and usage logs. Offline, free, same answer every time. It reports sixteen findings priced in dollars per month: caching you are not getting, a model tier you may not need, a schema you pay to describe on every call. Shortening the prompt is one of them, and it is rarely the biggest.
Start here: one line, nothing installed
npx @trazum/cli bill ~/.claude/projects
Point it at a file or a folder of whatever usage you have — Claude Code transcripts, OpenTelemetry spans, a LiteLLM, Helicone or LangSmith export, an Anthropic, OpenAI or OpenRouter usage report, or a plain usage log — and it tells each file's shape from its own text, prices it, and prints the receipt. A file it cannot read is named, never guessed at; a model it cannot price is a named gap, never a zero. Nothing you point it at leaves your machine.
Your agents spend money in a loop. This prices the call before it happens.
One agent costs what it costs. A fleet of them spends in a loop nobody is watching per iteration, and the bill arrives a month later as one number with no per-decision detail inside it.
Trazum installs into that loop. The MCP server's first tool is spend_guard,
and it is the only one here whose trigger is not a sentence somebody types:
"May I spend this?" -> yes, no, or cannot-tell.
A refusal carries the cheaper ways to make the same call, each priced for that
call and each naming what it assumes. The ceilings come from your
trazum.config.json; the spend so far comes from the usage log your host
already writes. Nothing is called and nothing is spent to answer.
claude plugin marketplace add Davmunrey/Trazum
claude plugin install trazum@trazum
That one line brings the skill and the MCP server. Every other MCP client
reads the same mcpServers JSON, so Cursor (.cursor/mcp.json), Windsurf,
Claude Desktop and the rest are one paste:
{ "mcpServers": { "trazum": { "command": "npx", "args": ["-y", "@trazum/mcp"] } } }
The server is listed on the official MCP registry
as io.github.Davmunrey/trazum, and every release updates the listing.
Or run it right now, without installing anything: the Playground
That link opens the CLI's pure subset running in the page, against sample files
already loaded, through the same @trazum/core functions the terminal runs.
Nothing you paste leaves your browser.
The argument, in one screenshot
Real output, transcribed. Read the last two lines: the rules recovered $24.00 a month, and the advisory above them is worth $528.40, 22 times more. That gap is the entire argument for this tool.
From the project's README.