ai-prompt-optimizer
Cloudflare Workers MCP server: ai-prompt-optimizer
Should I use this
Quality & Safety
B
Findings (2)
- LOWin optimize_prompt
- LOWin compare_prompts
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
~296Tokens (tool definitions)
~395 BTypical response size
Minimal attention impact (0.23% of 128k context)
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"ai-prompt-optimizer": {
"url": "https://api.lazy-mac.com/ai-prompt-optimizer/mcp"
}
}
}Remote endpoints
https://api.lazy-mac.com/ai-prompt-optimizer/mcpstreamable-httpWhat it can do
Tool inventory
Tools (5)
🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪optimize_prompt(prompt)
Optimize a prompt by removing filler words, compressing verbosity, and returning token savings.
Input Schema
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Prompt to optimize",
"maxLength": 32000
}
},
"required": [
"prompt"
]
}🟢analyze_prompt(prompt)
Analyze a prompt for clarity score, filler patterns, ambiguity, and improvement suggestions.
Input Schema
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Prompt to analyze",
"maxLength": 32000
}
},
"required": [
"prompt"
]
}🟢estimate_tokens(prompt, texts)
Estimate token count of a prompt or batch of texts.
Input Schema
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Single prompt to estimate"
},
"texts": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"description": "Batch of texts"
}
}
}⚪compare_prompts(prompt_a, prompt_b)
Compare two prompts. Returns winner by clarity score and token delta.
Input Schema
{
"type": "object",
"properties": {
"prompt_a": {
"type": "string",
"maxLength": 32000
},
"prompt_b": {
"type": "string",
"maxLength": 32000
}
},
"required": [
"prompt_a",
"prompt_b"
]
}🟢health_check
Check API health.
Input Schema
{
"type": "object",
"properties": {}
}Community
Evidence
Recent observations
verifiedversion not recorded5 tools
verifiedversion not recorded5 tools