AI Usage MCP
A local-first MCP server that reports real token usage and cost from Claude Code, OpenCode, and Codex CLI data. It keeps history in a local SQLite database, identifies cache health issues, verifies numbers against independent reads, and supports exporting data to CSV or JSON without uploading anything to the cloud.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 1 GitHub star
What you can do with it
- Report token usage and cost per client, model, and session
- Identify where prompt cache was lost during development sessions
- Verify usage numbers against independent source reads
- Export usage data to CSV or JSON for budgeting
Source and maintenance
- Last repository push
- Latest release
- v0.16.1
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ai-usage-mcp 0.16.1
{
"version": "0.16.1",
"transport": "stdio",
"identifier": "ai-usage-mcp",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"ai-usage-mcp": {
"command": "npx",
"args": [
"-y",
"ai-usage-mcp@0.16.1"
]
}
}
}Cline
{
"mcpServers": {
"ai-usage-mcp": {
"command": "npx",
"args": [
"-y",
"ai-usage-mcp@0.16.1"
]
}
}
}VS Code
{
"servers": {
"ai-usage-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-usage-mcp@0.16.1"
]
}
}
}Claude Desktop
{
"mcpServers": {
"ai-usage-mcp": {
"command": "npx",
"args": [
"-y",
"ai-usage-mcp@0.16.1"
]
}
}
}Let your agent find its tools
Find servers like AI Usage MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.