Skip to content
MCP server

CompactPrompt

Review and compact prompts, docs, and AI-agent skills to save tokens, preserving…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.5.2
Listing updated
5 days ago

About CompactPrompt

CompactPrompt is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Review and compact prompts, docs, and AI-agent skills to save tokens, preserving structure.

Install

Run in a terminal

claude mcp add compactprompt -- uvx compactprompt

Add to claude_desktop_config.json

{
  "mcpServers": {
    "compactprompt": {
      "command": "uvx",
      "args": [
        "compactprompt"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "compactprompt": {
      "command": "uvx",
      "args": [
        "compactprompt"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "compactprompt": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "compactprompt"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "compactprompt": {
      "command": "uvx",
      "args": [
        "compactprompt"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "compactprompt": {
      "command": "uvx",
      "args": [
        "compactprompt"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

CompactPrompt FAQ

Is CompactPrompt free?

Yes. CompactPrompt is open source, so you can use and self-host it for free.

How do I add CompactPrompt to Claude Code?

Run this command in your terminal: claude mcp add compactprompt -- uvx compactprompt

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers