Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
Token budget auditor for agent context: per-file estimates, top offenders, exclusion advice.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"contextbudget": {
"command": "npx",
"args": [
"-y",
"@reneturcios/contextbudget",
"mcp"
]
}
}
}Run this in your terminal
claude mcp add contextbudget -- npx -y @reneturcios/contextbudget mcpPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"contextbudget": {
"command": "npx",
"args": [
"-y",
"@reneturcios/contextbudget",
"mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"contextbudget": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/contextbudget",
"mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified with the GitHub account CloudCorpRecords, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.1.0) reached the registry 12 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, Docker on your computer.
In the same category: Spec Driven Development, Remote Desktop Commander, DiffCI
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
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.
Fail-closed, change-aware verification for AI coding agents with affected-test guidance.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
contextbudget estimates the token cost of a directory tree for an agent context window. It walks a tree, estimates the cost of every text file, compares the total against a budget, and reports the largest files and the subtrees that were skipped, so you can decide what to exclude before a tree eats the whole window.
The token numbers in this tool are a heuristic estimate, not a tokenizer count. contextbudget decodes each counted file as UTF-8 text and applies one deterministic rule: tokens = ceil(chars / 4), where chars is the length of the decoded text. Real tokenizers split text differently depending on the model, so a real tokenizer will give a different number for the same file, sometimes higher and sometimes lower. Use these numbers to compare files with each other, to rank the biggest offenders, and to check a tree against a rough budget. Do not use them as an exact prediction of what any specific model will charge or accept.
npx @reneturcios/contextbudget budget [path]
Or install it as a dependency of your own tooling and use the MCP server form below. The package requires Node 20 or newer.
contextbudget budget [path] [--json]
contextbudget mcp contextbudget --version
budget [path]: check the tree at path, which defaults to the current directory. Prints a human readable report, or the full JSON report with --json.mcp: run the MCP server over stdio.--version: print the version.Exit codes:
The default budget is 200000 estimated tokens. Set the environment variable CONTEXTBUDGET_BUDGET to a positive integer to use a different budget:
CONTEXTBUDGET_BUDGET=50000 contextbudget budget ./src
If the variable is unset, unparsable, or not positive, the default of 200000 applies.
Findings:
large-file, for each counted file whose estimated tokens are over 10 percent of the budget.skipped-large, for each file skipped for exceeding the 1 MiB limit.skipped-dir, for each directory skipped by the default skip list.Ordering is deterministic: files are ranked by estimated tokens descending, then path ascending, and directory entries are visited in sorted name order. Reports carry no timestamps.
The JSON report has tool, version, target, verdict, counts, findings, and summary. The headline numbers live in counts:
files: files counted.totalTokens: total estimated tokens across counted files.totalChars: total characters across counted files.budgetTokens: the budget in effect.remainingTokens: budget minus total, negative when over budget.skippedDirs, skippedBinary, skippedLarge: skip counts.findings, findingsHigh, findingsMedium, findingsInfo, findingsLow: finding counts.ext: :files and ext: :tokens: per extension totals, for example ext:.ts:tokens.top: : estimated tokens for each of the top 10 largest files.The MCP server exposes one tool:
budget_path: takes a path string and returns the same JSON report as contextbudget budget --json.Run it with contextbudget mcp, or through the registry entry in server.json.
CONTEXTBUDGET_BUDGET.npm install
npm run build npm test