dev.tokensafe/tokensafe
pkg:npm:tokensafe
Cut AI coding agent token usage up to 90% via AST slicing, dependency graphs & security guards.
- transport:
- remote + stdio
- credential class:
- open
Owner verification
Not yet verified. Verifying proves you control this server and is free, permanently — it never changes a published score.
Start verification →Tools
- check_latest_versionshallow
Checks the client version against the latest published tokensafe release.
- distill_promptshallow
Managed Cloud Distillation: compiles a verbose developer prompt into a dense TOCP S-expression server-side. Requires Solo/Team license.
- generate_team_seatshallow
Team owner: provisions a seat license for a member email.
- get_license_statusshallow
Validates the Bearer license key and returns tier, expiry and trial state.
- get_public_statsshallow
Returns aggregated public TokenSafe stats (total tokens saved, active teams). No auth.
- get_setup_instructionsshallow
Returns exact MCP configuration snippets for a coding agent (cursor, claude_desktop, claude_code, codex, windsurf, antigravity, gemini_cli).
- get_team_metricsshallow
Returns the authenticated account's dashboard data: savings, telemetry stats, licenses and team seats.
- list_invoicesshallow
Lists Stripe billing invoices for the authenticated account.
- preview_weekly_digestshallow
Team owner: previews the weekly team stats digest (same data as the Friday email).
- revoke_team_seatshallow
Team owner: revokes a previously issued seat license.
- search_docsshallow
Searches the built-in TokenSafe knowledge base (features, install, tiers, privacy).
- team_cache_lookupshallow
Looks up a shared team distillation cache entry by hash. Requires Team license.
- team_cache_storeshallow
Stores a distilled result in the shared team cache so teammates reuse it. Requires Team license.
Embed this server’s score
Tool count and median score across every tool in this server’s corpus — honest in a way a single cherry-picked tool’s badge wouldn’t be.
[](https://vouch.tools/servers/62391713-0b20-43e9-b19f-fa453729e1c7)