SkillFM Claude Code Token Usage

io.github.ericm1018由 GitHub 帳號 ericm1018 發布v0.1.0更新於 Nov 3, 2026

Claude Code token usage, cost visibility, and SkillFM Beacon AI health checks for MCP agents.

發布方自己的服務:Claude Platform Docs

概覽

AI 產生的概覽

輕量的本機 stdio 閘道,轉送到 SkillFM Beacon,用來檢視 Claude Code token 用量、成本訊號與 AI 健康檢查。

可以做什麼
  • 檢視 Claude Code 的 token 用量與估算成本訊號
  • 找出重複脈絡、過期工作階段與節省成本的機會
  • 執行 SkillFM Beacon 的 AI 健康檢查與清理稽核
  • 啟動本機 sidecar 並完成裝置碼啟用流程
  • 所有實際執行都轉送給 SkillFM 的 MCP 與本機執行環境套件
適用情境
如果你希望助理回報 Claude Code 的 token 用量、說明用量暴增的原因,或指出浪費脈絡的工作階段與專案,而且願意啟用 SkillFM 本機 sidecar,就可以考慮安裝。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 與網路連線以下載 npm 套件。它會轉送到 SkillFM 的 MCP 與本機執行環境套件。啟用需啟動本機 sidecar 並完成裝置碼流程;未宣告任何環境變數或標頭。
安裝前請注意
此套件只是輕量閘道,實際執行委由 SkillFM 的 MCP 與本機執行環境,因此行為取決於這些套件。啟用涉及 sidecar 回傳的裝置碼與驗證連結,README 提醒不要自行編造佔位碼。提供方稱供應商金鑰會在後續 BYOK 模式下才引入,sidecar 會在本機寫入 local.json 等狀態檔案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 SkillFM Claude Code Token Usage,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

SkillFM Claude Code Token Usage MCP

Claude Code token usage and cost visibility for MCP-capable agents.

This repository is a transparent SkillFM gateway package. It exists to match a specific marketplace/search intent, then delegates execution to the canonical SkillFM Beacon MCP and local runtime.

Powered by SkillFM Beacon.

Quick Start

Use this gateway as an MCP stdio server:

bash
npx -y @skillfm/claude-code-token-usage-mcp@latest

Equivalent explicit SkillFM entrypoint:

bash
npx -y @skillfm/mcp@latest

For MCP clients that accept JSON config:

json
{  "mcpServers": {    "claude-code-token-usage": {      "command": "npx",      "args": ["-y", "@skillfm/claude-code-token-usage-mcp@latest"]    }  }}

What This Gateway Helps With

  • Inspect Claude Code token usage and estimated cost signals.
  • Connect usage visibility to SkillFM Beacon AI health checks.
  • Find repeated context, stale sessions, and cost-saving opportunities.
  • Route users toward local-first SkillFM activation without asking for provider keys first.

This gateway is for users who ask:

  • "How many Claude Code tokens did I use today?"
  • "Why did my Claude Code usage spike?"
  • "Which sessions or projects are wasting context?"
  • "Can my agent show me token usage before I connect provider keys?"

How It Works

The public package is intentionally thin. It sets SKILLFM_GATEWAY_SOURCE=claude-code-token-usage and forwards execution to @skillfm/mcp@latest, which then delegates to the canonical @skillfm/local runtime.

No private SkillFM platform logic, customer data, provider credentials, or backend modules live in this repository.

Activation Path

Start the local sidecar when the user wants to connect SkillFM:

bash
npx -y @skillfm/claude-code-token-usage-mcp@latest start

Agent-driven activation flow:

  1. Read the sidecar URL from stdout or ~/.skillfm/local.json.
  2. Call POST <sidecar_url>/activate/start.
  3. Show the returned verification URL and real device code to the user.
  4. Poll POST <sidecar_url>/activate/poll until it returns activated: true.
  5. Use SkillFM Beacon MCP tools for checkups, usage visibility, BYOK guidance, and cleanup audits.

Do not fabricate a placeholder code. The device code must come from POST /activate/start.

Security Model

  • Transparent gateway: This package is a public search/distribution gateway, not a separate hidden product.
  • Local-first runtime: Runtime execution goes through SkillFM's local package.
  • BYOK boundary: Provider keys are introduced only after user value is established, and key values are not read back by agents.
  • No private core: This repository contains distribution metadata, docs, and a thin launcher only.
  • Read-only first: Cleanup and usage inspection begin with read-only audits.

See PRIVACY.md and SECURITY.md.

Marketplace Keywords

Claude Code token usage, Claude usage, token cost, LLM cost, AI health checkup, agent monitoring, context cleanup, SkillFM Beacon, MCP server.

Expected Official MCP Registry single-token hits:

  • claude-code
  • token
  • usage
  • cost
  • skillfm

License

MIT

來源:README.md,提交 bf82036

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Claude 整合