ClarifyPrompt MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "LLM_API_URL=${LLM_API_URL}" -e "LLM_MODEL=${LLM_MODEL}" clarifyprompt-mcp -- npx -y clarifyprompt-mcp
Required:LLM_API_URLLLM_MODEL
README.md

Transforms vague prompts into platform-optimized prompts for 58+ AI platforms

ClarifyPrompt MCP

An MCP server that transforms vague prompts into platform-optimized prompts for 58+ AI platforms across 7 categories — with support for registering custom platforms and providing markdown instruction files.

Send a raw prompt. Get back a version specifically optimized for Midjourney, DALL-E, Sora, Runway, ElevenLabs, Claude, ChatGPT, or any of the 58+ supported platforms — with the right syntax, parameters, and structure each platform expects. Register your own platforms and provide custom optimization instructions via .md files.

How It Works

You write:    "a dragon flying over a castle at sunset"

ClarifyPrompt returns (for Midjourney):
  "a majestic dragon flying over a medieval castle at sunset
   --ar 16:9 --v 6.1 --style raw --q 2 --chaos 30 --s 700"

ClarifyPrompt returns (for DALL-E):
  "A majestic dragon flying over a castle at sunset. Size: 1024x1024"

Same prompt, different platform, completely different output. ClarifyPrompt knows what each platform expects.

Quick Start

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "clarifyprompt": {
      "command": "npx",
      "args": ["-y", "clarifyprompt-mcp"],
      "env": {
        "LLM_API_URL": "http://localhost:11434/v1",
        "LLM_MODEL": "qwen2.5:7b"
      }
    }
  }
}

With Claude Code

claude mcp add clarifyprompt -- npx -y clarifyprompt-mcp

Set the environment variables in your shell before launching:

export LLM_API_URL=http://localhost:11434/v1
export LLM_MODEL=qwen2.5:7b

With Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "clarifyprompt": {
      "command": "npx",
      "args": ["-y", "clarifyprompt-mcp"],
      "env": {
        "LLM_API_URL": "http://localhost:11434/v1",
        "LLM_MODEL": "qwen2.5:7b"
      }
    }
  }
}

Supported Platforms (58+ built-in, unlimited custom)

Category Platforms Default
Image (10) Midjourney, DALL-E 3, Stable Diffusion, Flux, Ideogram, Leonardo AI, Adobe Firefly, Grok Aurora, Google Imagen 3, Recraft Midjourney
Video (11) Sora, Runway Gen-3, Pika Labs, Kling AI, Luma, Minimax/Hailuo, Google Veo 2, Wan, HeyGen, Synthesia, CogVideoX Runway
Chat (9) Claude, ChatGPT, Gemini, Llama, DeepSeek, Qwen, Kimi, GLM, Minimax Claude
Code (9) Claude, ChatGPT, Cursor, GitHub Copilot, Windsurf, DeepSeek Coder, Qwen Coder, Codestral, Gemini Claude
Document (8) Claude, ChatGPT, Gemini, Jasper, Copy.ai, Notion AI, Grammarly, Writesonic Claude
Voice (7) ElevenLabs, OpenAI TTS, Fish Audio, Sesame, Google TTS, PlayHT, Kokoro ElevenLabs
Music (4) Suno AI, Udio, Stable Audio, MusicGen Suno

Tools

`optimize_prompt`

The main tool. Optimizes a prompt for a specific AI platform.

{
  "prompt": "a cat sitting on a windowsill",
  "category": "image",
  "platform": "midjourney",
  "mode": "concise"
}

All parameters except prompt are optional. When category and platform are omitted, ClarifyPrompt auto-detects them from the prompt content.

Three calling modes:

Mode Example
Zero-config { "prompt": "sunset over mountains" }
Category only { "prompt": "...", "category": "image" }
Fully explicit { "prompt": "...", "category": "image", "platform": "dall-e" }

Parameters:

Parameter Required Description
prompt Yes The prompt to optimize
category No chat, image, video, voice, music, code, document. Auto-detected when omitted.
platform No Platform ID (e.g. midjourney, dall-e, sora, claude). Uses category default when omitted.
mode No Output style: concise, detailed, structured, step-by-step, bullet-points, technical, simple. Default: detailed.
enrich_context No Set true to use web search for context enrichment. Default: false.

Response:

{
  "originalPrompt": "a dragon flying over a castle at sunset",
  "optimizedPrompt": "a majestic dragon flying over a medieval castle at sunset --ar 16:9 --v 6.1 --style raw --q 2 --s 700",
  "category": "image",
  "platform": "midjourney",
  "mode": "concise",
  "detection": {
    "autoDetected": true,
    "detectedCategory": "image",
    "de

Tools (1)

optimize_promptOptimizes a raw prompt for a specific AI platform, category, or output style.

Environment Variables

LLM_API_URLrequiredThe API endpoint for the LLM used for optimization
LLM_MODELrequiredThe specific model to use for prompt optimization

Configuration

claude_desktop_config.json
{"mcpServers": {"clarifyprompt": {"command": "npx", "args": ["-y", "clarifyprompt-mcp"], "env": {"LLM_API_URL": "http://localhost:11434/v1", "LLM_MODEL": "qwen2.5:7b"}}}}

Try it

Optimize the prompt 'a dragon flying over a castle at sunset' for Midjourney.
Help me write a detailed prompt for DALL-E 3 about a futuristic city.
Create a concise prompt for ElevenLabs to generate a professional voiceover.
Optimize a prompt for Runway Gen-3 to create a cinematic video of a forest.

Frequently Asked Questions

What are the key features of ClarifyPrompt MCP?

Supports 58+ built-in AI platforms across 7 categories. Auto-detects category and platform from prompt content. Supports custom platform registration via markdown files. Multiple output modes including concise, detailed, and structured. Optional web search context enrichment.

What can I use ClarifyPrompt MCP for?

Generating platform-specific syntax and parameters for image generators like Midjourney. Standardizing prompt structure for consistent results across different LLMs. Creating optimized voiceover scripts for ElevenLabs or OpenAI TTS. Automating the creation of video generation prompts for Runway or Sora.

How do I install ClarifyPrompt MCP?

Install ClarifyPrompt MCP by running: Add to claude_desktop_config.json

What MCP clients work with ClarifyPrompt MCP?

ClarifyPrompt MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep ClarifyPrompt MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare