Agent Plugins Marketplace
← All plugins

lcm

v0.13.0

Lossless context management — DAG-based summarization that preserves every message

Claude Code1 MCP serverstdio

By Pedro AlmeidaLicense: MIT36 GitHub starsUpdated 1 hour ago

Directory evidence

Runtimes
Claude Code
Parsed components
1 skill or MCP entry
Source updated
Oct 1, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →

Install lcm for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install lcm@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/lossless-claude/lcm

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The repository root is the plugin root.

Plugin files

lcm/
├── .claude-plugin/plugin.json
└── .mcp.json

MCP servers1

lcmstdio
command
node
args
${CLAUDE_PLUGIN_ROOT}/bundle/mcp-server.js

MCP configuration uses runtime-provided plugin path placeholders such as ${PLUGIN_ROOT} or ${CLAUDE_PLUGIN_ROOT}. Review the manifest for the runtime-specific expansion rules.

Plugin manifests1

.claude-plugin/plugin.json
{
  "name": "lcm",
  "version": "0.13.0",
  "description": "Lossless context management — DAG-based summarization that preserves every message",
  "author": {
    "name": "Pedro Almeida",
    "url": "https://github.com/ipedro"
  },
  "homepage": "https://lossless-claude.com",
  "repository": "https://github.com/lossless-claude/lcm",
  "license": "MIT",
  "keywords": [
    "context",
    "memory",
    "compaction",
    "summarization",
    "lcm"
  ],
  "userConfig": {
    "sessionSummarizerMaxOutputTokens": {
      "type": "number",
      "title": "Session summarizer output token cap",
      "description": "Maximum output tokens served by the session summarizer per session; 0 disables it.",
      "default": 50000
    }
  },
  "mcpServers": {
    "lcm": {
      "command": "node",
      "args": [
        "${CLAUDE_PLUGIN_ROOT}/bundle/mcp-server.js"
      ]
    }
  },
  "hooks": {
    "PreCompact": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/bundle/lcm.js",
              "compact",
              "--hook"
            ],
            "timeout": 120
          }
        ]
      }
    ],
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/bundle/lcm.js",
              "restore"
            ]
          }
        ]
      }
    ],
    "SessionEnd": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/bundle/lcm.js",
              "session-end"
            ]
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/bundle/lcm.js",
              "user-prompt"
            ]
          }
        ]
      }
    ],
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/bundle/lcm.js",
              "session-snapshot"
            ]
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "^(Agent|AskUserQuestion|Bash|EnterPlanMode|ExitPlanMode|Read|Edit|Write|Glob|Grep|TaskCreate|TaskUpdate|Skill|mcp__.*)$",
        "hooks": [
          {
            "type": "command",
            "command": "node",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/bundle/lcm.js",
              "post-tool"
            ]
          }
        ]
      }
    ],
    "PostToolUseFailure": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/bundle/lcm.js",
              "post-tool"
            ]
          }
        ]
      }
    ]
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[lcm on Agent Plugins Marketplace](https://pluginsmp.com/plugins/lcm)