Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

lcc — Local Context Compiler

de lucasmartins-aiversión 1.2.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.lucasmartins-ai/lcc

Instalar

Resumen

Descripción del creador (original en inglés)

Compact agent context verbatim, offline: cut spent tool outputs, recall them by hash.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Herramientas para desarrolladores

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "lcc": {
      "command": "uvx",
      "args": [
        "local-context-compiler",
        "mcp"
      ]
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add lcc -- uvx local-context-compiler mcp

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "lcc": {
      "command": "uvx",
      "args": [
        "local-context-compiler",
        "mcp"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "lcc": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "local-context-compiler",
        "mcp"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 8 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub lucasmartins-ai, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Herramientas para desarrolladoresi

  • Más estrellas que el 0% de los otros 4907 servidores de esta categoría
  • Publicado en el registro más recientemente que el 68% de los otros 4907 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 4907 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro lcc — Local Context Compiler?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (1.2.0) llegó al registro hace 18 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: GitHub, Desktop Commander, Cloudflare MCP

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

GitHub

de github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

Computadora o nube★ 34.245MITActualizado hace 4 días
Instalar

Desktop Commander

de wonderwhy-er

MCP server for terminal commands, file operations, and process management

Se ejecuta en tu computadora★ 10.225MITActualizado hace 16 días
Instalar

Cloudflare MCP

de cloudflare

Cloudflare MCP servers

Se ejecuta en la nube★ 4446Apache-2.0Actualizado hace 14 meses
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

lcc — Local Context Compiler

Compact coding-agent context without summarizing it away.

lcc cuts what the model does not need, keeps everything else byte for byte, and writes a receipt.

/compact vs lcc

Claude Code's /compact replaces your session with a summary written by a model. Summaries drop the exact error, path or line the agent needs two turns later. lcc does the opposite: old tool outputs leave the context but stay one recall away, and every user and assistant message is kept as it was.

One real Claude Code session (193 messages, 75 tool calls)tokensuser and assistant messagesremoved tool outputs
before57,08343, as written—
/compactone summaryrewritten into the summarygone
lcc (rules, stashed)28,807 (−49.5%)43 / 43 byte for byte33, each one recall away

Measured with lcc measure-session (PyPI 1.2.0, offline, exact o200k_base token count; re-run 2026-10-23). On main, whose stash note now states lines and size, the same session gives 28,983 (−49.2%). That session is one of the best cases. Across all 299 of my long sessions (100+ messages each, 36.3 M tokens) the median cut was 21.8% (middle half 15% to 31%, best 65%), with 0 messages lost (python benchmarks/research/long_sessions.py, 2026-10-23, main). These are all my sessions: run it on yours and post the result.

In a pre-registered test on 172 real requests (evidence), an agent answering from the stashed context plus recall did as well as with the full context on file recall (+0.006, 95% CI −0.023 to +0.034) with 36.6% fewer tokens. It called recall for 90% of the questions about removed content. A /compact-style summary of the same sessions got 73% of exact values right (our reimplementation of /compact, written by Opus); full and verbatim context got 98%.

Install

pip install "local-context-compiler[tiktoken]"   # the CLI is `lcc`

lcc fetch-tokenizer # once: exact token counts lcc measure-session "$(ls -t ~/.claude/projects/*/*.jsonl | head -1)" # your latest session

The PyPI package is local-context-compiler. pip install lcc installs an unrelated astronomy package that happens to own that name.

fetch-tokenizer downloads tiktoken's encoding files once; it is the only lcc command that goes online, and without it counts are labelled approximate. The last line reads your most recent Claude Code session, runs the rules modes offline in seconds and prints counts only. Nothing is changed and nothing leaves the machine.

Claude Code plugin (replaces the /compact summary). Function hooks are early access, so this needs Claude Code 2.1.274+ and the flag below:

export CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1

claude plugin marketplace add lucasmartins-ai/lcc claude plugin install lcc@lcc --config provider=rules --config rulesMode=stashed

Allow mcp__plugin_lcc_lcc__recall so the agent can get removed outputs back. When a pass fails or removes too little, the plugin hands over to the built-in summary and says so in a toast. Details: Claude Code guide.

MCP (Claude Code, Cursor, Claude Desktop, any stdio client):

{"mcpServers": {"lcc": {"command": "lcc", "args": ["mcp"]}}}

Tools: compact, compact_transcript, recall, inspect, prepare, explain, intake (MCP guide).

CLI, on a session file or any document:

lcc compact ~/.claude/projects/<project>/<session>.jsonl -q "finish the parser fix" \

--mode tool-calls --provider rules --rules-mode stashed -o compacted.json -r report.json lcc recall # a removed output, hash-checked

lcc compact notes.md -q "what is wrong with the booking flow?" \ --provider mechanical -o compacted.md -r report.json lcc explain report.json --source notes.md # why each block was kept or dropped

Send us your numbers

lcc measure-session ~/.claude/projects/<project>/<session>.jsonl --markdown

Codex CLI rollouts are auto-detected from their session_meta record:

lcc measure-session /path/to/rollout.jsonl --markdown

or a whole project directory: per-mode median and p90 reduction over its sessions

lcc measure-session ~/.claude/projects/ / --markdown

It runs every mode on one of your sessions, offline, and prints counts only: messages, tool calls, tokens before and after, messages kept, time. No text, path or tool output. For exact counts, install the tiktoken extra and cache its tokenizer once (lcc itself never downloads): python -c "import tiktoken; tiktoken.get_encoding('o200k_base')". Otherwise the report says approximate and why. Paste it in Discussions → Results. Add --input-map to see where the session's billed input goes instead: cache reads and writes, and the share taken by tool results, tool-call inputs, injected instructions and the fixed system prompt and tool schemas (counts only, from the usage records in the file). Already compacting with lcc? lcc share-stats turns your local reports into the same kind of counts-only summary (SHARE_STATS.md), or use the results issue form. Every number from someone other than me makes the claims above less mine and more true.

Why lcc

  • Verbatim. Kept spans are byte-identical to the source. Nothing is summarized or rewritten.
  • Recoverable. stashed moves removed outputs to a local content-addressed store (~/.cache/lcc/stash); recall re-hashes on read. The placeholder, [removed: 120 lines, 4.3 KB · lcc recall ], states lines and size, not tokens, so it is identical on every machine.
  • Auditable. Every pass writes a JSON report; lcc explain gives the reason for every drop.
  • Local. The default judges run on your CPU in plain Python. No API key, no network.

Providers

ProviderRunsWhen it is usedReport says
specialist-v3local, CPUdefault (auto) whenever transcript blocks are present: the Claude Code hook, compact_transcript, --mode tool-callssemantic_guarantee: none (a rank, not a judgment)
mechanicallocal, CPU--provider mechanical; plain text under auto (a configured TypeSafe key does not change that unless LCC_AUTO_REMOTE=1)semantic_guarantee: none
rules (lossless, recoverable, stashed)local, no modelprovider: rules for transcriptslossless: only provable duplicates removed; recoverable: also outputs that can be re-read; stashed (recommended): removed outputs stay byte-recoverable through recall
jevremote (TypeSafe API)opt-in: --provider jev / provider: jev, needs TYPESAFE_API_KEYsemantic judgment or explicit degradation
layalocal modeldeprecated; runs only when namednamed model and fallback state

specialist-v3 details and limits: SPECIALIST.md. Rules modes: TOOL_CALLS.md. Jev is an optional path you name explicitly (--provider jev); it sends the objective and context blocks to the TypeSafe API, and LCC_DISABLE_NETWORK=1 disables it. auto never picks it on its own: having a key is not consent to send context off-machine, so plain text under auto stays on mechanical unless you set LCC_AUTO_REMOTE=1. compact writes a relevance-compaction-1.2 report; check provider_used and degraded before trusting the output.

Benchmarks

Real sessions (held-out, INFERIDO). In plain words: when a ranker has to drop part of a session, how often does it keep what the agent actually used next? 1.0 would be always. A one-shot final test on 193 items from 36 of the maintainer's sessions that started after the training cutoff. Retention AUC over drop budgets of 0–60% of candidate tokens:

rankerrecall AUCall-kept AUC
specialist-v30.8990.434
mechanical0.8290.238
recency0.8180.306
bm250.8030.270
random0.6890.138

The labels are next-action evidence from one maintainer's Claude Code sessions, which favours v3's training target. The sessions are private; only aggregates are published (SPECIALIST.md).

Synthetic, reproducible (python benchmarks/run_judge_bench.py, about 20 s, no network). Nine hand-written edge cases: supersession, contradiction, config change, exception rule, pt/en mixed, prompt injection in a tool output, large git diff, old root cause, re-read.

raw rankingspecialist-v3mechanicalbm25recency
cases with every must-keep block kept at a 30 / 50 / 70% cut (of 9)8 / 7 / 79 / 9 / 99 / 9 / 78 / 6 / 3
full pass, default settingsmust-keep kept302 blocks1,138 blockspeak RSS
specialist-v3, tool-call mode9/9181 ms3.4 s71 MB
rules lossless9/92 ms16 ms55 MB

These cases are lexically easy, so the lexical baselines do well; v3 misses the Portuguese case. Timings are from macOS arm64 under heavy machine load. Method, every arm and the limits: BENCHMARKS.md. Rules modes on real sessions: REAL_SESSION_BENCHMARKS.md.

Reduction depends on how much of a context is noise. Below a 25% gain, the report marks the pass as not worth it, and the Claude Code plugin keeps the built-in summary.

What it does not do

  • It does not check that a model will answer correctly. A structural PASS is not an answer quality result.
  • No RAG, embeddings or vector store.
  • Protection rules and bounded restoration reduce, but do not rule out, lost evidence; see the safety model.
  • specialist-v3 was trained on Claude Code transcripts. Other agents and plain documents are out of distribution; plain text uses mechanical unless you opt in to Jev.

Docs

TopicLink
Five-minute tour of the CLIQUICKSTART.md
Claude Code pluginCLAUDE_CODE.md
MCP serverMCP.md
Tool-call compaction and rules modesTOOL_CALLS.md
Aider chat history as inputAIDER.md
The local rankerSPECIALIST.md
BenchmarksBENCHMARKS.md, REAL_SESSION_BENCHMARKS.md, benchmarks/
Python API (lcc.msi.compile)msi-api.md

| Architecture and decisions | architecture.md, ADR 0010, [ADR index](docs/adr

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx