Context7
Up-to-date docs for AI agents
Beschreibung vom Entwickler (englisches Original)
Semantic + structural code search MCP server for AI-native development.
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.
SENSEGREP_ROOT, SENSEGREP_PROVIDER, GEMINI_API_KEYAls geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.
Du brauchst
Welche App nutzt du?
Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.
Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein
{
"mcpServers": {
"sensegrep": {
"command": "npx",
"args": [
"-y",
"@sensegrep/mcp"
],
"env": {
"SENSEGREP_ROOT": "your-value",
"SENSEGREP_PROVIDER": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}Führe das in deinem Terminal aus
claude mcp add sensegrep --env SENSEGREP_ROOT=your-value --env SENSEGREP_PROVIDER=your-value --env GEMINI_API_KEY=your-value -- npx -y @sensegrep/mcpTrag die leeren Werte ein, bevor du ihn startest.
In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen
{
"mcpServers": {
"sensegrep": {
"command": "npx",
"args": [
"-y",
"@sensegrep/mcp"
],
"env": {
"SENSEGREP_ROOT": "your-value",
"SENSEGREP_PROVIDER": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
In .vscode/mcp.json in deinem Projekt einfügen
{
"servers": {
"sensegrep": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sensegrep/mcp"
],
"env": {
"SENSEGREP_ROOT": "your-value",
"SENSEGREP_PROVIDER": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.
Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.
SENSEGREP_ROOT envSENSEGREP_PROVIDER envDiese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
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 Stahldavid 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.
Das musst du eintragen: GEMINI_API_KEY
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 (1.5.3) kam vor 5 Monaten in die Registry.
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js 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.
semantic grep for AI coding agents
sensegrep understands your code semantically. Instead of matching text patterns, it uses AI embeddings and tree-sitter AST parsing to find code by *meaning* - so you can search for "authentication logic" and actually find your auth functions, even if they never contain the word "authentication".
AI agents should not read more code, they should read the right code. sensegrep combines semantic search, exact matching, and AST-aware structural retrieval to deliver smaller, more relevant context.
For agent routing, search is the default for discovery: questions about behavior, concepts, structure, or where/how something is implemented. Use literal only for a known exact string or regex, an exhaustive occurrence audit, or verification/refinement after semantic discovery. If the intent is ambiguous, start with search.
MP4 fallback: assets/time-to-value.mp4
Watch full product demo (25s): assets/time-to-value-full.mp4
Traditional search tools (grep, ripgrep, ast-grep) match text patterns. sensegrep matches concepts:
| Feature | grep/ripgrep | ast-grep | sensegrep |
|---|---|---|---|
| Exact text match | Yes | Yes | Yes (via --pattern) |
| AST-aware | No | Yes | Yes (tree-sitter) |
| Semantic search | No | No | Yes (AI embeddings) |
| Symbol metadata filters | No | Partial | Yes (30+ filters) |
| Duplicate detection | No | No | Yes (logical duplicates) |
| Tree-shaking output | No | No | Yes (collapse irrelevant code) |
| MCP server for AI agents | No | No | Yes |
Optional remote evaluation: Jev setup, evidence-aware reranking, group labels and duplicate judgments. It is off by default and works alongside local Ollama embeddings.
The fastest way to get sensegrep into Claude Code — zero configuration:
claude plugin marketplace add Stahldavid/sensegrep
claude plugin install sensegrep
This automatically sets up the MCP server and teaches Claude when and how to use sensegrep instead of grep. No manual JSON editing required.
Marketplace setup (required on first install):
`bash
claude plugin marketplace add Stahldavid/sensegrep
claude plugin install sensegrep
`
After the marketplace has been added once, the explicit marketplace form also works:
`bash
claude plugin install sensegrep@sensegrep
`
Running
claude plugin install sensegrep@sensegrepon a fresh machine beforeclaude plugin marketplace add Stahldavid/sensegrepwill fail because Claude Code does not know thesensegrepmarketplace yet.
npm i -g @sensegrep/cli
sensegrep selftest --root .
ollama pull qwen3-embedding:0.6b sensegrep index --root .
sensegrep search "error handling and retry logic" --type function --exported --exclude "*.md"
sensegrep literal "X-Goog-Message-Number" --include "src/**"
sensegrep search "authentication flow" --purpose understand --json sensegrep show --before 10 --after 20
sensegrep literal "TODO:" --filesystem --max-output-bytes 50000 --json
sensegrep audit "security regressions" --base origin/main --require-coverage --continue-uncovered --batch-tokens 4000 --max-total-tokens 8000 --max-output-bytes 32000 --max-batches 8
sensegrep survey "authentication login token" --language typescript --limit 4
sensegrep cluster "checkout payment order cart" --limit 4
sensegrep detect-duplicates --threshold 0.85 sensegrep detect-duplicates --threshold 0.85 --timeout 30s --resume-cursor 0 --json
Agent-facing JSON is minified and minimal by default. Opt into --json-detail content, --diagnostic, --json-detail full, or --pretty only when that additional payload is needed. Schema v2 uses one card vocabulary across transports: id, file, lines, symbol, kind, rank, and relevance. Minimal output keeps retrieval sufficiency, compact index state, and structured warnings; budgets appear only when constrained. Physical output budgets apply to the final serialized JSON and retain a partial evidence card when possible. Duplicate JSON excludes source code unless --show-code is supplied. Survey and cluster JSON default to actionable summary mode with representative IDs.
Install from the Cursor marketplace or via CLI:
cursor plugin install sensegrep
Includes the MCP server, an always-on rule to prefer sensegrep over grep, and a skill with full filter reference. Cursor plugin status: pending marketplace approval.
One-click MCP install link for Cursor:
Fallback deeplink (copy/paste if needed):
cursor://anysphere.cursor-deeplink/mcp/install?name=sensegrep&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBzZW5zZWdyZXAvbWNwQGxhdGVzdCJdfQ%3D%3D
Install from the public marketplace — no manual config:
codex plugin marketplace add Stahldavid/sensegrep
codex plugin install sensegrep
See the Codex recipe for the manual ~/.codex/config.toml setup.
npx -y @sensegrep/mcp
Add to your MCP configuration:
{
"servers": { "sensegrep": { "command": "npx", "args": ["-y", "@sensegrep/mcp"] } } }
Or with npm global install first:
npm install -g @sensegrep/mcp
{
"servers": { "sensegrep": { "command": "sensegrep-mcp" } } }
The MCP server provides canonical sensegrep_search, sensegrep_show, sensegrep_literal, sensegrep_context, sensegrep_survey, sensegrep_cluster, sensegrep_graph, sensegrep_index, and sensegrep_detect_duplicates tools. Legacy dotted names such as sensegrep.search remain available as compatibility aliases where supported.
For terminal-first agents or CI, you don't need an MCP server. Install the CLI and the sensegrep-cli Agent Skill, which teaches the agent to run sensegrep commands directly:
npm i -g @sensegrep/cli
npx skills add Stahldavid/sensegrep --skill sensegrep-cli -g
See docs/agent-skills.md for when to use the MCP tools vs the CLI skill.
Search for "Sensegrep" in the VS Code marketplace, or install from the extension page.
Features: semantic search sidebar, duplicate detection, code lens, semantic folding, and multi-root auto-indexing/watch mode.
Copy-paste setup and practical workflows:
Full index: docs/recipes/README.md
Source Code
│ ▼ ┌─────────────┐ ┌──────────────┐ ┌──────────────┐ │ Tree-Sitter │───▶│ Chunker │───▶│ Embeddings │ │ AST Parser │ │ (symbols + │ │ (Ollama, │ │ │ │ metadata) │ │ Gemini, etc.)│ └─────────────┘ └──────────────┘ └──────────────┘ │ ▼ ┌──────────────┐ Query ──────▶│ LanceDB │ │ Vector Search│ └──────┬───────┘ │ ▼ ┌──────────────┐ │ Tree-Shaker │──▶ Results │ (collapse │ │ irrelevant) │ └──────────────┘
/ semantic support)sensegrep supports 30+ structural filters that can be combined with semantic search:
# Find exported async functions with high complexity
sensegrep search "data processing" --type function --exported --async --min-complexity 5
sensegrep search "user model" --type class --variant dataclass --language python
sensegrep search "business logic" --min-complexity 10 --has-docs false
sensegrep search "route handler" --type function --decorator route
sensegrep search "authentication flow" --include "src/**/*.ts" --exclude "*.md"
sensegrep survey "authentication login token" --language typescript --limit 4
sensegrep cluster "price list commission ncm uf packaging" --language java --include "backend-api/**/*.java"
sensegrep context "authentication request flow" --max-tokens 8000
sensegrep audit "security and regression risks" --base origin/main
sensegrep references loadUser sensegrep impact loadUser --depth 3 sensegrep trace handleRequest loadUser
Graph nodes use canonical file/range identities. Ambiguous same-name call targets are omitted instead of expanded into speculative impact edges.
# Inspect local work before any embedding request
sensegrep index --dry-run --no-watch
sensegrep index --full --no-watch
sen
Nur der Anfang wird gezeigt; den Rest findest du im Repo