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 $0.00048 $0.00188
Sonnet 5 $0.00019 $0.00075
Haiku 4.5 $0.00010 $0.00038

Measured 10d ago against content hash d3d7835fbe48, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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. 10d 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 (10 stars, last pushed 2mo ago), licensed MIT. It adds 95 tokens to every session and 376 once invoked, about $0.0005 per session on Opus 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

resolve-plugins

Curate Claude Code skill / MCP / hook picks against live upstream sources and pin them in .claude/settings.json. Adding a process harness (a paired skill set) is an ordinary pick this door handles. Reads stack from docs/techstack.md, workflow signal from docs/overview.md + existing pins, then live-queries six source…

RockyHong/super-bootstrap · 133 tokens

super-bootstrap

Public entry for the super-bootstrap pipeline — thin orchestrator. Git-inits if absent, then dispatches /super-bootstrap:harness-bootstrap to install or sync the generic runway (always; the runway self-detects fresh-vs-sync). Checks whether seed docs are substantive: greenfield seeds three GAP cards (overview…

RockyHong/super-bootstrap · 115 tokens

release

Prepare a version release — bump version files, commit, and tag. Just run /release with no arguments.

RockyHong/super-bootstrap · 24 tokens

merge

Absorb one or more feature branches into the base branch. Recommends merge vs rebase per branch. On conflict, aborts that branch + surfaces the file list + stops. Resolution out of scope; routes to the harness-named conflict-resolution agent or the user.

RockyHong/super-bootstrap · 57 tokens