A side-by-side look at the Claude Prompt Optimizer and Promptlint MCP 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 Promptlint MCP 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.lint_prompt, trim_prompt.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Conversational AI | Conversational AI |
| Quality signal | 61/100 · Good | 51/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 | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 2 | 1 |
| Directory activity | 1 views 0 installs 0 upvotes | 1 views 0 installs 0 upvotes |
| Tools | 20 | 2 |
| Full listing | View Claude Prompt Optimizer | View Promptlint MCP |
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.lint_promptTwo `text` content items: `[0]` human one-line summary (`"score: X/100 · issues: N · tokens: A → B …"`), `[1]` full JSON of the `lint()` result (parse with `JSON.parse(result.content[1].text)`).trim_promptTwo `text` content items: `[0]` the trimmed prompt, `[1]` a savings footer (`"Saved N tokens (P%). Original: A, trimmed: B."`). Does NOT resolve contradictions, redundancy, or ambiguity — run `lint_prompt` for those.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": {
"promptlint-mcp": {
"command": "npx",
"args": [
"-y",
"-p",
"promptlint-mcp",
"promptlint"
]
}
}
}