token-gate-mcp server
Token and context budget for AI agents. Tracks spend and gates the session.
51 downloads/wk
Reviews
Write oneNobody has reviewed token-gate-mcp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
token-gate-mcp tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
context.checkCheck whether the session has gone over its token budget. Returns a boolean the agent can gate on before continuing.
context.estimateEstimate the token cost of reading a file before reading it, and compare it with cheaper alternatives such as a graph query. Use this before a large read to protect the budget.
context.limitSet or read the token budget for the session. With maxTokens set, stores the budget; without, returns the current budget and remaining tokens.
context.logRecord a token spend event into the session ledger. Call this after a read, a tool call, or a model turn so the budget report stays truthful.
context.reportReturn the current session token spend: totals, spend by kind, budget, and remaining budget.
Public scan report
scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenanceno repository listed3/15
- Maintainer identityno repository or website to verify2/10
Findings (1)
- lowNo source repository listed
maint.no-repo
How token-gate-mcp compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 65/100
- higher than 20% of 48,255 servers
- Tools
- 5
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 51
- more than 43% of 12,191 servers with a package
What its tools let an agent do: 5 read
Install token-gate-mcp in Claude Code, Cursor or VS Code
Runs npx -y token-gate-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add token-gate-mcp -- npx -y token-gate-mcp
token-gate-mcp: common questions
- Is token-gate-mcp server safe?
- With care: it is graded C, so read the findings first (65/100). Read the token-gate-mcp safety report
- How do I install token-gate-mcp?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does token-gate-mcp need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is token-gate-mcp maintained?
- The latest release is v0.1.3.
- How does token-gate-mcp compare with other MCP servers?
- safety score 65/100 (higher than 20% of 48,255 servers); tools 5 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.