Open Source · Deterministic prompt governance · Zero LLM Calls Inside

The control plane
for AI prompts

Score, enforce policy, lock config, and audit every prompt decision — before it reaches any LLM.

Deterministic. Offline. Tamper-evident audit trail. 19 MCP tools.

npm version npm downloads GitHub release License
Your prompt
> Write me something about our product launch|
Score: 31/100
⚠ vague_objective ⚠ missing_audience ⚠ no_constraints
Compiled output
<role>Product marketing writer</role>
<goal>Write a 200-word launch announcement</goal>
<constraints>
- Tone: professional, concise
- Audience: existing customers
</constraints>
Score: 91/100

Routes across 4 providers · 11 models

Anthropic · OpenAI · Google · Perplexity

See all supported models →

How It Works

Five steps from rough prompt to production-ready. All analysis is deterministic — no AI calls inside.

1

Score your prompt

Get a quality score (0–100) with dimensional breakdown. Every deduction has a traceable reason.

2

Detect ambiguities

Deterministic rules catch scope explosion, missing constraints, hallucination risk, and vague instructions.

3

Compile a structured version

Adds role, goal, constraints, workflow, and output format. Choose your target: Claude XML, OpenAI system/user, or Markdown.

4

Know the cost before you run

Estimates token count and cost across 11 models from Anthropic, OpenAI, Google, and Perplexity.

5

Review & approve

Review the compiled result, answer blocking questions if needed, then approve. Nothing executes without your sign-off.

Enterprise Controls

The governance layer you need before approving AI in production.

🔒

Config Lock Mode

Lock your governance config with a passphrase. No one can change policy, strictness, or audit settings without the correct secret. Every attempt — successful or blocked — is audit-logged.

🛡

Policy Enforcement

Switch from advisory to enforce mode. BLOCKING rules (built-in + custom) gate every prompt. Risk threshold gating blocks high-risk approvals. Deterministic — same input, same verdict, every time.

📜

Tamper-Evident Audit Trail

Every action generates a JSONL audit entry with SHA-256 hash chaining. If any line is deleted or modified, the chain breaks. Local-only, opt-in, never stores prompt content. Answers: “who changed what, when, and was it allowed?”

🗑

Data Lifecycle Management

Delete individual sessions or bulk-purge by age policy. Dry-run mode previews what would be deleted. keep_last protects your newest N sessions. Purge only touches session files — config, audit, and license are never deleted.

Verified

Why teams trust it

Every result is reproducible, every decision is auditable, and nothing leaves your machine.

100%
Reproducible
Same prompt, same result. Every time. No randomness, no drift, no surprises between runs.
0
External Calls
Runs entirely on your machine. No data sent anywhere. No API keys needed. No network dependency.
4
Providers Covered
Accurate cost estimates across Anthropic, OpenAI, Google, and Perplexity — always up to date.
<1s
Response Time
No LLM in the loop means instant feedback. Score, route, and estimate cost in milliseconds.
19
Tools, One Install
Scoring, routing, compression, policy enforcement, audit logging, session management — all included.
Audit Trail
Tamper-evident log of every decision. Cryptographically chained. Know who changed what and when.

Extensively tested. Fully open for inspection. Run the suite yourself to verify.

Pricing

Free tier includes 10 optimizations, unlimited scoring, and all 19 tools. No credit card required.

Free
₹0
forever
  • 10 optimizations total
  • Unlimited scoring & checking
  • 5 per minute rate limit
  • All 19 tools
  • All 3 output formats
Get Started
Power
₹899
per month
  • Unlimited optimizations
  • Unlimited scoring & checking
  • 60 per minute rate limit
  • Always-on mode
  • Priority support
Get Power
Enterprise
Custom
contact us
  • Unlimited optimizations
  • 120 per minute rate limit
  • Policy enforcement + config lock
  • Tamper-evident audit logging
  • Custom rules + session retention
  • Dedicated support & SLA
Contact Sales

Have a promo code? Enter it at checkout for a discount.

Install in 10 seconds

Add to any MCP-compatible client: Claude Code, Cursor, or Windsurf.

MCP config (recommended)
{ "mcpServers": { "prompt-optimizer": { "command": "npx", "args": ["-y", "claude-prompt-optimizer-mcp"] }}}
Or install globally via npm
npm install -g claude-prompt-optimizer-mcp
Or one-line curl install
curl -fsSL https://prompt-control-plane.pages.dev/install.sh | bash