A lightweight desktop IDE for crafting, validating, and testing Claude API prompts following Anthropic's best practices. Built with Tauri 2.0 (Rust + Svelte 5), distributed as a single binary for Linux and Mac.
Dual-Mode Editor
{{variable}} interpolationBest Practices Linting
Claude Code Integration (MCP)
load_prompt, list_prompts, set_variable, get_prompt_healthPresets & Templates
Version History
libgtk-3-dev, libwebkit2gtk-4.1-dev, libcairo2-dev, libpango1.0-dev, libgdk-pixbuf-2.0-dev, librsvg2-devgit clone [email protected]:midwire/claude-prompt-editor.git
cd claude-prompt-editor
pnpm install
pnpm tauri dev
The editor opens and the MCP server starts automatically on port 9780.
To use prompts from the editor in Claude Code:
# One-time setup (while the editor is running)
claude mcp add claude-prompt-editor --transport http http://localhost:9780/mcp
Then in any Claude Code session:
> Use list_prompts to see available prompts
> Load the code-review prompt and use it to review this file
Or click Copy MCP Config in the editor toolbar and paste into your Claude Code config.
Prompts are standard Markdown files with YAML frontmatter:
---
name: "Code Review Assistant"
model: claude-opus-4-6
version: 1
tags: [coding, review]
thinking:
type: adaptive
effort: high
---
<role>
You are an expert code reviewer specializing in {{language}}.
</role>
<instructions>
Review the provided code for security vulnerabilities and performance issues.
</instructions>
<examples>
<example>
<input>def login(u, p): return db.execute(f"SELECT * FROM users WHERE u='{u}'")</input>
<output>CRITICAL: SQL injection vulnerability...</output>
</example>
</examples>
| Variable | Default | Description |
|---|---|---|
MCP_PORT |
9780 |
MCP server port |
PROMPTS_DIR |
./prompts |
Path to prompts directory |