TokenTrace MCP
TokenTrace MCP provides a local, read-only interface for AI agents to access CLI usage analytics, token accounting, and cost estimation data stored in a local SQLite database. It allows agents to query usage pulses, model rates, and evidence trails without cloud telemetry or external accounts, supporting local-first privacy and verifiable data confidence scores.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Query local AI CLI token usage and cost estimates
- Retrieve evidence trails for specific usage totals
- Check scan health and repair recommendations
- Access anomaly detection and auto-classifier results
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
tokentrace 0.21.2
{
"version": "0.21.2",
"transport": "stdio",
"identifier": "tokentrace",
"runtimeHint": "npx",
"registryType": "npm",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
]
}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": {
"tokentrace-mcp": {
"command": "npx",
"args": [
"-y",
"tokentrace@0.21.2",
"mcp"
]
}
}
}Cline
{
"mcpServers": {
"tokentrace-mcp": {
"command": "npx",
"args": [
"-y",
"tokentrace@0.21.2",
"mcp"
]
}
}
}VS Code
{
"servers": {
"tokentrace-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tokentrace@0.21.2",
"mcp"
]
}
}
}Claude Desktop
{
"mcpServers": {
"tokentrace-mcp": {
"command": "npx",
"args": [
"-y",
"tokentrace@0.21.2",
"mcp"
]
}
}
}Let your agent find its tools
Find servers like TokenTrace MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.