技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
whdrnr2583-cmd/token-meter

whdrnr2583-cmd/token-meter

在 GitHub 查看 ↗直链 · 无中转页
官方说明📇 🏠 🍎 🪟 🐧 - Local dashboar
配置模板(请按你的客户端调整)
claude mcp add token-meter -- npx -y token-meter
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
1 ★ · whdrnr2583-cmd/token-meter · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 1 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 whdrnr2583-cmd/token-meter;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Token Meter

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

> Track Claude Code, Codex & Cursor token usage and cost locally — no account, no cloud.
>
> One local dashboard for your **Claude Code** and **Codex** token usage.
> Free, MCP-aware, MIT-licensed core.
>
> npm: @whdrnr2583/token-meter · GitHub: whdrnr2583-cmd/token-meter · Site: token-meter.dev
Token Meter parses the JSONL files that Claude Code and Codex already write to
disk and turns them into a real dashboard: cost per project, per model, per MCP
tool, per hour. Your data never leaves your machine.
Run your first audit
Scans your ingested Claude Code + Codex history for expensive sessions,
oversized tool responses, slow tools, repeated calls, and cache waste, ranked
by cost and confidence. Runs entirely against your local SQLite database —
same local-first, no-cloud processing as the rest of Token Meter. Add
--json for machine-readable output; see docs/audit.md for
the full flag list and JSON schema.
When to use this
Use Token Meter if you:
- want to know how many tokens and dollars your Claude Code or Codex sessions are costing — broken down by project, model, and MCP tool
- are on a flat-fee plan (Claude Max, etc.) and want to see what the equivalent API cost would be
- want to find which MCP server or tool is eating the most tokens, or which hour of the day is most expensive
- want to resume a recent session and need the claude --resume / codex resume command handy
- want all of the above offline, with no account and nothing uploaded
Not a fit if you need billing-grade numbers validated against your Anthropic or OpenAI invoice — Token Meter computes estimates from local JSONL files only.
MCP tools
When Token Meter is wired as an MCP server (install-mcp all), four tools become available to your AI assistant:
| Tool | What it returns |
|---|---|
| usage_summary | Daily table of token counts, USD-equivalent cost, and call counts — broken down by day and model |
| recent_sessions | Latest sessions with paste-ready claude --resume / codex resume commands |
| session_tools | Per-tool breakdown inside a session: call count, total tokens, average latency, response size |
| refresh_data | Re-scans your local JSONL logs for new activity, then returns a fresh summary |
All four are read-only. No data leaves your machine.
Example prompts
Copy-paste any of these into Claude Code or Cursor after installing the MCP server:
Quick start
> The package is published under an npm scope (@whdrnr2583/) because the
> bare token-meter name collides with an existing similar name on npm. The
> CLI binary is still called token-meter after install.
Connect Token Meter to your AI tool (MCP)
One command registers Token Meter with every supported client on your machine:
Handles Claude Code, Cursor, and Claude Desktop — idempotent, backs up existing
config, preserves other MCP servers. Single-client variants:
install-mcp claude-code | cursor | claude-desktop. Add --dry-run to preview.
> **Or have your LLM do it.** Open Claude Code / Cursor / Claude Desktop and ask:
> *"Read https://raw.githubusercontent.com/whdrnr2583-cmd/token-meter/main/docs/mcp-server.md
> and set up token-meter as my MCP server."*
Manual one-liners (if you'd rather not run our installer):
| Client | Command / config |
|---|---|
| **Claude Code** | claude mcp add token-meter -- npx -y @whdrnr2583/token-meter mcp then claude mcp list to verify |
| **Cursor** | Edit ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json) — see docs/mcp-server.md |
来源
awesome · https://github.com/whdrnr2583-cmd/token-meter
按领域浏览
MCP 服务
Traction
1 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引