Tokmeter MCP
Tokmeter MCP allows AI agents to query local spending data for AI coding agents. It parses local session logs from tools like Claude Code, Codex, and Gemini CLI to provide token counts and cost analysis without sending data externally. This enables agents to understand their own resource usage and cost implications directly from the user's machine.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Query current token usage and cost for AI coding agents
- Retrieve daily spending ledgers for cost analysis
- Check model-specific pricing against a public catalog
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@sriinnu/tokmeter-mcp 1.19.8
{
"version": "1.19.8",
"transport": "stdio",
"identifier": "@sriinnu/tokmeter-mcp",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"packageArguments": [
{
"type": "positional",
"value": "serve",
"valueHint": "serve",
"description": "Run the MCP server over stdio. The package's default command starts the live terminal UI instead, so this argument is required."
}
]
}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": {
"tokmeter-mcp": {
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp@1.19.8",
"serve"
]
}
}
}Cline
{
"mcpServers": {
"tokmeter-mcp": {
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp@1.19.8",
"serve"
]
}
}
}VS Code
{
"servers": {
"tokmeter-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp@1.19.8",
"serve"
]
}
}
}Claude Desktop
{
"mcpServers": {
"tokmeter-mcp": {
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp@1.19.8",
"serve"
]
}
}
}Let your agent find its tools
Find servers like Tokmeter MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.