Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 84
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-tools

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install improving-mcp-tools in Claude Code

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

A

No 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 →

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.

improving-mcp-tools Install

Add to stack

Loading.