mcp-graveyard

mcp-graveyard is a skill for Claude Code, Codex from sfrangulov/skill-graveyard. It costs 95 tokens per session (376 once invoked), scanned A, original, MIT.

A command-line audit for MCP servers, which provide tools that Claude Code can call. It compares configured servers and their tools with the calls made in sessions.

In plain words
What is it for?
Use it to audit, inspect by project, suggest fixes, and prepare removal plans for unused MCP server configuration.
Why use it?
It helps identify servers that are configured but unused, and tool calls that refer to missing or incorrectly named servers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to audit, inspect by project, suggest fixes, and prepare removal plans for unused MCP server configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfrangulov/skill-graveyard/mcp-graveyard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sfrangulov/skill-graveyard --skill mcp-graveyard
Clone the repo
git clone --depth 1 https://github.com/sfrangulov/skill-graveyard

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-graveyard

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfrangulov/skill-graveyard/mcp-graveyard/github.svg)](https://agentmods.dev/skills/sfrangulov/skill-graveyard/mcp-graveyard)
Your own site
<a href="https://agentmods.dev/skills/sfrangulov/skill-graveyard/mcp-graveyard"><img src="https://agentmods.dev/badge/skills/sfrangulov/skill-graveyard/mcp-graveyard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-graveyard

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfrangulov/skill-graveyard/mcp-graveyard"><img src="https://agentmods.dev/badge/skills/sfrangulov/skill-graveyard/mcp-graveyard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 376 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.00376
Opus 5.5 $0.00038 $0.00150
Sonnet 5.5 $0.00019 $0.00075
Haiku 4.5 $0.00010 $0.00038

Measured 1mo ago against content hash d3d7835fbe48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-graveyard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mcp-graveyard/SKILL.md · 33 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 33 lines · 95 tokens per session scan A d3d7835fbe48

Subscribe to this mod's changes

mcp-graveyard is a skill published in the GitHub repository sfrangulov/skill-graveyard (11 stars, last pushed 3mo ago), licensed MIT. It adds 95 tokens to every session and 376 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

journey-simulation

Use when caller wants to observe how a stranger encounters a flow, artifact, or sandbox — triggers like "simulate a user journey", "test our onboarding / checkout / signup", "will my ICP convert", "how does a cold reader experience this README", "first-time user test", "cognitive walkthrough", or any request to…

RockyHong/super-bootstrap · 79 tokens

check-docs-consistency

Cross-reference project docs for drift, stale references, and contradictions. Outputs timestamped report. Discovers Markdown wherever it lives in the repo.

RockyHong/super-bootstrap · 34 tokens

touch-audit

Mobile audit — app size, startup time, crash reporting, store compliance, accessibility, offline behavior. Use when asked for "mobile review", "app store readiness", "mobile performance", or "crash analysis".

tonone-ai/tonone · 47 tokens

prism-audit

Frontend audit — bundle size, dependencies, accessibility, performance, component quality. Use when asked for "frontend review", "performance audit", "accessibility check", or "bundle size".

tonone-ai/tonone · 42 tokens

forge-audit

Audit existing infrastructure for security issues, waste, and misconfigurations. Use when asked to "audit my infra", "check cloud setup", "infra review", "are we wasting money", "security check on infra", or "review my terraform".

tonone-ai/tonone · 54 tokens

lens-audit

Review existing analytics — find all dashboards and reports, check who uses them, whether metrics are defined, and whether they drive decisions. Recommend what to keep, kill, or add. Use when asked "are our dashboards useful", "analytics review", or "metrics audit".

tonone-ai/tonone · 58 tokens