Back to MCP marketplace
lossless-context-mcp
development-it
In Review

lossless-context-mcp

Added by npm

About

The flight recorder for your agent context: a persistent ledger of every file version the model was shown - working-set restore after compaction, cache-ready context packs for subagent fan-outs, and git-bound signed receipts.

Tools

  • read_file
    Read a text file through the context ledger. The FIRST read of a file/view (or the ' + 'first after a context compaction) returns full content. A later read of an UNCHANGED ' + 'view returns a short "reuse what you have" marker. A l
  • outline
    Return a cheap structural outline of a file: declaration lines (functions, classes, ' + 'types, methods) with line numbers, bodies elided. Use this to navigate a large/unknown ' + 'file before reading specific parts with read_file.
  • context_stats
    Where did this session’s file-read tokens go? Totals, per-repo breakdown, heaviest ' + 'files, dedup savings, and a USD estimate (LOSSLESS_PRICE_PER_MTOK, default $3/MTok ' + 'input). Counted with a real tokenizer on exactly what th
  • working_set
    What has this session been working on? A heat-ranked table of the files the flight ' + 'recorder knows about — from this server's own reads plus any transcript sweeps the ' + 'hooks performed (last 24h) — with sizes, touch counts, a
  • restore_context
    Re-emit the working set after a compaction (or /clear) destroyed it. Serves CURRENT ' + 'disk content of the requested files — by default the top of the pre-compaction ' + 'manifest the sweep hook wrote — through the lossless ledger
  • export_pack
    Build a fan-out context pack: the stable, hot files (ranked across sessions from the ' + 'flight-recorder history) rendered as one deterministic block to embed VERBATIM in a ' + 'custom agent-type's SYSTEM PROMPT. Siblings in a fan-
  • coordination_status
    The air-traffic radar for concurrent agents on this machine: which agent processes ' + 'are active (from the coordination plane the guard hooks maintain), what they have ' + 'been editing, which files have cross-session activity, an
  • context_blame
    Forensics: what did the agent see of this file, and when? Every content version the ' + 'flight recorder observed (SHA-256 + git blob SHA-1, first/last seen, capture source, ' + 'sessions), plus what else was in context around a foc
  • context_receipt
    Issue an HMAC-SHA256-signed context receipt: every file/view the model was shown via ' + 'this ledger, the SHA-256 of each content version, git binding (blob SHA-1 per version, ' + 'repo HEAD at issue time), delivery kinds, token to
  • verify_context_receipt
    Verify a context receipt + signature pair against the local receipt key (timing-safe, ' + 'canonicalized so JSON field order does not matter).

Community reviews

Reports from signed-in users. These reviews describe individual experiences and are not security audits.

No published reviews yet. Share a specific setup result to help the next user evaluate this server.

Used this MCP server?

Sign in before writing so your review is never lost.