Promptbudget MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 28 installs a week from npm. Last commit 13 Jun 2026.
Token-budget-aware text handling: count, truncate, and chunk for LLM prompts.
We read the source, 18 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
этот файл ставится пользователю, но в репозитории его нет
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add promptbudget-mcp -- npx -y @mukundakatta/promptbudget-mcp
{
"mcpServers": {
"promptbudget-mcp": {
"args": [
"-y",
"@mukundakatta/promptbudget-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.promptbudget-mcp]
command = "npx"
args = ["-y", "@mukundakatta/promptbudget-mcp"]
{
"mcpServers": {
"promptbudget-mcp": {
"args": [
"-y",
"@mukundakatta/promptbudget-mcp"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"promptbudget-mcp": {
"args": [
"-y",
"@mukundakatta/promptbudget-mcp"
],
"command": "npx"
}
}
}
Token-aware message truncation: fit a chat history into your model's context budget.
Token and context budget for AI agents. Tracks spend and gates the session.
Cut LLM token costs: count tokens, estimate cost, slim prompts, and pick the cheapest capable model.
at-handle token count, text discarded
Context window token analysis and budget management
Compare up-to-date pricing for 40+ LLMs (incl. Chinese) & estimate cost from tokens. EN/zh.
Code knowledge graph over MCP: token-budgeted context for AI coding agents.
Prompt-injection firewall for AI agents — scan untrusted text before LLM calls.
Answers built from our own checks of this server.