Tokmeter — AI Agent Usage & Cost MCP server
Tokens and cost for Claude Code, Codex and 14 more AI coding agents, from local session files.
0 stars34 downloads/wk
Reviews
Write oneNobody has reviewed Tokmeter — AI Agent Usage & Cost yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Tokmeter — AI Agent Usage & Cost tools (24, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
drishti_anomalyDetect unusual spending patterns and anomalies in token usage.
drishti_backupsList available cleanup backups with metadata (date, size, providers, projects).
drishti_budgetMonitor spending against a budget with visual progress bars and alerts.
drishti_budget_alertProactive budget monitoring with configurable daily/weekly/monthly thresholds.
drishti_cache_efficiencyAnalyze cache hit/miss patterns across sessions. Shows overall cache hit rate, dollar savings from caching,
drishti_cleanup_executewrite actionDESTRUCTIVE: Permanently delete session data matching the given filters.
drishti_cleanup_previewPreview what session data would be deleted for the given filters.
drishti_compareCompare two or more models or providers side-by-side on cost, tokens, efficiency, and usage metrics.
drishti_cost_optimization_tipsAnalyze usage patterns and provide actionable cost optimization recommendations.
drishti_digestGenerate a concise natural language summary of token usage — like a daily/weekly briefing.
drishti_efficiencyAnalyze cache hit rates, reasoning token ratios, input/output efficiency, and cost-per-token metrics.
drishti_exportExport token usage data as JSON, CSV, or Markdown.
drishti_forecastProject future AI token costs based on historical burn rates.
drishti_heatmapVisualize activity patterns as a heatmap — see which hours of the day and days of the week have the heaviest usage.
drishti_leaderboardRank models and providers by various metrics: total cost, cost-efficiency (cost per 1M tokens),
drishti_model_advisorCompare what you actually spent vs what cheaper models would have cost.
drishti_modelsDetailed per-model cost and token breakdown with visual bar charts.
drishti_projectsShow per-project token usage breakdown — cost, tokens, active days, models used, and date range.
drishti_providersCompare token usage across providers (Claude Code, Cursor, Codex, Gemini, etc.).
drishti_pulseGet a quick pulse-check snapshot of token usage — total cost, tokens, active models, projects, and providers.
drishti_restoreRestore session data from a cleanup backup. Requires confirm='RESTORE' as a safety guard.
drishti_searchFlexible search across all token usage records with filtering by model, provider, project, date range, and cost thresholds.
drishti_streaksAnalyze your AI coding habits — active day streaks, weekend vs weekday usage, session frequency,
drishti_timelineShow a day-by-day timeline of token usage with sparkline trends and daily cost/token breakdowns.
Public scan report
scanner v0.1.7 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan55 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install directly
Runs npx -y @sriinnu/drishti on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add tokmeter -- npx -y @sriinnu/drishti
Tokmeter — AI Agent Usage & Cost: common questions
- Is Tokmeter — AI Agent Usage & Cost MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Tokmeter — AI Agent Usage & Cost safety report
- How do I install Tokmeter — AI Agent Usage & Cost?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Tokmeter — AI Agent Usage & Cost need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Tokmeter — AI Agent Usage & Cost maintained?
- The last commit was in the last day (2026-09-19). The latest release is v1.12.0.
- What can I use instead of Tokmeter — AI Agent Usage & Cost?
- Servers from other publishers that do the same job: Async Parallel Antigravity for Codex & Claude Code MCP server, mcptoon MCP server and Orcareplay MCP server. Compare all Tokmeter — AI Agent Usage & Cost alternatives.
Alternatives to Tokmeter — AI Agent Usage & Cost
Same job from other publishers: the closest match first, then the best rated.
- Async Parallel Antigravity for Codex & Claude CodeRun parallel, resumable, human-operable Antigravity CLI sessions from any MCP agent harnessnot reviewedGrowingA
- mcptoonZero-dependency MCP client: one synced config for every agent, 581-token listings, not 71,929.not reviewedEstablishedA
- OrcareplayRead, replay and fork recorded coding-agent runs.not reviewedEstablishedA
- ctxlintLint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebasenot reviewedEstablishedA
- Total Agent MemoryPersistent local memory for coding agents: temporal knowledge graph, procedural and episodic recallnot reviewedEstablishedA