mcp-prompt-optimizer

mcp-prompt-optimizer

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

Category
Visit Server

README

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 API Status Dashboard MCP Compatible


🌟 The Three-Tier Ecosystem

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

1. ā˜ļø Cloud Pro (v3.1.1)

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.0.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.


šŸš€ 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 trial includes 5 optimizations).
  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):

{
  "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 Flash/Claude 3.5).
  • 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 in Creator and Innovator 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 use:

  • Claude 3.5 Sonnet for complex technical tasks.
  • GPT-4o for rapid creative iterations.
  • Gemini 1.5 Pro for deep research.

šŸ’° Subscription Plans

Plan Price Optimizations/mo CE Credits Features
Explorer $2.99/mo 5,000 5 Personal use, Analytics
Creator $29/mo 18,000 30 Team features, Advanced goals
Innovator $99/mo 75,000 Unlimited Enterprise analytics, Full CE Suite

šŸ”’ Security & Privacy

  • Encrypted Transmission: All data is sent over TLS.
  • Zero-Retention: Prompts are processed and discarded; we never train on your data.
  • Local Option: Use mcp-prompt-optimizer-local for 100% on-device processing.

šŸ“ž Support & Resources


Transforming AI interactions through professional prompt engineering.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured