improving-mcp-tools
Skill by PostHog
Runs an improve-my-MCP campaign that measures agent experience with a supplied eval harness, makes one bounded tool fix, and keeps it only if before and after scores improve. Built for teams maintaining MCP servers and tool descriptions.
Install improving-mcp-tools
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/.agents/skills/improving-mcp-tools ~/.claude/skills/improving-mcp-toolsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/.agents/skills/improving-mcp-tools ~/.gemini/antigravity-cli/skills/improving-mcp-toolsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install improving-mcp-tools in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The improving-mcp-tools skill runs an improve-my-MCP campaign. It follows an autoresearch-style loop: measure the agent experience with a supplied eval harness, pick the highest-impact tool problem from production data, make one bounded fix, and keep it only if before and after scores improve. Each iteration is journaled, and kept changes ship as one pull request with before and after scores.
The campaign needs a benchmark and runnable harness from the operator, because the repository does not include one. Allowed edits are limited to tool YAML, skills, generated tool outputs and docs. Handler code, workflows, migrations and auth paths are out of scope. Changes default to draft PRs for human review. It is for people who want evidence-backed improvements to MCP tool descriptions and discoverability.
Written from the project's SKILL.md and checked against it.
What it can do
- Measure baselineRuns the supplied harness and pulls production evidence for a baseline score.
- Pick one issueRanks tool problems by reach and severity, and works on one issue per iteration.
- Make a bounded fixEdits only allowlisted files, such as tool descriptions, input schemas or skills.
- Validate changesRe-runs the affected benchmark slice and a no-regression sample before keeping a change.
- Prepare a pull requestOpens one PR per iteration with before and after scores in the body.
- Keep a journalRecords each iteration so a later pass or another agent can resume the work.
What you need
- An operator-supplied MCP benchmark and eval harness
- Access to MCP analytics tools for production data
- A seeded local or devbox stack to run the harness
Try asking
- Improve my MCP server using an eval-backed campaign
- Run an MCP improvement campaign on my tool descriptions
- Fix tool discoverability in my MCP based on evidence
Good to know
- The repository does not include an MCP benchmark or eval runner.
- Default autonomy is a draft PR for human review.
- Campaign PRs are capped at 400 changed lines and an allowlist of files.
- By default, a campaign stops after 3 open unmerged campaign PRs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/improving-mcp-tools/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/campaign-journal.md2 KB
Alternatives to improving-mcp-tools
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
improving-mcp-tools: common questions
Does improving-mcp-tools include its own MCP eval benchmark?
No. The source says the repository does not include an MCP benchmark or eval runner, so the operator must supply one.
Can this skill merge changes automatically?
Only if the operator has explicitly enabled the self-driving experiment. The default is a draft PR for human review.
What files can a campaign PR change?
Only tool YAML files, skill files, generated tool outputs and docs, as listed in the allowlist. Handler code, workflows and migrations are excluded.
How do I install improving-mcp-tools?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is improving-mcp-tools free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is improving-mcp-tools safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to improving-mcp-tools?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
