Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

MCP server for professional prompt engineering and agentic scaffolding, with cloud and local optimization.

README.md

Prompt Optimizer: The Universal AI Architect & Scaffolding Platform

🚀 Enterprise-grade, MCP-native platform designed to transform AI development workflows through professional prompt engineering, agentic scaffolding, and cloud-powered optimization.

![NPM Package](https://www.npmjs.com/package/mcp-prompt-optimizer) ![API Status](https://p01--project-optimizer--fvrdk8m9k9j.code.run/health) ![Dashboard](https://promptoptimizer.xyz) ![MCP Compatible](https://mcp.so)

---

🌟 The Four-Tier Ecosystem

Prompt Optimizer is more than just a server; it's a complete ecosystem for high-performance AI interaction.

1. ☁️ Cloud Pro (v3.7.5)

The flagship MCP server. Routes complex prompts through a sophisticated LLM rewriting pipeline with Bayesian tuning and AG-UI real-time streaming. Includes team collaboration and shared quotas.

2. 🔒 Local Core (v4.1.2)

A privacy-first, 100% offline version. Uses a library of 120+ domain-specific rules and platform-specific binaries for zero-latency, secure optimization on your own machine.

3. 🖥️ Web Dashboard

The command center at promptoptimizer.xyz. Manage API keys, configure Personal Model Choice (via OpenRouter), track analytics, and run A/B evaluations.

4. ⚡ Prompt Optimizer Skill (MIT, zero-friction)

A free Claude Code Skill distilling this platform's optimization methodology into pure in-context instructions. No npm install, no API key, no license key, no external process — copy skill/SKILL.md into .claude/skills/prompt-optimizer/ and Claude Code loads it directly. A weaker sibling to Cloud Pro and Local Core (no LLM-based optimization tier, no persistent history/quota/templates, no Bayesian tuning), positioned as the zero-account entry point — see skill/LICENSE (MIT, separate from this repo's Commercial license covering the backend and MCP packages).

---

🚀 Quick Start

Step 1: Install the MCP Package

# Install the cloud-connected version (recommended)
npm install -g mcp-prompt-optimizer

Step 2: Get Your API Key

  1. Visit promptoptimizer.xyz/pricing
  2. Choose your tier (Free tier includes 20 optimizations/month, no credit card required).
  3. API keys follow the format: sk-opt-, sk-team-, or sk-local-*.

Step 3: Configure Your MCP Client

Add to ~/.claude/claude_desktop_config.json (Claude Desktop): ``json { "mcpServers": { "prompt-optimizer": { "command": "npx", "args": ["mcp-prompt-optimizer"], "env": { "OPTIMIZER_API_KEY": "sk-opt-your-key-here" } } } } ``

---

🧠 Intelligent Optimization Pipeline

Prompts are routed through a tiered system to ensure the highest quality based on your subscription and connectivity.

  • Tier 1 — LLM Optimization (70–95% Confidence): Genuine rewriting and enrichment using advanced models (Gemini, Claude, and GPT families, configurable per your OpenRouter setup).
  • Tier 2 — Backend Rules ( < 25% Confidence): Rapid rules-based pass for simple prompts or when personal models aren't configured.
  • Tier 3 — Local Fallback (35–55% Confidence): Structured optimization applied locally if the backend is unreachable.

---

🤖 Context Engineer (CE) Suite

Available on Pro and Enterprise tiers.

Transform vague goals into production-ready agentic scaffolding directly in your IDE.

  • generate_agent_sop: Generate structured Standard Operating Procedures for AI agents.
  • generate_skill_package: Create a complete skill package (SOP + SKILL.md + reference + examples).
  • transform_for_framework: Convert SOPs into native code for LangChain, AutoGen, or Claude Code.

---

🛠️ Available MCP Tools

| Tool | Description | |---|---| | optimize_prompt | Transform prompts with professional techniques & Bayesian tuning. | | detect_ai_context | Automatically detect intent (Code, Image, Research, etc.). | | search_templates | Browse your history and reusable optimization patterns. | | get_quota_status | Monitor your real-time usage and subscription limits. | | get_ce_quota_status | Check Context Engineer credits and workflow availability. |

---

🎨 AI Context Detection

Automatically applies specialized goals for:

  • 💻 Code Generation: Technical accuracy, parameter preservation, precision.
  • 🎨 Image Generation: Midjourney/DALL-E syntax, style boosters, camera settings.
  • 📊 Structured Output: JSON/Schema integrity, YAML, CSV transformations.
  • 💬 Human Communication: Tone adjustment, clarity, formal/informal shifts.
  • 🔍 Research & Analysis: Context specificity, token efficiency, actionability.

---

🎛️ Personal Model Choice

Don't be locked into one model. Configure your own OpenRouter keys in the WebUI to pick from the current Claude, GPT, and Gemini model families — swap models per task without changing your integration.

---

💰 Subscription Plans

| Plan | Price | Optimizations/mo | Features | |---|---|---|---| | Free | $0/mo | 20 | Validate fit, no credit card required | | Pro | $19/mo | 500 | Full model config, Context Engineering | | Enterprise | Custom | Custom | Team features, shared quotas |

---

🔒 Security & Privacy

  • Encrypted Transmission: All data is sent over TLS.
  • Scoped Retention: Optimizations are saved to your own template library, encrypted at rest — never shared across users or used to train models.
  • Local Option: Use mcp-prompt-optimizer-local for 100% on-device processing.

---

📞 Support & Resources

--- Transforming AI interactions through professional prompt engineering.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Cloud & DevOps servers.