📡 MCP Radar

karanb192/mcp-sprawl-audit

Counts how many copies of each MCP server your Claude Code, Codex and Grok sessions are running, and plans which to share, remove or keep. Read-only.

⭐ 5 stars
⑂ 4 forks
Python
momentum ▲ 18.0
created 2026-10-15
on radar since 2026-10-19
agent-skillsclaude-codecodex-clideveloper-toolsgrokmcpmodel-context-protocol
View on GitHub ↗Homepage ↗

About mcp-sprawl-audit

Every Claude Code, Codex or Grok session starts its own copy of each local MCP server in its config. With many sessions open, that adds up to hundreds of processes and gigabytes of memory, most of it waiting for a tool call that never comes.

This is an agent skill and a single Python script that measures that on your machine and writes a plan. It is read-only: it changes no config and touches no process. It reads the names of env vars and headers, never their values. From a command line it prints only a package name or a script's file name, and from a URL only the scheme and host, because the rest can carry keys.

Why this exists tells the story of 57 agent sessions running 646 MCP server processes on one laptop, and how sharing three servers over localhost took them from 19.5 GB to 301 MB.

Or install it as a skill, so any session can run it:

Or run the script yourself. It needs only Python (3.11+ to read Codex and Grok TOML).

- Running agent sessions per agent, and every local MCP server copy they hold: processes, resident memory, idle npx or uvx launchers. - How often each server was actually called, from each agent's own session logs. - One action per server: share (serve one copy over HTTP on 127.0.0.1), use-hosted, keep, per-project, remove?, plugin (bundled, only its author can change it), check (unknown: the agent looks it up) or ok. - Flags: servers holding a credential, versions not pinned to an exact release, and one server configured under two names (which may be two accounts, so it never assumes one copy can serve both).

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/karanb192--mcp-sprawl-audit.html)

Related MCP servers

HarjjotSinghh/locum

Delegate Grok Bot coding work to your own local Claude Code / Codex CLIs via a custom MCP connector

⭐ 3Python
pierridotite/reponebula

A 3D map of useful repos, agent skills and MCP servers, rebuilt every 3 days, that you can browse or let an AI dive into for your project.

⭐ 22Python
dontpayfull/AInotate

Annotated screenshots for AI agents: Skitch-style arrows, numbered steps, boxes, labels, solid redaction

⭐ 6Python
MohammadHijjawi97/since-cutoff

Find which APIs of your pinned Python dependencies changed after your coding model's training cutoff, and give the agent short AGENTS.md / CLAUDE.md notes from a static API diff. No model calls, no AP

⭐ 4Python
thaildhe172591/pythia

PL/SQL development for AI agents on Oracle Database - expert queries, impact analysis, and a snapshot-verified write path with honest rollback

⭐ 3Python
dagoSte/code-graph

Local code intelligence for 8 languages + SQLite SQL. Technical and declared functional maps, FTS5/BM25 + graph/RRF search, impact and test plans. CLI, dashboard and 15 MCP tools. Optional Codex/Claud

⭐ 3Python

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.