Context7
Up-to-date docs for AI agents
Beschreibung vom Entwickler (englisches Original)
Pre-injection context compression for coding agents. Zero LLM calls, zero telemetry, offline-safe.
Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.
Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
Der Entwickler hat in der Registry keine Installationsangaben gemacht. Sieh dir unten die README des Entwicklers an.
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026
Der Registry-Name wurde mit dem GitHub-Konto ojuschugh1 bestätigt, dem das Repo gehört
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (2.1.1) kam vor 27 Tagen in die Registry.
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Rust auf deinem Computer.
In derselben Kategorie: Context7, Codebase Memory, Exa
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
███████╗ ██████╗ ███████╗ ██╔════╝██╔═══██╗╚══███╔╝ ███████╗██║ ██║ ███╔╝ ╚════██║██║▄▄ ██║ ███╔╝ ███████║╚██████╔╝███████╗ ╚══════╝ ╚══▀▀═╝ ╚══════╝
Pre-injection context compression and session deduplication for AI coding agents
Real session stats: 3,003 compressions · 178,442 tokens saved · 24.7% avg reduction · up to 92% on output the model already has
Docs · Install · How It Works · Supported Tools · MCP Proxy · Benchmark · Changelog · Discord
English | 简体中文 | 日本語 | 한국어 | Español | Português (Brasil)
AI coding agents spend most of their input tokens on tool output: build logs, test runs, git status, the same file read again after every edit. All of it goes into the context window raw, and it is re-sent on every turn after that.
sqz compresses tool output before it enters the context. Per-command formatters keep what an agent acts on (the failing test, the assertion, the file:line) and drop what it does not. Anything the model already has in context comes back as a short reference instead of the content. Source code passes through unchanged, and so do stack traces, migrations and credential lines.
cargo install sqz-cli sqz-mcp # or: brew install ojuschugh1/sqz/sqz · npm i -g sqz-cli · pipx install sqz
sqz init # hooks + MCP server + agent guidance for every client it finds
Real output from the release binary ( assets/demo.tape ). Regenerate with vhs assets/demo.tape .
Without sqz: With sqz:
cat auth.py (200 lines): 1,300 tokens 1,300 tokens (source is served in full) cargo test (1 failure): 366 tokens 185 tokens (failure, assertion, file:line) sed -n '41,80p' auth.py: 260 tokens 35 tokens (§ref:…:L41-80§ to the read above) git status, unchanged: 166 tokens 37 tokens (§ref:…§) ───────────────────────────────────── ───────────── Total: 2,092 tokens 1,557 tokens (26% saved, nothing dropped)
Single Rust binary, deterministic, no LLM calls, works offline. Every compressed result can be recovered byte-exact with sqz expand, except output that mentions credentials, a stack trace or a migration, which sqz never caches.
[!NOTE]
Name disambiguation: this repo, ojuschugh1/sqz, is an independent project and is not affiliated with any other similarly named or working tool or other compression projects that shorten "squeeze". If you installed
sqz/sqz-cli/sqz-mcpfrom crates.io, npm, PyPI, or Homebrew, it comes from this repository.
24.7% average reduction across 3,003 real compressions ·
13-token refs for output the model already has ·
100% of agent-critical facts kept in the quality benchmark ·
0% on source code, and on stack traces and credential lines
One developer's week, measured from actual sqz gain output:
$ sqz gain
sqz token savings (last 7 days) ────────────────────────────────────────────────── 04-13 │ │ 2,329 saved 04-14 │ │ 0 saved 04-15 │███ │ 12,954 saved 04-16 │██ │ 9,223 saved 04-17 │████ │ 14,752 saved 04-18 │██████████████████████████████│ 105,569 saved 04-19 │████████ │ 30,882 saved 04-20 │█ │ 4,334 saved ────────────────────────────────────────────────── Total: 3,003 compressions, 178,442 tokens saved (24.7% avg reduction)
Single-command compression (measured via cargo test -p sqz-engine benchmarks):
| Content | Before | After | Saved |
|---|---|---|---|
| Repeated log lines | 148 | 39 | 74% |
| Large JSON array | 259 | 111 | 57% |
| JSON API response | 64 | 53 | 17% |
| Git diff | 61 | 54 | 11% |
| Prose/docs | 124 | 122 | 2% |
| Stack trace (safe mode) | 82 | 82 | 0% |
Anything the model already has in its context comes back as a reference. Measured with the release binary against a throwaway database, using the fixtures in sqz/tests/quality_bench.rs and demo/, in cl100k tokens of everything the agent sees (the reference plus sqz's one-line note on stderr):
| Repeat | Without sqz | With sqz | Saved |
|---|---|---|---|
Unchanged git status run again | 166 | 37 | 78% |
| Lines 41-80 of a 200-line file read earlier | 260 | 35 | 87% |
Same cargo test output, nothing changed | 366 | 39 | 89% |
A word on what actually repeats. A user who counted 92 of their own Claude Code sessions (script) found identical whole-file re-reads in 1 of 542 reads, and line-range re-reads in 8.4% of them. So sqz does not lead with "the same file read five times": the repeats that happen in practice are unchanged command output, line ranges of a file already read, and files re-read after a small edit, and each has its own reference type (details). Sessions with noisy command output and repeated commands see the biggest wins.
Prebuilt binaries (no compiler required — works on every platform):
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/ojuschugh1/sqz/main/install.sh | sh
irm https://raw.githubusercontent.com/ojuschugh1/sqz/main/install.ps1 | iex
npm install -g sqz-cli
brew tap ojuschugh1/sqz brew install sqz
Build from source via Cargo:
cargo install sqz-cli sqz-mcp
sqz-cli provides the sqz binary; sqz-mcp provides the MCP server. sqz-engine is a library dependency — it compiles automatically and does not need to be installed separately.
Build from source (cargo install sqz-cli) works too, but needs a C toolchain:
build-essential (apt) or equivalentxcode-select --install)cargo install fails with linker link.exe not found. If you don't already have them, use the PowerShell or npm install above instead.Then initialize:
sqz init --global # hooks apply to every project on this machine
sqz init # hooks apply to just this project (.claude/settings.local.json)
--global writes to ~/.claude/settings.json (the user scope per the Anthropic scope table), so the sqz hook fires in every Claude Code session on this machine. This is the common case on first install. Your existing permissions, env, statusLine, and unrelated hooks in ~/.claude/settings.json are preserved — sqz merges its entries rather than overwriting. The entries are its hooks and two allow rules, Bash(set -o pipefail) and Bash(sqz compress --cmd *), which cover only the parts its rewrite adds. sqz does not approve commands; your own permission rules still decide. When Claude Code asks before a rewritten command, or denies it, its message quotes the rewritten command, such as set -o pipefail; git tag v0 2>&1 for git tag v0.
Plain sqz init (project scope) is useful when you want sqz active only inside one repo. If ~/.claude/settings.json already has the sqz hooks, it leaves them out of the project file, since they already run in every project.
After installing, sqz doctor checks the whole chain — binary, database, shell hook, which clients are detected vs actually routed through sqz, and whether anything was compressed recently — and prints the fix for each gap it finds. sqz doctor --fix applies those fixes. After upgrading sqz, run it once: it brings hooks and guidance an older version wrote up to date, removes hook files current sqz no longer uses and a project copy of hooks that ~/.claude/settings.json already has, points hooks whose sqz binary is gone at the running one, and notes any hook that still runs a different sqz binary. sqz uninstall removes only sqz's own entries, deletes a file only when nothing else is left in it, and ends by listing the files it kept. Without a terminal to answer its prompt it needs --yes, like sqz reset.
If you already use Claude Code or Kiro, your transcripts are on disk. Replay them through the sqz engine and get a counterfactual estimate on your own sessions, computed locally with nothing uploaded. From the author's last week of Kiro IDE work, trimmed to the summary:
$ sqz discover --replay
sqz discover — counterfactual replay (last 7 days) ────────────────────────────────────────────────────────
Kiro IDE: 35 sessions, 155 sub-agent runs, advisory
outputs tokens in avoidable shell 6,297 1,917,662 454,028
Nur der Anfang wird gezeigt; den Rest findest du im Repo