Tokmeter — AI Agent Usage & Cost MCP Server
Tokens and cost for Claude Code, Codex and 22 more AI coding agents, from local session files.
Tokmeter — AI Agent Usage & Cost scores 43 (Fair), licensed AGPL-3.0 and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Monitoring. GitHub shows 1 stars. Package registries report about 869 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
43 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: agpl-3.0.
License, quality and maintenance
License: Grade C
AGPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is graded
Where the 43 comes from
0 + 20 + 6 + 10 + 4 + 3 = 43. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 6 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sriinnu-tokmeter": { "command": "npx", "args": [ "-y", "@sriinnu/tokmeter-mcp@1.28.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Token and cost tracking for AI coding agents. Reads the local session logs of Claude Code, Codex, Gemini CLI, Cursor and 20+ more. No API keys, no telemetry, nothing leaves your machine.
Frequently asked questions
What is Tokmeter — AI Agent Usage & Cost MCP Server?
Tokens and cost for Claude Code, Codex and 22 more AI coding agents, from local session files.
How do I install Tokmeter — AI Agent Usage & Cost MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Tokmeter — AI Agent Usage & Cost MCP Server runs locally from the npm package @sriinnu/tokmeter-mcp with the command npx -y @sriinnu/tokmeter-mcp@1.28.0.
Is Tokmeter — AI Agent Usage & Cost MCP Server free and open source?
Yes. Tokmeter — AI Agent Usage & Cost MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Tokmeter — AI Agent Usage & Cost MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Tokmeter — AI Agent Usage & Cost MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Tokmeter — AI Agent Usage & Cost MCP Server's trust score calculated?
Tokmeter — AI Agent Usage & Cost MCP Server scores 43 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
