1. Conduid
  2. Developer Tools
  3. Tidy
MCP server · Developer Tools

Tidy

CLI tool to visualize and manage MCP server configurations in Claude Code. List servers, analyze usage statistics, and clean up unused servers

Unclaimed MIT last commit 9 months ago claudemcpclaude-codeclidevtoolsgogolangai-tools
61Good

Scored 9 hours ago · breakdown

About Tidy

Tidy is an MCP server published by nnnkkk7 in the Developer Tools category: cLI tool to visualize and manage MCP server configurations in Claude Code. List servers, analyze usage statistics, and clean up unused servers.

The repository has 4 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/nnnkkk7/mcp-tidy

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Tidy

Powered by Claude · Grounded in docs

I know everything about Tidy. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 9 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.0.3v0.0.3 · 6 Jan 2026mcp-tidy 0.0.3 A CLI tool to visualize and manage MCP server usage in Claude Code. Installation Homebrew (macOS/Linux): brew install nnnkkk7/tap/mcp-tidy Go Install: go install github.com/nnnkkk7/mcp-tidy/cmd/mcp-tidy@v0.0.3 Binary…
v0.0.2v0.0.2 · 6 Jan 2026mcp-tidy 0.0.2 A CLI tool to visualize and manage MCP server usage in Claude Code. Installation Homebrew (macOS/Linux): brew install nnnkkk7/tap/mcp-tidy Go Install: go install github.com/nnnkkk7/mcp-tidy/cmd/mcp-tidy@v0.0.2 Binary…
v0.0.1v0.0.1 · 5 Jan 2026mcp-tidy 0.0.1 A CLI tool to visualize and manage MCP server usage in Claude Code. Installation Homebrew (macOS/Linux): brew install nnnkkk7/tap/mcp-tidy Go Install: go install github.com/nnnkkk7/mcp-tidy/cmd/mcp-tidy@v0.0.1 Binary…

README

mcp-tidy

CI Go Report Card

mcp-tidy demo

Why mcp-tidy?

The Problem: MCP Server Bloat

As you use Claude Code, MCP servers accumulate in your ~/.claude.json. This causes real problems:

Issue Impact
Context window consumption Claude Code can load all tool descriptions (built-in + MCP) into context immediately after the first message, creating ~10k–20k token overhead even for simple queries (e.g., ~11.6k without MCP, ~15k with 4 MCP servers, ~20k+ with 7+). [^1]
Degraded tool selection More available tools increases the chance of wrong tool selection / incorrect parameters, especially when tools have similar names. [^2]
Higher latency As MCP usage scales, common patterns can increase agent cost and latency (e.g., tool definitions overloading context; intermediate tool results consuming additional tokens). [^3]

[^1]: Built-in tools + MCP descriptions load on first message causing 10-20k token overhead [^2]: Introducing advanced tool use on the Claude Developer Console - Tool selection failures increase with more available tools (especially with similar names) [^3]: Code execution with MCP: building more efficient AI agents

The Solution

mcp-tidy helps you reclaim context and improve Claude Code performance:

  • See what MCP servers are configured (global and per-project)
  • Understand which ones you actually use (with call statistics)
  • Clean up unused servers safely (with automatic backups)

Note: Currently supports Claude Code only. Other MCP clients (Claude Desktop, etc.) are not yet supported.

Table of Contents

Features

Command Description
mcp-tidy list Display all configured MCP servers (global + project-scoped)
mcp-tidy stats Show usage statistics with visual usage bars
mcp-tidy remove Interactively remove unused servers with backup

Quick Start

# Install
brew install nnnkkk7/tap/mcp-tidy

# See your MCP servers
mcp-tidy list

# Check which ones you actually use
mcp-tidy stats

# Clean up unused servers
mcp-tidy remove --unused

Installation

Homebrew (macOS/Linux)

brew install nnnkkk7/tap/mcp-tidy

Go Install

go install github.com/nnnkkk7/mcp-tidy/cmd/mcp-tidy@latest

From Source

git clone https://github.com/nnnkkk7/mcp-tidy.git
cd mcp-tidy
make install

Download Binary

Download the latest binary from GitHub Releases.

Usage

List MCP Servers

mcp-tidy list

Output:

MCP Servers (3 configured)

  NAME       TYPE    SCOPE                         COMMAND
  context7   [http]  global                        https://mcp.context7.com/mcp
  serena     [stdio] /Users/xxx/github/project     uvx --from git+https://...
  puppeteer  [stdio] global                        npx @anthropic/puppeteer

View Usage Statistics

mcp-tidy stats

Output (grouped by scope):

MCP Server Usage Statistics (last 30 days)
────────────────────────────────────────────────────────────────────────────────

── Global ──
  NAME           CALLS   LAST USED      USAGE
  context7         142   2 hours ago    ████████████████
  puppeteer          0   never          ░░░░░░░░░░░░░░░░  ⚠️ unused

── /Users/xxx/github/my-project ──
  NAME           CALLS   LAST USED      USAGE
  serena            23   1 day ago      ██░░░░░░░░░░░░░░

Total tool calls: 165

Options:

  • --period - Time period for stats (7d, 30d, 90d, all). Default: 30d
  • --sort - Sort by (calls, name, last-used). Default: calls
  • --json - Output in JSON format
# Last 7 days, sorted by name
mcp-tidy stats --period 7d --sort name

# JSON output for scripting
mcp-tidy stats --json

Remove Unused Servers

mcp-tidy remove

Interactive selection (with scope display):

? Select servers to remove (enter numbers separated by spaces, or 'all'):
  [1] context7 [global] (142 calls, 2 hours ago)
  [2] puppeteer [global] (0 calls, never used) ⚠️ unused
  [3] serena [/Users/xxx/github/my-project] (23 calls, 1 day ago)

Enter selection: 2

Remove 1 server(s)? [y/N]: y
Backup created: ~/.claude.json.backup.20250105-123456
✓ Removed: puppeteer (from ~/.claude.json)

Options:

  • --unused - Only show unused servers
  • --dry-run - Preview changes without removing
  • --force - Remove without confirmation
  • --period - Period for determining "unused" (7d, 30d, 90d). Default: 30d
# Preview removal of unused servers
mcp-tidy remove --unused --dry-run

# Force remove all unused servers
mcp-tidy remove --unused --force

Note: A timestamped backup (e.g., ~/.claude.json.backup.20250105-123456) is automatically created before any removal. You can restore it if needed.

Configuration

mcp-tidy reads from ~/.claude.json which contains:

  • Global servers: mcpServers key
  • Project servers: projects.{path}.mcpServers key

Usage statistics are collected from Claude Code transcript logs in ~/.claude/projects/.

Limitations

  • Claude Code only: Other MCP clients (Claude Desktop, Cursor, etc.) are not yet supported
  • Config file scope: Only reads ~/.claude.json. The following locations are not scanned:
    • .mcp.json (project-scoped servers added via claude mcp add --scope project)
    • ~/.claude/settings.local.json
    • .claude/settings.local.json
    • managed-mcp.json (enterprise)
  • Path encoding: Non-ASCII characters in project paths may not be handled correctly

Contributing

Contributions are welcome! Please feel free to submit a Pull Request!!

License

MIT License - see LICENSE file.

README fetched from the repository 9 hours ago. The original is authoritative.

Questions

About Tidy

How do I install Tidy?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Tidy safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Tidy still maintained?

The last commit was 9 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.