io. github. lazymac2x/ ai-prompt-optimizer
by lazymac2x · remote · no sign-in to list tools · v1.0.0 · published by GitHub user lazymac2x
Cloudflare Workers MCP server: ai-prompt-optimizer
5 tools: 3 change things and 2 only read.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things3Claude Code: ask: see these tools
- Only reads2Claude Code: allow: see these tools
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http ai-prompt-optimizer https://api.lazy-mac.com/ai-prompt-optimizer/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
5 tools
Changes things 3Claude Code: ask
estimate_tokensEstimate token count of a prompt or batch of texts.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it Estimate token count of a prompt or batch of texts.
health_checkCheck API health.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it Check API health.
optimize_promptOptimize a prompt by removing filler words, compressing verbosity, and returning token savings.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it Optimize a prompt by removing filler words, compressing verbosity, and returning token savings.
Only reads 2Claude Code: allow
analyze_promptAnalyze a prompt for clarity score, filler patterns, ambiguity, and improvement suggestions.No findings
Why it is in this group
- The name "analyze_prompt" says "analyze": a word for reading.
Description, as the server wrote it Analyze a prompt for clarity score, filler patterns, ambiguity, and improvement suggestions.
compare_promptsCompare two prompts.No findings
Why it is in this group
- The name "compare_prompts" says "compare": a word for reading.
Description, as the server wrote it Compare two prompts. Returns winner by clarity score and token delta.
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 1.0.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http ai-prompt-optimizer https://api.lazy-mac.com/ai-prompt-optimizer/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__ai-prompt-optimizer__analyze_prompt",
"mcp__ai-prompt-optimizer__compare_prompts"
],
"ask": [
"mcp__ai-prompt-optimizer__optimize_prompt",
"mcp__ai-prompt-optimizer__estimate_tokens",
"mcp__ai-prompt-optimizer__health_check"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as ai-prompt-optimizer. Review it before you use it.
