Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Trazum as an MCP server: let an agent price and budget its own prompts before it sends them.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"trazum": {
"command": "npx",
"args": [
"-y",
"@trazum/mcp"
]
}
}
}在终端中运行这条命令
claude mcp add trazum -- npx -y @trazum/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"trazum": {
"command": "npx",
"args": [
"-y",
"@trazum/mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"trazum": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trazum/mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Davmunrey 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.7.7)于昨天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Systemdox
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Your architecture in your agents' context: checks, specs, ADRs and docs over MCP, at write time.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Find where your AI usage costs money, choose a change, and check the result. Trazum analyses local usage logs and prompts, ranks opportunities such as caching and model changes, and keeps estimates separate from measured outcomes.
Open source · Local analysis · No provider key needed to get started
Requires Node.js 20 or newer. npx may download Trazum from npm.
npx @trazum/cli bill
*Illustrative data from examples/claude-projects, not a customer result. Generated from the CLI output.*
With no path, bill reads the local sessions of Claude Code, Codex and Gemini CLI, names each folder it reads, and splits the result by agent, project and model, with each session's subagents and workflows under the project they ran for; --by day|week|month adds the period you ask for. On a subscription, this is API-equivalent cost, not what you paid. Unpriced models are reported as gaps. Local analysis does not upload your files.
Have a supported usage export instead? Pass its path:
npx @trazum/cli bill ./usage-export.jsonl
Supported inputs · Try sample data in your browser
For teams paying for API usage, the useful question is what to change next. Start with your largest workload, review the assumptions behind one finding, and evaluate quality before changing models or prompts.
bill shows the recorded cost and coverage gaps.plan ranks opportunities from a normalized usage log.verify compares the saved plan with later usage, including cases where the evidence cannot settle the result.Follow the first-report-to-verification walkthrough. A projected saving is not a guaranteed reduction in your invoice.
A smaller API-equivalent estimate does not reduce a fixed subscription fee. Use Trazum to inspect conversation growth, review redundant prompt text and set token budgets for instructions you control. Check task quality before keeping a shorter prompt. This does not automatically manage your agent's context or guarantee more messages under your provider's limits.
Subscription efficiency workflow.
In the [Tasks dashboard](https://trazum.vercel.app/?tab=tasks) and CLI/MCP 2.6.0: task efficiency connects Claude Code/Codex task usage, repeated-tool evidence, a reversible instruction policy and an explicit acceptance decision. Compare observed usage before and after a change without inferring success or guaranteed savings.
npx @trazum/cli bill ./usage-export.jsonl --html-out bill.html
PDF, CSV and Markdown exports are also available. Review the report before sharing it: it contains usage and cost information.
Claude Code is the first native integration, not a provider lock-in. Codex session imports, normalized usage logs and provider exports feed the same core. MCP clients can query Trazum without having a native transcript adapter.
| You need | Start here |
|---|---|
| A terminal report | Quick start |
| Native agent session import | Claude Code or Codex |
| A task-level efficiency experiment | Analyze, apply a policy and compare, since 2.6.0 |
| An agent integration | CLI, MCP and skill workflows |
| An API contract or enforced call path | Local HTTP API or gateway |
| The full documentation | Task-based index |
Harness, model and payment mode are separate facts. An API-equivalent estimate is not a subscription invoice; a model without a price remains a gap.
Explore advanced workflows, commands, architecture and limitations
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. An agent that reads Agent Skills from the repository instead gets the same skill with npx skills add Davmunrey/Trazum. 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](https://trazum.vercel.app/?tab=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.
*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.*
*Generated by npm run draw:architecture, not drawn. architecture-image.test.js fails the build if a package exists that the picture does not show, if the core takes a dependency while the picture says it has none, or if a third module is allowed to reach a network without the picture saying so.*
The prompt is the part everyone looks at, and usually the cheap part. In the run above, forty percent of the text came out and it moved 3.5% of the bill. What moved the rest was a question nobody was asking: does this task need the model it is running on?
Every figure has a receipt. Sixteen advisories, each priced per month and reproducible on a single file: caching you are not getting, work that could go through the Batch API, a schema costing tokens on every call to describe a shape the request could carry as a parameter. Underneath them, twelve deterministic rules that shorten the text itself: same input, same output, free, offline, and never touching code, URLs, email addresses or placeholders. On top, an optional LLM pass for the compression rules cannot do, through whichever provider you configure, which never runs unless you ask.
┌──────────────┐
│ @trazum/core │ the library: rules, tokens, pricing └──────┬───────┘ zero dependencies, browser-safe ┌────────────┬─────────────┼─────────────┬─────────────┐ @trazum/cli @trazum/mcp trazum-vscode @trazum/web action/ 55 commands MCP server the editor Next.js comments on for your agents status bar pull requests
@trazum/tokenizer-openai optional: exact counts for OpenAI install it or do not, nothing else changes
| I want to… | Go to |
|---|---|
| Get a first result | Quick start |
| Understand recorded spend | Usage inputs and bill/profile |
| Set budgets | CI gates or gateway decisions |
| Integrate Trazum | CLI, web, library and agents |
| Find a command or a data contract | Command reference and documentation index |
Limitations · Privacy · Pricing · Contributing
The analyser reports sixteen findings, with assumptions attached to each estimate.
1. Tells you where the money actually is. This is the part worth reading first, because it is where the numbers are. Every advisory is priced per month against your own call volume, and none of them is about making the text shorter:
| Advisory | Why it matters |
|---|---|
| Prompt caching | Reading from cache costs 10% of input. The saving is computed over the real stable prefix: in a template with {{placeholders}}, only what precedes the first one is cached — not the whole prompt. |
| Reorder the template | Stable instructions sitting *after* the first variable placeholder never cache today. Trazum prices moving them in front — and with --reorder, does it. |
| Batch API | 50% off input and output when the work tolerates latency. |
| Cheaper model | Complexity heuristic: if the task looks simple, what dropping a tier would save. |
| Output-dominated cost | If you pay more for the answer than for the prompt, shortening the prompt has a ceiling. |
| Promotional pricing | Warns when you are budgeting with an introductory price that expires. |
| Context window | If the prompt does not fit, the call is going to fail. |
| Contradictory instructions | "Answer in English" three paragraphs above "reply in the customer's own language". The model has to pick one, and which one can change between calls — a correctness problem that also costs tokens twice. |
| Redundant examples | Few-shot examples that are near-copies of an earlier one, and what they cost per month. |
| Output format stated twice | A schema shown in a code block and then walked again in prose. The block is the version worth keeping.
只显示了开头部分;其余内容请在仓库中阅读