Compact coding-agent context without summarizing it away. Verbatim, offline, with a receipt and recall for every cut. CLI, MCP server, Claude Code plugin. MIT.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add lcc-local-context-compiler -- uvx local-context-compiler~/.codex/config.toml
[mcp_servers.lcc-local-context-compiler]
command = "uvx"
args = ["local-context-compiler"]
# codex mcp add lcc-local-context-compiler -- uvx local-context-compiler~/.cursor/mcp.json
{
"mcpServers": {
"lcc-local-context-compiler": {
"command": "uvx",
"args": [
"local-context-compiler"
]
}
}
}.vscode/mcp.json
{
"servers": {
"lcc-local-context-compiler": {
"type": "stdio",
"command": "uvx",
"args": [
"local-context-compiler"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"lcc-local-context-compiler": {
"command": "uvx",
"args": [
"local-context-compiler"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"lcc-local-context-compiler": {
"command": "uvx",
"args": [
"local-context-compiler"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"lcc-local-context-compiler": {
"command": "uvx",
"args": [
"local-context-compiler"
]
}
}
}