Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Prompt Optimizer

by nivlewd1version 3.8.11i★ 1iRuns on your computerOfficial site ↗
Registry nameio.github.nivlewd1/mcp-prompt-optimizer

How to install

What it does

Optimize prompts and generate agent SOPs and skill packages with the Prompt Optimizer cloud API.

  • Connects Runs on your computer
  • Account or key Needs OPTIMIZER_API_KEY
  • Category Search & AI memory

Use together with

Skills that teach the AI this kind of work; they work alongside this one

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6381 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6051 skills

Skill · How-to guide

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

by gosom★ 8,2361 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity18/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score30/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: 24 (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Prompt Optimizer. Follow https://mcp.popnx.com/i/nivlewd1-mcp-prompt-optimizer.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 20, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Prompt Optimizer for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "prompt-optimizer": { "command": "npx", "args": [ "-y", "mcp-prompt-optimizer" ], "env": { "OPTIMIZER_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPTIMIZER_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Prompt Optimizer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Prompt Optimizer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Prompt Optimizer site ↗

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "prompt-optimizer": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-prompt-optimizer"
          ],
          "env": {
            "OPTIMIZER_API_KEY": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Prompt Optimizer and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Prompt Optimizer or shows a Prompt Optimizer tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Prompt Optimizer yet

Prompt Optimizer runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Prompt Optimizer

  • You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Prompt Optimizer for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user prompt-optimizer --env OPTIMIZER_API_KEY=your-value -- npx -y mcp-prompt-optimizer 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPTIMIZER_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Prompt Optimizer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Prompt Optimizer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Prompt Optimizer site ↗

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user prompt-optimizer --env OPTIMIZER_API_KEY=your-value -- npx -y mcp-prompt-optimizer

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Prompt Optimizer listed as connected

  6. Try it

    Use Prompt Optimizer and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Prompt Optimizer or shows a Prompt Optimizer tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Prompt Optimizer for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "prompt-optimizer": { "command": "npx", "args": [ "-y", "mcp-prompt-optimizer" ], "env": { "OPTIMIZER_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPTIMIZER_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Prompt Optimizer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Prompt Optimizer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Prompt Optimizer site ↗

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Prompt Optimizer settings, OPTIMIZER_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Prompt Optimizer and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Prompt Optimizer or shows a Prompt Optimizer tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Prompt Optimizer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Prompt Optimizer for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "prompt-optimizer": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-prompt-optimizer" ], "env": { "OPTIMIZER_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPTIMIZER_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Prompt Optimizer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Prompt Optimizer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Prompt Optimizer site ↗

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Prompt Optimizer settings, OPTIMIZER_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Prompt Optimizer and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Prompt Optimizer or shows a Prompt Optimizer tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Prompt Optimizer💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user prompt-optimizer --env OPTIMIZER_API_KEY=your-value -- npx -y mcp-prompt-optimizer

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "prompt-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-prompt-optimizer"
      ],
      "env": {
        "OPTIMIZER_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "prompt-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-prompt-optimizer"
      ],
      "env": {
        "OPTIMIZER_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "prompt-optimizer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-prompt-optimizer"
      ],
      "env": {
        "OPTIMIZER_API_KEY": "your-value"
      }
    }
  }
}

