LetsFG — Flights & Hotels
Search and book flights and hotels: hundreds of airlines, plus bookable hotel rates.
Agent context flight recorder: restore after compaction, fan-out packs, signed git-bound receipts.
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
SettingsDeveloperEdit Config
{
"mcpServers": {
"lossless-context": {
"command": "npx",
"args": [
"-y",
"lossless-context-mcp"
]
}
}
}用 Lossless Context MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Lossless Context MCP,或回答中出现 Lossless Context MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Lossless Context MCP
Lossless Context MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Lossless Context MCP 的应用
B · 旅行、地图与天气 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user lossless-context -- npx -y lossless-context-mcp应能看到 Lossless Context MCP 在列表中并显示已连接
用 Lossless Context MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Lossless Context MCP,或回答中出现 Lossless Context MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
用 Lossless Context MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Lossless Context MCP,或回答中出现 Lossless Context MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
用 Lossless Context MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Lossless Context MCP,或回答中出现 Lossless Context MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user lossless-context -- npx -y lossless-context-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"lossless-context": {
"command": "npx",
"args": [
"-y",
"lossless-context-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lossless-context": {
"command": "npx",
"args": [
"-y",
"lossless-context-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"lossless-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lossless-context-mcp"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
注册名称已通过 GitHub 账户 NORTHTEKDevs 验证,该账户拥有此仓库
代码最后更新于2个月前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于2个月前,最新版本(2.0.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:LetsFG — Flights & Hotels, Google Maps MCP Server, Mu
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Search and book flights and hotels: hundreds of airlines, plus bookable hotel rates.
18 Google Maps tools for AI agents — geocode, search, directions, weather, and more.
News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The flight recorder for your agent's context. A persistent, hook-fed ledger of every file version your coding agent was shown — so a compaction can't destroy the working set, a subagent fleet doesn't pay for the same files N times, and you can *prove* afterward exactly what the model saw.
┌──────────────────────┐
ledger reads ──────▶│ │──▶ RESTORE working set survives /compact (read_file, MCP) │ flight recorder │──▶ PACKS one cache-cached prefix for a fan-out fleet transcript sweeps ─▶│ (content-addressed │──▶ RECEIPTS signed, git-bound "what did it see" (native Read/Edit) │ archive on disk) │──▶ METERING where the read tokens went, in dollars └──────────────────────┘
Compaction destroys your agent's working set. Not anymore — sweep at PreCompact, manifest injected after, blind edit *blocked*, working set restored, edit allowed:
Two agents, one file — air traffic control. The second agent is stopped mid-clobber, with the culprit named:
Every line in these recordings is genuine output from the shipped code — the demos are generated by docs/demo/make-demo.mjs, which drives the real hooks and server and renders what they actually said. Re-run it yourself.
When Claude Code compacts, roughly two-thirds of a typical context is tool output — mostly file contents — and compaction discards it permanently. The model then flails: re-reading files it half-remembers, or worse, guessing at contents it no longer has (#27242 is the ask, at 80 👍).
The flight recorder closes the loop automatically:
Read/Edit/Write included, not just MCP reads), then writes a ranked working-set manifest. Fast enough to sit on the compaction path — one real 14 MB transcript swept in 361 ms; measure yours: node bench/sweep-bench.mjs .Cross-*session* memory tools (claude-mem and friends) summarize what happened for the next session. This is the complementary, mid-session layer: file-version-exact recovery of what you were just working on.
The recorder knows exactly which file versions the model has actually seen this context epoch. A PreToolUse hook uses that to stop the two ugliest edit failures *before the write lands*:
Fail-open by construction: any doubt (unparseable transcript, partial reads, files the model itself just edited, oversized files) → the edit proceeds untouched. Disable anytime with LOSSLESS_GUARD=off.
Run two agent sessions on one repo and they clobber each other blind: B edits a file A read ten minutes ago; A edits from its stale copy; the merge is garbage and neither notices. Nothing on the market mediates this locally — but the recorder already knows, per session, what each agent holds and edits. v2 makes that knowledge active:
~/.lossless-context/presence/, one file per process, no daemon, no locks). Another agent editing the same file seconds later is denied with the culprit named: *"agent session 3f2a91b0 started an edit on this file 12s ago and it may not have landed yet."* Covers sibling subagents of the same session too.coordination_status shows every visible agent session, what it's been editing, and which files have cross-session or in-flight activity.Honest limits: advisory, not locking. Sessions without the hooks are invisible, a same-second race can still slip through, and presence files are unauthenticated local JSON — any local process could fabricate one to cause false *denies* (structurally never a false allow; presence can only add deny classes). An intent whose edit is then declined at the permission prompt lingers up to LOSSLESS_COORD_INTENT_SECS (90 s) before expiring. It substantially narrows the concurrent-clobber window; it cannot close it, and how much it catches in practice is not yet measured. LOSSLESS_COORD=off disables coordination independently of the guard. (The guard's compaction tracking is session-scoped; only the dedup engine uses the machine-global epoch file, where a cross-session bump merely costs one conservative full re-send.)
Fan-outs are where token waste actually lives. Measured across 195 real multi-agent runs: 19.6% of all subagent `Read` tokens were duplicate reads of identical content by sibling agents (5.18M of 26.4M tokens) — every sibling starts cold and reads the same CLAUDE.md, the same spec, the same core modules.
export_pack ranks the archive's cross-session read history for stable hot files and renders them as one deterministic block for a custom agent-type's system prompt. The block is a stable prefix, so the whole fleet hits the provider prompt cache on it. On a real review fan-out this measured 46.55% cheaper than baseline — and the same pack injected per-task measured 19.6% *worse* (every sibling cache-writes it), which is why the tool tells you where to put it. Both numbers were measured externally on one real corpus, not by a harness in this repo — exact figures, method, and that caveat are in BENCHMARK.md. Generate the pack once per run and embed it verbatim: ranking follows live read history, so repeated export_pack calls can differ.
context_blame (also a CLI: lossless-context-mcp blame ) answers the debugging question every agent incident report wishes it could: for a given file, every content version the model was shown (SHA-256 + git blob SHA-1, first/last seen, capture source, sessions) and what else was in context around a chosen moment. When an agent produces a wrong change, you query the recording instead of arguing with the agent's self-report.
Observability vendors capture what your agent read into mutable trace stores. Nobody signs it or binds it to repo identity — and agent self-reports are not evidence (ask anyone whose agent claimed it "verified" something it never read).
context_receipt issues an HMAC-SHA256-signed attestation: every file/view shown, the SHA-256 of every content version, the git blob SHA-1 of each version (so any verifier with a clone can check git cat-file -e — was this ever committed?), repo HEAD at issue time, delivery kinds, token totals, and an explicit coverage statement of which capture paths it attests (mcp, and transcript-sweep with include_sweep). By default it signs with the same key file as trust-mcp receipts, so one key verifies a full evidence chain: *what the agent saw + what it did*.
The honest scope: a receipt attests what passed through the ledger and sweeps — it never claims coverage of unmediated paths, and says so in its own coverage.note.
context_stats shows where the session's file-read tokens went — per repo, per file, in dollars, counted with a real tokenizer.
Reality check, kept from earlier versions because it's true: as an intra-session
token saver this measures ~0% on real Claude Code transcripts (+0.4% with the
never-lose engine; the native file-state cache already ate the opportunity — full data
in BENCHMARK.md). The savings that DO exist are cross-agent (packs,
above). Read-path dedup remains because it is provably lossless and never negative —
not because it will save you much on its own.
npm i -g lossless-context-mcp
lossless-context-mcp init # wires all hooks into ~/.claude/settings.json claude mcp add lossless-context --scope user -- lossless-context-mcp
init is idempotent (re-run it after upgrades — it updates paths instead of duplicating), backs up your settings file first, refuses to touch a settings file it can't parse, and never removes hooks that aren't its own. --dry-run previews. It wires:
sweep-transcript.mjs (PreCompact + SessionEnd) — captures the working set + exact versions; bumps the dedup epoch on PreCompact; never blocks compaction.inject-manifest.mjs (SessionStart, matcher compact) — injects the recovered working-set manifest after a compaction.reset-epoch.mjs (SessionStart) — keeps read dedup lossless across new sessions.guard-edit.mjs (PreToolUse, Edit|Write|MultiEdit) — the blind-edit guard (LOSSLESS_GUARD=off disables without unwiring).Restart Claude Code after init. Without the hooks everything still works — you just lose automatic native-tool capture, post-compaction injection, and the guard; the ledger then records MCP reads only.
| Tool | What it does |
|---|---|
read_file(path, symbol?, lines?, force_full?) | Lossless read: full / unchanged-marker / diff. Optional single-symbol or lines:"40-90" views. Refuses binary files. |
read_files(paths[], force_full?) | A working set in one call; per-file errors don't fail the batch. |
working_set(limit?) | Heat-ranked table of what the recorder knows this session (+ last 24h), with staleness vs disk. |
restore_context(files?, budget_tokens?) | Re-emit the working set after compaction — manifest top-K by default, budget-capped, change-annotated. |
export_pack(repo?, top?, budget_tokens?, days?) | Deterministic fan-out context pack from cross-session read history, for an agent-type system prompt. |
context_blame(path, at?, window_minutes?) | Forensics: every version of a file the model was shown, plus co-context around a moment. Also: lossless-context-mcp blame from the shell. |
coordination_status() | The radar: visible agent sessions, their recent edits, cross-session and in-flight files. |
outline(path) | Cheap structural map of a file (declarations only). |
| context_stats() | Token/dollar b