Scores, compiles & optimizes prompts for any LLM. Zero AI calls inside. Freemium.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
The control plane for AI prompts. Score, enforce policy, lock config, and audit every prompt decision. Free tier included.
Two powerhouse commands:
| Command | What it does |
|---|---|
pcp preflight "prompt" | The lead command. Classify, assess risk, route model, score: one call covers 90% of use cases |
pcp optimize "prompt" | Full pipeline. Analyze, compile, surface blocking questions, produce PreviewPack for approval |
Supporting commands:
| Command | What it does |
|---|---|
pcp check "prompt" | Quick quality score + top issues |
pcp score "prompt" | Full 5-dimension quality breakdown |
pcp cost "prompt" | Cost estimate across 21 costed models |
pcp benchmark | Run 15-prompt regression suite |
Free tier gives you 50 optimizations/month to try it out.
Run optimize in CI (full pipeline):
This action expects your repo to be checked out (
actions/checkout). Without it, file globs will match nothing.
SHA-pinned example (for enterprise users):
Notes:
pcp via npm install --prefix into $RUNNER_TEMP, then runs the binary. Falls back to prompt-lint for v4 installs.@v5 maps to npm @5 (latest 5.x). Use @v5.0.0 for exact pinning.subcommand input accepts check (default), preflight, optimize, or score. Use preflight for CI gates.comment: 'true' posts results as a PR comment (requires pull-requests: write permission).vague_objective, missing_constraints) are stable: treat as a public contract.Every prompt goes through a mandatory review cycle before it's finalized:
refine_prompt.approve_prompt hard-fails if unanswered blocking questions remain: the gate is enforced in code, not convention.The MCP is a co-pilot for the co-pilot. It does the structural work (decomposition, gap detection, template compilation, token counting) so Claude can focus on intelligence.
Zero LLM calls inside the MCP. All analysis is deterministic: regex, heuristics, and rule engines. The host Claude provides all intelligence. This means the MCP itself is instant, free, and predictable.
Works for all prompt types: code, writing, research, planning, analysis, communication, data, and more. The pipeline auto-detects 13 task types and adapts scoring, constraints, templates, and model recommendations accordingly. A Slack post gets writing-optimized constraints; a refactoring task gets code safety guardrails. Intent-first detection classifies prompts about technical topics that request non-code work correctly: the opening verb phrase takes priority over technical keywords in the body.
Real results from the deterministic pipeline. PCP scores the input prompt quality, not the compiled output: the compiled prompt gets a structural checklist instead:
| Prompt | Type | Score | Confidence | Model | Blocked? |
|---|---|---|---|---|---|
"make the code better" | other | 50 | high | claude-sonnet-5 | N/A |
"fix the login bug" | debug | 53 | medium | claude-sonnet-5 | 3 BQs |
| Multi-task (4 tasks in 1 prompt) | refactor | 53 | medium | claude-sonnet-5 | 3 BQs |
| Well-specified refactor (auth middleware) | refactor | 68 | medium | claude-sonnet-5 | N/A |
| Precise code change (retry logic) | code_change | 63 | medium | claude-sonnet-5 | N/A |
| Create REST API server | create | 58 | medium | claude-sonnet-5 | 1 BQ |
| LinkedIn post (technical topic) | writing | 61 | medium | claude-sonnet-5 | N/A |
| Blog post (GraphQL migration) | writing | 65 | medium | claude-sonnet-5 | N/A |
| Email to engineering team | writing | 61 | medium | claude-sonnet-5 | N/A |
| Slack announcement | writing | 61 | medium | claude-sonnet-5 | N/A |
| Technical summary (RFC β guide) | writing | 65 | medium | claude-sonnet-5 | N/A |
| Research (Redis and Memcached) | research | 58 | medium | claude-sonnet-5 | N/A |
| Framework comparison (React and Vue) | research | 58 | medium | claude-sonnet-5 | N/A |
| Migration roadmap (REST β GraphQL) | planning | 58 | medium | claude-sonnet-5 | N/A |
| Data transformation (CSV grouping) | data | 58 | medium | claude-haiku-4-5 | N/A |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/claude-prompt-optimizer)<a href="https://allmcps.com/mcp/claude-prompt-optimizer"><img src="https://allmcps.com/api/badge/claude-prompt-optimizer?style=directory" alt="Claude Prompt Optimizer on AllMCPs" /></a>