Values you fill in

  • OPTIMIZER_API_KEY secret required env
    Your Prompt Optimizer API key (starts with sk-opt-). A free key takes no card: https://promptoptimizer.xyz/dashboard

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
540/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
3.8.11
Published to registryi
Nov 8, 2026
Code last changedi
Nov 13, 2026
Maker
nivlewd1
Packages
npm: mcp-prompt-optimizer
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account nivlewd1, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 7 days ago

  • ! Caution

    Has a licence

    GitHub could not identify the licence type; open the file to check

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for mcp-prompt-optimizer@3.8.11

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/nivlewd1-mcp-prompt-optimizer.svg)](https://mcp.popnx.com/en/servers/nivlewd1-mcp-prompt-optimizer)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 76% of the other 6470 servers in this category
  • Published to the registry more recently than 76% of the other 6470 servers in this category
  • Basic checks equal to or better than 51% of the other 6470 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Prompt Optimizer safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: OPTIMIZER_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 7 days ago, and the latest version (3.8.11) reached the registry 12 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 28.3KUpdated 6 days ago

Runs in the cloud✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated today

Runs in the cloud✓ service owner · exa.aiTried by the PopNx team

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Runs in the cloud✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 2 months ago

Runs in the cloud✓ empryo.com
Compared with similar ones
This one
Prompt Optimizer
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoYesYesYesNoNo
Basic checks2/35/52/44/44/44/4
LicenseNOASSERTIONMITMITCC-BY-4.0NOASSERTIONApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

MCP Prompt Optimizer

🚀 Professional cloud-based MCP server for AI-powered prompt optimization with intelligent context detection, template management, team collaboration, and enterprise-grade reliability. Starting at $0/month.

New here? A free API key takes no card and includes 20 optimizations a month. Start free, or try one optimization with no account first.

✨ Key Features

🧠 AI Context Detection — Automatically detects and optimizes for code, creative writing, image generation, communication, and more 📁 Template Management — Auto-save high-confidence optimizations, search & reuse patterns 👥 Team Collaboration — Shared quotas, team templates, role-based access 📊 Confidence Scoring — Honest quality signal with per-tier annotations ☁️ Cloud Processing — Always up-to-date AI models via backend LLM pipeline 🔧 Resilient Fallback — Structured local optimization if the backend is unreachable 🎛️ Personal Model Choice — Use your own OpenRouter models via WebUI configuration 🔧 Universal MCP — Works with Claude Desktop, Cursor, Windsurf, Cline, VS Code, Zed, Replit


🚀 Quick Start

1. Get your API key:

  • 🆓 Free Tier (sk-opt-*): 20 LLM optimizations/month, 1 API key — no credit card required
  • ⭐ Pro (sk-opt-*): 500 optimizations/month, full model config, Context Engineer
  • 🏢 Enterprise (sk-team-*): Unlimited optimizations, team keys, shared quotas

Sign up and generate your key at promptoptimizer.xyz/dashboard.

2. Install:

npm install -g mcp-prompt-optimizer

3. Connect to Claude Desktop (one command):

npx mcp-prompt-optimizer connect

This wizard reads your API key and writes the MCP server entry to Claude Desktop config automatically. Cross-platform (macOS, Windows, Linux).

Or configure manually — add to ~/.claude/claude_desktop_config.json:

{

"mcpServers": { "mcp-prompt-optimizer": { "command": "npx", "args": ["-y", "mcp-prompt-optimizer"], "env": { "OPTIMIZER_API_KEY": "sk-opt-your-key-here" } } } }

4. Restart your MCP client and start optimizing.

Note: API keys are validated against the backend server. An internet connection is required (responses are cached for up to 2 hours for reliability).


⚙️ How Optimization Works

Prompts are routed through a three-tier pipeline based on complexity and context. Each tier produces a different output format and confidence range.

Tier 1 — LLM Optimization (backend, confidence 70–95%)

The backend routes complex or high-sophistication prompts through a Gemini Flash LLM pass that genuinely rewrites and enriches the prompt. This is the highest-quality output.

# 🎯 Optimized Prompt

My Python script crashes with a KeyError on line 47. I need help diagnosing the root cause. I am using Python 3.11 with pandas 2.0. The error occurs when accessing dictionary keys after a merge operation.

Confidence: 82.0% AI Context: code_generation

Tier 2 — Backend Rules Optimization (backend, confidence < 25%)

For simpler or lower-sophistication prompts the backend applies rules-based optimization without an LLM. When this happens, confidence will be below 25% and a note will appear explaining what to check if you expected full LLM enhancement.

# 🎯 Optimized Prompt

My Python script crashes with a KeyError. Please provide the error message and relevant code.

ℹ️ *Low confidence indicates the backend applied rules-based optimization

(no LLM). Ensure OPENROUTER_API_KEY is configured in the backend for

full LLM enhancement.*

Confidence: 18.0% AI Context: code_generation

Tier 3 — Local Rules Fallback (npm, confidence 35–55%)

If the backend is unreachable, the npm package applies optimization locally using a library of domain-specific templates. The output is a structured, user-facing prose prompt — no XML scaffolding. The confidence annotation makes the quality tier explicit.

# 🔧 Rules-Based Optimization Applied

⚠️ *Backend unreachable — your prompt has been structured using local rule templates (no LLM). Re-run when the backend is available for full LLM optimization.*

Template: debugging_request

Optimized Prompt:

My Python script crashes with a KeyError

To address this effectively:

  • Identify the most likely root causes given the error description.
  • Request the full error message and stack trace, plus the relevant code snippet.
  • Ask about expected vs. actual behavior, programming language, and library versions.

*Response format: Step-by-step debugging walkthrough with a specific fix or next diagnostic steps.*

Confidence: 51.0% *(rules-based — LLM optimization typically 70–95%)* AI Context: code_generation


🧠 AI Context Detection

The server automatically detects your prompt type and routes it to the appropriate optimization template.

Contextai_context valueExample patterns
Code & debuggingcode_generationdebug, fix, error, python, sql, refactor
Web developmentcode_generationlanding page, react, css, html, tailwind
API & integrationapi_automationapi, rest, endpoint, oauth, webhook
DevOps & automationtechnical_automationdeploy, docker, ci/cd, terraform, bash
Data & schemasstructured_outputjson, schema, csv, yaml, transform
Analysis & researchllm_interactionanalyze, explain, compare, research
Creative writingcreative_writingstory, poem, script, blog, copywriting
Email & communicationhuman_communicationemail, letter, memo, formal, reply
Image generationimage_generationphotorealistic, midjourney, dall-e, portrait
Business & Strategybusiness_strategymarket analysis, swot, business plan
Technical Strategytechnical_strategyarchitecture, system design, migration plan
Legal & Compliancelegal_compliancecontract, gdpr, terms of service, audit
Medical & Healthmedical_healthcareclinical, diagnosis, treatment, hipaa
Educationeducational_contentlesson plan, syllabus, curriculum, quiz
Generalgeneral_assistantEverything else
Image Generation

Image prompts are handled separately. The local fallback appends style-matched quality boosters directly to the prompt (comma-separated), rather than producing structured bullets. This matches how image generation models consume prompts.

Input:  "Draw a photorealistic portrait of an astronaut"

Output: "Draw a photorealistic portrait of an astronaut, ultra realistic, sharp focus, professional photography, dynamic lighting, balanced composition, high quality, 4K"


🛠️ Available MCP Tools

optimize_prompt

AI optimization with context detection, auto-save, and insights.

{

"prompt": "Your prompt text", "goals": ["clarity", "specificity"], "ai_context": "code_generation" }

detect_ai_context

Detect the AI context for a given prompt.

{

"prompt": "The prompt text for which to detect the AI context" }

create_template

Save an optimization as a reusable template.

{

"title": "Template title", "description": "Optional description", "original_prompt": "The original prompt", "optimized_prompt": "The optimized prompt", "optimization_goals": ["clarity"], "confidence_score": 0.9, "ai_context_detected": "code_generation", "is_public": false, "tags": ["debugging", "python"] }

get_template

Retrieve a saved template by ID.

{

"template_id": "the-template-id" }

update_template

Update an existing template.

{

"template_id": "the-template-id", "title": "Updated title", "is_public": true }

search_templates

Search your saved template library.

{

"query": "debugging", "ai_context": "code_generation", "limit": 5, "sort_by": "confidence_score", "sort_order": "desc" }

get_quota_status

Check subscription status and quota usage. No parameters required.

get_optimization_insights *(conditional)*

Experimental and off by default (set ENABLE_BAYESIAN_OPTIMIZATION=true to list it). It calls an analytics endpoint that the hosted service does not currently provide, so it reports that insights are unavailable; it never returns made-up data.

{

"analysis_depth": "detailed", "include_recommendations": true }

get_real_time_status *(conditional)*

Real-time optimization status and AG-UI capabilities. Requires the feature to be enabled in the backend; returns mock data otherwise. No parameters required.


🤖 Context Engineer (CE) Tools

Free accounts get a limited monthly Context Engineering allowance on the default model; Pro and Enterprise get more, and generate_harness_bundle requires Pro or Enterprise. CE tools generate agentic scaffolding artifacts (SOPs, skill packages, framework code) directly in your IDE.

generate_agent_sop

Generate a structured SOP document for an AI agent from a goal description. Returns markdown SOP ready for use.

{

"goal": "What the agent should accomplish", "context": "Additional context, constraints, or domain info (optional)", "model_id": "Model to use (optional)" }

generate_skill_package

Generate a complete skill package (SOP + SKILL.md + reference + examples + helper.py) for a given agent goal. Takes 30–90 seconds (async with polling).

{

"goal": "What the agent should accomplish", "format": "knowledge_doc", "model_id": "Model to use (optional)" }

`format` currently accepts only `knowledge_doc` (the default); it is optional.
generate_harness_bundle

Generate a deployment-ready Agentic Harness ZIP bundle for a specific platform. Returns a confirmation when the bundle is queued for download.

{

"goal": "The workflow goal the harness is built for", "deploy_target": "claude_code", "sop_content": "The SOP markdown content (required if no session_id)", "session_id": "Optional: session ID from a prior generate_skill_package call" }

`deploy_target` accepts a single string (Pro+) or an array of strings (Enterprise — multi-platform simultaneously). Supported targets include `claude_code`, `langchain`, `autogen`, `crewai`, `amazon_q`, `aider`, `continue_dev`, and more. `amazon_q`, `aider`, `continue_dev`, `crewai` require Enterprise.
explore_sop_approaches

Generate 3 parallel SOP variants (process-oriented, decision-tree, role-based) for comparison before committing to one. Returns an HTML comparison grid, a variants array, and a recommended variant. Enterprise required.

{

"goal": "The workflow goal to generate SOP variants for", "context": "Optional background context", "blend_description": "Optional: blend all 3 variants into one SOP using this description" }

IntentFrame fields (`perspective`, `out_of_scope`, `success_definition`) are also accepted to scope the generation.
transform_for_framework

Transform a

Only the beginning is shown; read the rest in the repo