Claude Prompt Optimizer MCP server
io.github.rishiatlan/claude-prompt-optimizer·v2.2.2·2 starsScores, compiles & optimizes prompts for any LLM. Zero AI calls inside. Freemium.
2 stars51 downloads/wk
Reviews
Write oneNobody has reviewed Claude Prompt Optimizer yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Claude Prompt Optimizer tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan38 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 7 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
How Claude Prompt Optimizer compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 89/100
- higher than 83% of 4,460 AI and agents servers
- GitHub stars
- 2
- more than 65% of 2,711 AI and agents servers
- Downloads a week
- 51
- more than 43% of 1,538 AI and agents servers with a package
Install Claude Prompt Optimizer in Claude Code, Cursor or VS Code
Runs npx -y claude-prompt-optimizer-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add claude-prompt-optimizer -- npx -y claude-prompt-optimizer-mcp
What the publisher says
From the Claude Prompt Optimizer repository's README, as published. We do not edit it. Read it on GitHub
Prompt Control Plane
The control plane for AI prompts. Score, enforce policy, lock config, and audit every prompt decision. Free tier included.
Quick Start
# Install globally (requires Node.js 20+)
npm install -g pcp-engine
# Pre-flight: classify, score, route, and enforce policy in one call
pcp preflight "your prompt here" --json
# Run the guided demo
pcp demoTwo powerhouse commands:
Supporting commands:
Free tier gives you 50 optimizations/month to try it out.
Try It
# Pre-flight a vague prompt: see why it scores low
pcp preflight "make the code better" --json
# Pre-flight a well-specified prompt: see the full analysis
pcp preflight "Refactor auth middleware in src/auth/middleware.ts to use JWT. Do not modify the user model." --json
# Run the full optimization pipeline (compile + blocking questions + approval)
pcp optimize "Build a REST API with auth" --json
# Quick quality check on all prompts in a directory
pcp check --file "prompts/**/*.txt"
# Run the guided demo
pcp demoGitHub Action
# .github/workflows/prompt-quality.yml
- uses: rishi-banerjee1/prompt-control-plane@v5
with:
subcommand: preflight
files: "prompts/**/*.txt"Full GitHub Action configuration
# .github/workflows/pcp.yml
name: Prompt Quality Gate
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: rishi-banerjee1/prompt-control-plane@v5
with:
subcommand: preflight
files: 'prompts/**/*.txt'
threshold: 70
comment: 'true' # Posts results as PR commentRun optimize in CI (full pipeline):
- uses: rishi-banerjee1/prompt-control-plane@v5
with:
subcommand: optimize
files: 'prompts/**/*.txt'This action expects your repo to be checked out (actions/checkout). Without it, file globs will match nothing.
SHA-pinned example (for enterprise users):
- uses: rishi-banerjee1/prompt-control-plane@abc123def # SHA-pinned
with:
version: '5.0.0' # Required when pinning by SHA
files: 'prompts/**/*.txt'
threshold: 70Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Claude Prompt Optimizer: common questions
- Is Claude Prompt Optimizer MCP server safe?
- Yes, by our scan: it is graded A (89/100). Read the Claude Prompt Optimizer safety report
- How do I install Claude Prompt Optimizer?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Claude Prompt Optimizer need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Claude Prompt Optimizer maintained?
- The last commit was 44 days ago (2026-09-21). The latest release is v2.2.2.
- What can I use instead of Claude Prompt Optimizer?
- Servers from other publishers that do the same job: Agent-Native Analytics MCP server, mcptoon MCP server and Image MCP server.
- How does Claude Prompt Optimizer compare with other AI and agents MCP servers?
- safety score 89/100 (higher than 83% of 4,460 AI and agents servers); github stars 2 (more than 65% of 2,711 AI and agents servers); downloads a week 51 (more than 43% of 1,538 AI and agents servers with a package). Full comparison.
Alternatives to Claude Prompt Optimizer
Same job from other publishers: the closest match first, then the best rated.
- Agent-Native AnalyticsAgent-Native Amplitude/Mixpanel - connect data sources, prompt for chartsnot reviewedEstablishedA
- mcptoonMCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).not reviewedEstablishedA
- ImageAI image generation and editing with prompt optimization and quality presetsnot reviewedEstablishedB
- llmtrimMCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.not reviewedEstablishedA
- AuscaPay-per-call APIs and MCP services for agents, no accounts or keys, with verifiable receipts.not reviewedEstablishedA