A side-by-side look at the Claude Prompt Optimizer and Pqs MCP Server MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Claude Prompt Optimizer for conversational ai work as a local process; choose Pqs MCP Server for conversational ai as a local process. You can also run both side by side in one mcpServers block.
optimize_prompt, refine_prompt, pre_flight.PQS_BASE.score_prompt, optimize_prompt.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Conversational AI | Conversational AI |
| Quality signal | 61/100 · Good | 56/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | Not declared |
| Pricing | Not declared | Not declared |
| Required env vars | None listed | PQS_BASE |
| Verified owner | Community listing | Community listing |
| GitHub stars | 2 | 2 |
| Directory activity | 1 views 0 installs 0 upvotes | 2 views 0 installs 0 upvotes |
| Tools | 20 | 2 |
| Full listing | View Claude Prompt Optimizer | View Pqs MCP Server |
optimize_promptAnalyze a raw prompt, detect ambiguities, compile an optimized version, score quality, and estimate cost across providers. Returns a PreviewPack for review.refine_promptRefine a prompt by answering blocking questions or providing manual edits. Re-runs analysis and returns updated PreviewPack.pre_flightFull pre-flight analysis: classify task, assess risk, route model, score quality. Returns complete decision bundle. Metered — counts as 1 optimization use.check_promptQuick pass/fail check of a prompt. Returns score, top issues, and a suggestion. No compilation, no session.approve_promptApprove the compiled prompt. Returns the final optimized prompt ready for use.estimate_costEstimate token count and cost across providers for any prompt text. No session needed.compress_contextCompress context (code, docs) by removing irrelevant sections. Returns pruned context with token savings.classify_taskClassify a prompt by task type, reasoning complexity, risk level, and suggested profile. Free — no metering.route_modelRoute to the optimal model based on task complexity, risk, budget, and latency preferences. Returns recommendation with decision_path audit trail. Free — no metering.prompt_statsGet aggregated optimization statistics: total count, average score, top task types, estimated savings.prune_toolsScore and rank MCP tools by relevance to a task intent. Optionally prune low-relevance tools to save context tokens.configure_optimizerConfigure optimizer behavior: mode, threshold, strictness, default target, ephemeral mode, session limits. Supports config locking with passphrase protection.score_promptScore a prompt's quality across 8 dimensions BEFORE sending it to an expensive
model. Returns a 0-80 score, an A-F grade, the per-dimension breakdown
(clarity, specificity, context, constraints, output_format, role_definition,
examples, cot_structure), and the weakest dimension.
USE WHEN:
- The user is workshopping a prompt and asks "is this good?" / "will this
work?" / "should I add more detail?"
- The user is about to send a long or expensive prompt to GPT-4, Claude Opus,
or any frontier model, especially in a batch or automation context where
rework is costly.
- The user mentions iterating on a prompt that produced poor output and wants
to diagnose what's missing.
- The user pastes a prompt and asks for feedback on it.
DO NOT USE WHEN:
- The user is asking you to write a prompt for them (write it yourself first,
then optionally call score_prompt to verify).
- The prompt is conversational chat (this scores task-shaped prompts).
COST: Free, no API key required. Rate-limited per IP: 5/min, 10/day, 100/month.
If the user exceeds the limit, the response will include a structured upgrade
path with subscribe and account URLs.
LATENCY: ~2 seconds.optimize_promptRewrite a prompt to score higher on the PQS rubric, AND show before/after
output comparisons so the user can see the impact. Returns the optimized
prompt, the original PQS score, the optimized PQS score, and side-by-side
sample outputs from a frontier model using both versions.
USE WHEN:
- The user got a low score from score_prompt and asks how to improve.
- The user explicitly asks to "improve" / "rewrite" / "fix" / "optimize" a
prompt they pasted.
- The user is dissatisfied with output quality from a previous prompt and
asks how to get better results.
- score_prompt returned a suggestion to invoke this tool.
DO NOT USE WHEN:
- The user just asked for a score (use score_prompt only — don't double up).
- The user wants you to write a new prompt from scratch (write it directly).
REQUIRES: A PQS API key from a Pro subscription ($19.99/month, 1,000 calls/mo,
includes batch + A/B comparison). If the user has not provided one, the tool
returns a clear subscription URL — pass that response to the user verbatim.
Do not invent or guess API keys. There is no free trial of this tool; the
user must subscribe before the first call.
COST: Counted against your Pro subscription's monthly call quota.
LATENCY: ~6-8 seconds.Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"claude-prompt-optimizer": {
"command": "npx",
"args": [
"-y",
"pcp-engine"
]
}
}
}
{
"mcpServers": {
"pqs-mcp-server": {
"command": "npx",
"args": [
"-y",
"pqs-mcp-server"
],
"env": {
"PQS_BASE": "YOUR_PQS_BASE_HERE"
}
}
}
}