TokenZero MCP
TokenZero MCP is an official server that allows coding agents to audit repositories for LLM token waste, optimize prompt payloads, calculate model arbitrage opportunities, and provision or monitor workspaces for cost optimization.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Audit a repository for uncached static prompts and LLM calls in loops
- Price model choices before writing API calls
- Optimize prompt payloads for provider caching
- Calculate model arbitrage to reduce costs
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@tokenzero/mcp 0.2.9
{
"version": "0.2.9",
"transport": "stdio",
"identifier": "@tokenzero/mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "TOKENZERO_URL",
"description": "Gateway base URL (default https://tokenzero.sh)"
},
{
"name": "TOKENZERO_KEY",
"description": "Workspace key (tz_live_…) for workspace_metrics; optional"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"tokenzero-mcp": {
"command": "npx",
"args": [
"-y",
"@tokenzero/mcp@0.2.9"
],
"env": {
"TOKENZERO_URL": "<YOUR_TOKENZERO_URL>",
"TOKENZERO_KEY": "<YOUR_TOKENZERO_KEY>"
}
}
}
}Cline
{
"mcpServers": {
"tokenzero-mcp": {
"command": "npx",
"args": [
"-y",
"@tokenzero/mcp@0.2.9"
],
"env": {
"TOKENZERO_URL": "<YOUR_TOKENZERO_URL>",
"TOKENZERO_KEY": "<YOUR_TOKENZERO_KEY>"
}
}
}
}VS Code
{
"servers": {
"tokenzero-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tokenzero/mcp@0.2.9"
],
"env": {
"TOKENZERO_URL": "<YOUR_TOKENZERO_URL>",
"TOKENZERO_KEY": "<YOUR_TOKENZERO_KEY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"tokenzero-mcp": {
"command": "npx",
"args": [
"-y",
"@tokenzero/mcp@0.2.9"
],
"env": {
"TOKENZERO_URL": "<YOUR_TOKENZERO_URL>",
"TOKENZERO_KEY": "<YOUR_TOKENZERO_KEY>"
}
}
}
}Let your agent find its tools
Find servers like TokenZero MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.