CompactPrompt MCP
A Python module and MCP server that compacts LLM prompts to save tokens and reduce costs while preserving meaning. It trims low-value wording and reversibly shortens repeated phrases, allowing agents to process longer inputs within model limits.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Shorten long prompts to reduce token costs
- Preserve prompt meaning while removing filler words
- Reversibly abbreviate repeated phrases for efficiency
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
compactprompt 0.5.2
{
"version": "0.5.2",
"transport": "stdio",
"identifier": "compactprompt",
"registryType": "pypi"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"compactprompt-mcp": {
"command": "uvx",
"args": [
"compactprompt==0.5.2"
]
}
}
}Cline
{
"mcpServers": {
"compactprompt-mcp": {
"command": "uvx",
"args": [
"compactprompt==0.5.2"
]
}
}
}VS Code
{
"servers": {
"compactprompt-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"compactprompt==0.5.2"
]
}
}
}Claude Desktop
{
"mcpServers": {
"compactprompt-mcp": {
"command": "uvx",
"args": [
"compactprompt==0.5.2"
]
}
}
}Let your agent find its tools
Find servers like CompactPrompt MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.