Tokmeter — AI Agent Usage & Cost MCP Server
by sriinnuio.github.sriinnu/tokmeterv1.14.1
Tokens and cost for Claude Code, Codex and 14 more AI coding agents, from local session files.
context tax
queued
security
queued
cold start
queued
freshness
Active3d ago
Install Tokmeter — AI Agent Usage & Cost MCP server
Install in Claude Code
claude mcp add tokmeter -- npx -y @sriinnu/tokmeter-mcp serveInstall in Cursor
{
"mcpServers": {
"tokmeter": {
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp",
"serve"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"tokmeter": {
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp",
"serve"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"tokmeter": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp",
"serve"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"tokmeter": {
"command": "npx",
"args": [
"-y",
"@sriinnu/tokmeter-mcp",
"serve"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Active — last maintenance signal 3d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-06 · 3d ago · GitHub
Latest release
2026-10-05 · 4d ago · GitHub · v1.14.1
Package published
no data · npm/PyPI
Registry entry updated
2026-10-05 · 4d ago · official registry · v1.14.1
FAQ
›How do I install the Tokmeter — AI Agent Usage & Cost MCP server in Claude Code?
Run: claude mcp add tokmeter -- npx -y @sriinnu/tokmeter-mcp serve. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Tokmeter — AI Agent Usage & Cost require an API key?
No required environment variables are declared in its published metadata.
›Can I use Tokmeter — AI Agent Usage & Cost as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Tokmeter — AI Agent Usage & Cost in the official MCP registry?
Yes, as io.github.sriinnu/tokmeter.
Alternatives to Tokmeter — AI Agent Usage & Cost
Other ai & llm tools MCP servers.