MCP Graveyard

Audit which MCP server tools your Claude Code sessions actually invoke. Use when the user wants to find dead MCP servers (configured but never called), hallucinated MCP tool calls, or per-project MCP usage. Triggers on "which MCP servers don't I use?", "clean up MCP config", "remove unused MCP servers", "audit MCP tools". Runs locally; reads ~/.claude session JSONL logs and ~/.claude.json. No network calls. Use when this capability is needed.

tomevault-io 9a1c3e8 2 files · 2.2 KB Updated

File contents

mcp-graveyard

CLI that audits MCP server tool usage. Server-first table grouped into ACTIVE / DEAD / HALLUCINATED / MISSING buckets.

How to invoke

Run via npx mcp-graveyard@latest <subcommand> [flags] — no install needed.

Subcommands

  • audit (default) — classify every server. Flags: --days N, --only <bucket>, --tools <server> (drill-in), --json, --claude-dir <path>.
  • prune — print removal plan. --apply to execute (with auto-backup of removed config to a timestamped file).
  • suggest — actionable triage for unused/hallucinated.
  • projects — per-project breakdown.

Decision flow

  • "which MCP servers do I not use?" → npx mcp-graveyard@latest
  • "clean up MCP config" → prune, then --apply
  • "MCP tool didn't work" → suggest
  • per-project breakdown → projects

After running, print output verbatim. Do not summarize unless the user asks.


Source: sfrangulov/skill-graveyard — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/sfrangulov--skill-graveyard--mcp-graveyard commit 9a1c3e85a5

Frequently asked questions

npx skillmds@latest add tomevault-io/mcp-graveyard