Mcp Prompt Optimizer (local)

by nivlewd1

383 downloads
Not rated
GitHub

About

Advanced Local Prompt Intelligence Engine with complete privacy and sophisticated content analysis. Features cross-platform support (Windows, macOS, Linux), binary optimization, and dual-tier processing: AI-aware rules engine + optional LLM enhancement. 100% local processing ensu

Details

Author
nivlewd1
Downloads
383
Categories
Other

- 100% local processing – no data transmission during optimization
- Offline capable with cached license validation (24-48 hours)
- Dual-tier optimization: rules engine always available, optional OpenAI enhancement
- Cross-platform support: Windows, macOS, and Linux (x64, ARM64)
- Binary optimization for platform-specific performance
- Free tier: 5 optimizations per day; Pro: $19.99 one-time unlimited

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp Prompt Optimizer (local)
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install globally via npm install -g mcp-prompt-optimizer-local, then set the OPTIMIZER_API_KEY environment variable with your license key (basic or pro). Optionally set OPENAI_API_KEY for LLM-enhanced optimization. Use the provided tools such as optimize_prompt to transform prompts with over 50 techniques.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp prompt optimizer (local)": {
            "prompt-optimizer-local": {
                "command": "mcp-prompt-optimizer-local",
                "env": {
                    "OPTIMIZER_API_KEY": "sk-local-pro-your-key-here",
                    "OPENAI_API_KEY": "sk-proj-your-openai-key-here"
                }
            }
        }
    }
}

McpServers

{
    "prompt-optimizer-local": {
        "command": "mcp-prompt-optimizer-local",
        "env": {
            "OPTIMIZER_API_KEY": "sk-local-pro-your-key-here",
            "OPENAI_API_KEY": "sk-proj-your-openai-key-here"
        }
    }
}

MCP Prompt Optimizer (Local)

Advanced Local Prompt Intelligence Engine with complete privacy and sophisticated content analysis.

🔒 Privacy-First Design

- 100% Local Processing - No data transmission during optimization - Offline Capable - Works with cached license validation (24-48h) - Binary Optimization - Platform-specific compiled optimizers for performance - Complete Privacy - Your prompts never leave your machine

🌍 Universal Cross-Platform Support

- Windows x64 - Native binary included - macOS Intel & Apple Silicon - Auto-downloaded from releases - Linux x64 & ARM64 - Full support including Raspberry Pi

⚡ Dual-Tier Optimization

1. Rules Engine (Always Available): Sophisticated AI-aware optimization using advanced heuristics 2. LLM Enhancement (Optional): OpenAI-powered optimization for advanced use cases

🚀 Quick Setup

Installation

```bash npm install -g mcp-prompt-optimizer-local License Setup

Get your license: promptoptimizer-blog.vercel.app/local-license

Basic: FREE (5 optimizations/day)
Pro: $19.99 one-time (unlimited)

Set environment variable: export OPTIMIZER_API_KEY="sk-local-basic-your-key"

Optional LLM Enhancement
Set OpenAI API key for enhanced optimization: export OPENAI_API_KEY="sk-proj-your-key"
🛠️ Available Tools

optimize_prompt - Transform prompts with 50+ professional techniques
list_saved_templates - Browse optimization history
search_templates - Find relevant patterns
get_template - Retrieve specific templates
use_template_as_base - Start from proven patterns

🎯 Perfect For

Developers requiring private prompt optimization
Teams working with sensitive data
Users in regions with restricted cloud access
Anyone prioritizing data privacy and offline capability

📋 Requirements

Node.js ≥16.0.0
Local license key (free or paid)
Optional: OpenAI API key for LLM enhancement

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.