
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server that optimizes prompts locally using a rules-based engine, with no LLM calls, running on Windows, macOS and Linux.
MCP server for local, rules-based prompt optimization is cataloged as an MCP server attributed to nivlewd1. An MCP server that optimizes prompts locally using a rules-based engine, with no LLM calls, running on Windows, macOS and Linux. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Commercial License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for local, rules-based prompt optimization are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Prompts are optimized locally and never sent to the backend; the free tier makes no network calls, while a license key is validated with the backend.
The Basic license is free and allows 5 optimizations per day; the Pro license removes daily limits.
README.md · 1f450b4438cd · 采集于 2026-11-13 11:44:30 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Final release - this package is deprecated. It is a rules-based prompt formatter with no LLM tier. Frontier models rewrite prompts better on their own, so we are no longer developing it. Existing keys keep working; any end date will be announced in advance. For templates, evaluation and Context Engineering use the cloud package:
npm install -g mcp-prompt-optimizer.
Advanced Local Prompt Intelligence Engine with complete privacy and sophisticated content analysis. Now with universal cross-platform support for Windows, macOS, and Linux.
See the MCP Prompt Optimizer Local in action! Watch our comprehensive demo:
Complete installation and usage demonstration showing:
Visit https://promptoptimizer.xyz/local-license to get your local license key.
# Option 1: Environment variable (recommended)
export OPTIMIZER_API_KEY="sk-local-basic-your-key-here"
# Option 2: Add to shell profile
echo 'export OPTIMIZER_API_KEY="sk-local-basic-your-key-here"' >> ~/.bashrc
source ~/.bashrc
npm install -g mcp-prompt-optimizer-local
mcp-prompt-optimizer-local --version
mcp-prompt-optimizer-local check-license
~/.claude/claude_desktop_config.json)Basic Configuration (Rules-based optimization only):
{
"mcpServers": {
"prompt-optimizer-local": {
"command": "mcp-prompt-optimizer-local",
"env": {
"OPTIMIZER_API_KEY": "sk-local-basic-your-key-here"
}
}
}
}
Pro configuration:
{
"mcpServers": {
"prompt-optimizer-local": {
"command": "mcp-prompt-optimizer-local",
"env": {
"OPTIMIZER_API_KEY": "sk-local-pro-your-key-here"
}
}
}
}
{
"mcpServers": {
"prompt-optimizer-local": {
"command": "mcp-prompt-optimizer-local",
"env": {
"OPTIMIZER_API_KEY": "sk-local-pro-your-key-here"
}
}
}
}
{
"mcpServers": {
"prompt-optimizer-local": {
"command": "mcp-prompt-optimizer-local",
"env": {
"OPTIMIZER_API_KEY": "sk-local-pro-your-key-here"
}
}
}
}
| Platform | Architecture | Status | Auto-Install |
|---|---|---|---|
| 🪟 Windows | x64 | ✅ Production Ready | ✅ |
| 🍎 macOS | Intel (x64) | ✅ Full Support | ✅ |
| 🍎 macOS | Apple Silicon (M1/M2/M3+) | ✅ Full Support | ✅ |
| 🐧 Linux | x64 | ✅ Full Support | ✅ |
| 🐧 Linux | ARM64 | ✅ Full Support | ✅ |
Single command works everywhere! The installer automatically:
# Start MCP server
mcp-prompt-optimizer-local
# Check license status
mcp-prompt-optimizer-local check-license
# Show help
mcp-prompt-optimizer-local help
OPTIMIZER_API_KEY~/.mcp_optimizer/config.json.env in current directory{
"apiKey": "sk-local-pro-your-key-here",
"features_enabled": [
"local_processing",
"template_management",
"cross_platform_support"
]
}
chmod +x during installation# Clear npm cache
npm cache clean --force
# Reinstall package
npm uninstall -g mcp-prompt-optimizer-local
npm install -g mcp-prompt-optimizer-local
# Check platform detection
node -e "console.log('Platform:', process.platform, 'Arch:', process.arch)"
# Verify security components
npm run verify-security
# Check binary integrity
npm run validate-manifest
# Manual download (if automatic fails)
# Binaries available at: https://github.com/nivlewd1/mcp-prompt-optimizer-local/releases
# Fix permissions manually
chmod +x ~/.npm-global/lib/node_modules/mcp-prompt-optimizer-local/bin/mcp-optimizer-*
FROM node:18-alpine
RUN npm install -g mcp-prompt-optimizer-local
ENV OPTIMIZER_API_KEY="sk-local-pro-your-key-here"
RUN mcp-prompt-optimizer-local check-license
apiVersion: v1
kind: Secret
metadata:
name: mcp-optimizer-keys
type: Opaque
stringData:
OPTIMIZER_API_KEY: "sk-local-pro-your-key-here"
- name: Install MCP Optimizer
run: |
export OPTIMIZER_API_KEY="${{ secrets.OPTIMIZER_API_KEY }}"
npm install -g mcp-prompt-optimizer-local
mcp-prompt-optimizer-local check-license
npm update -g mcp-prompt-optimizer-local
mcp-prompt-optimizer-local --version
See CHANGELOG.md for breaking changes between versions.
See CHANGELOG.md for the full, version-by-version release history.
Ready to optimize prompts on any platform? Install now and experience the future of cross-platform prompt intelligence! 🚀
Commercial License - see LICENSE for details.
⭐ Star this repo if you find it useful!
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for local, rules-based prompt optimization from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-prompt-optimizer-local)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.