Mcp Checkup

io.github.yifanyifan897645由 GitHub 帳號 yifanyifan897645 發布v0.1.0更新於 Oct 24, 2026

Analyze your MCP setup: token costs, grades, duplicates, and optimization tips

已驗證STDIO僅桌面開發者工具AI 與機器學習

概覽

AI 產生的概覽

分析你已安裝的 MCP 伺服器,測量其 token 成本、評定效率等級、找出重複工具並產生最佳化報告。

可以做什麼
它會掃描你的 MCP 設定,測量每個已安裝伺服器與工具的 token 成本。工具包括:analyze_servers 提供各伺服器成本總覽,analyze_tools 提供單一伺服器的逐工具明細、評級與最佳化建議,find_duplicates 找出重複的工具名稱,count_tokens 計算任意文字的 token 數,generate_report 產生含 A-F 評級的完整 Markdown 健康報告。
適用情境
當 MCP 伺服器佔用過多上下文視窗、你想知道哪些伺服器最耗 token 時使用。它的用途是在決定精簡或最佳化之前先找出問題所在。
執行需求
透過 stdio 在本機執行,通常以 npx mcp-checkup 啟動,因此需要 Node.js 以及下載該套件的網路連線。它會自動偵測目前目錄的 .mcp.json、Claude Desktop 設定與 .cursor/mcp.json,也可傳入自訂設定路徑。未宣告任何帳號、API 金鑰或環境變數。
安裝前請注意
它會讀取本機 MCP 設定檔,這些檔案可能包含其他伺服器的定義與憑證;在指向這些檔案前請先確認其中內容。它只產生分析報告,不會修改你的設定,因此未描述對設定的寫入動作。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

mcp-checkup

[npm version] [npm downloads] [License: MIT]

Your MCP servers are eating your context window. Find out how much.

mcp-checkup is an MCP server that analyzes your MCP setup — measuring the token cost of every installed server and tool, finding duplicates, grading efficiency, and generating optimization reports.

Quick Start

bash
npx mcp-checkup

Then ask your AI assistant:

"Run an MCP health check on my setup""How many tokens are my MCP servers using?""Generate an MCP health report"

Why?

Every MCP tool costs 550–1,400 tokens just for its schema. A server with 50 tools can eat 30,000+ tokens before you type anything. Most developers have no idea how much context window their MCP servers are consuming.

Real examples from the community:

  • Adding GitHub MCP increased one user's token usage from 34K to 80K (source)
  • One developer found 67,000 tokens consumed by just 4 servers before any conversation (source)
  • Context7 (240K weekly downloads) has tool descriptions costing 3x more tokens than necessary (source)

Tools

analyze_servers

Scan your MCP config and measure the token cost of every installed server. Auto-detects config files.

"Which of my MCP servers costs the most tokens?"

analyze_tools

Deep-dive into a specific server — per-tool token costs, grades, bloated descriptions, and optimization suggestions.

"Break down the token cost of my GitHub MCP server"

find_duplicates

Find duplicate tool names across your installed servers. Redundant tools waste context for no benefit.

"Do any of my MCP servers have overlapping tools?"

count_tokens

Count tokens in any text. Useful for estimating context usage.

"How many tokens is this prompt?"

generate_report

Full markdown health report: server grades (A-F), token costs, duplicates, and actionable recommendations.

"Generate a full MCP health report"

Grading System

Per-Tool Grades

GradeTokensMeaning
A≤100Excellent — minimal context cost
B≤300Good — reasonable schema size
C≤600Fair — could be optimized
D≤1000Poor — bloated schema
F>1000Failing — severely impacts context window

Per-Server Grades

GradeTotal TokensMeaning
A≤500Lean and efficient
B≤1500Reasonable
C≤3000Getting heavy
D≤6000Significant context cost
F>6000Major context window drain

Installation

Claude Desktop / Claude Code

json
{  "mcpServers": {    "mcp-checkup": {      "command": "npx",      "args": ["-y", "mcp-checkup"]    }  }}

Cursor

Add to .cursor/mcp.json with the same format.

Auto-Detection

mcp-checkup automatically finds your MCP config in these locations:

  • .mcp.json (current directory)
  • Claude Desktop config (Windows/macOS/Linux)
  • .cursor/mcp.json

Or pass a custom path to any tool.

How It Compares

ToolPurposeApproach
mcp-checkupDiagnose token costsAnalyze & report — see exactly what each tool costs
lean-ctxReduce token usageCompress context at runtime
MCP InspectorDebug MCP serversTest connections and tool calls

Use mcp-checkup first to find the problem, then decide how to fix it.

Part of the MCP Toolkit

View all servers →

License

MIT

來源:README.md,提交 3660945

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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