Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Lain

von spuentespVersion 0.10.0i★ –iLäuft auf deinem Computer
Name in der Registryio.github.spuentesp/lain

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

High-performance knowledge graph MCP server for AI coding agents with semantic search.

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Suche & KI-Gedächtnis

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Die Registry nennt keinen Schlüssel zum Eintragen.

Du brauchst

  • npmNode.js installiert (für den Befehl npx)

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": {
    "lain": {
      "command": "npx",
      "args": [
        "-y",
        "@spuentesp/lain-mcp"
      ]
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add lain -- npx -y @spuentesp/lain-mcp

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "lain": {
      "command": "npx",
      "args": [
        "-y",
        "@spuentesp/lain-mcp"
      ]
    }
  }
}

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 VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "lain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@spuentesp/lain-mcp"
      ]
    }
  }
}

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.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

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 6. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto spuentesp bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Suche & KI-Gedächtnisi

  • Mehr Sterne als 0 % der anderen 7231 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 62 % der anderen 7231 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 7231 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Lain sicher?

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.

Welche Schlüssel oder Codes braucht er?

Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.

Läuft er auf meinem Computer oder in der Cloud?

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).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.10.0) kam vor 23 Tagen in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Context7, Codebase Memory, Exa

Alternativen

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

Context7

von upstash

Up-to-date docs for AI agents

Computer oder Cloud★ 64.224MITAktualisiert vor 3 Tagen
Installieren

Codebase Memory

von DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

Läuft auf deinem Computer★ 48.148MITAktualisiert vor 20 Tagen
Installieren

Exa

von exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Läuft in der Cloud★ 5.213MITAktualisiert vor 44 Tagen
Installieren

README vom Entwickler

README öffnen

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.

Lain

A code graph for coding agents. Lain maps callers, dependencies, symbols, and Git co-changes, then exposes them through the Model Context Protocol (MCP). Before an agent edits a function, it can inspect what depends on it and how the rest of the code reaches it.

The demo traces a symbol across the bytes and tokio repositories. Agents query the same graph through MCP; the browser shows what Lain indexed and where an answer came from.

Ask your agent:

If I change validate_token, what breaks?

Show me the call chain from entry to helper_a. Which files usually change with auth.rs? Is another agent already editing this code?

Lain answers with symbol names and source paths from a local index. The index stays on disk between runs and can cover more than one repository. It follows commits, not uncommitted edits: after committing, a re-index pass (lain reindex or a fresh session) brings it current — and answers that may miss recent work say so instead of going quiet. Semantic search is optional; graph queries work without an embedding model.

Install

Using the release installer:

curl -fsSL https://raw.githubusercontent.com/spuentesp/lain/main/install.sh | bash

source ~/.zshrc # or ~/.bashrc lain --version

Or from npm (macOS, Linux, and x64 Windows):

npm install -g @spuentesp/lain-mcp

lain --version

Two npm notes:

  • npm install -g fails with EEXIST when an unrelated lain file already sits in npm's global bin directory — for example an older manual copy in ~/.local/bin when your npm prefix is ~/.local. The npm error itself cannot tell the file is unrelated; move or remove it, or install under a different prefix: npm install -g --prefix ~/.local/lain-npm @spuentesp/lain-mcp (then add ~/.local/lain-npm/bin to your PATH).
  • If npm install scripts were disabled (--ignore-scripts, a locked-down CI), the platform binary is not fetched during install. The first lain run downloads and verifies it, so that first run needs network access; once cached, lain works offline.

Rust 1.89 or newer is only needed when building from source. The quickstart covers non-interactive installation and the optional local embedding model.

Connect an agent

Run one setup command from the repository you want Lain to index:

lain setup --agent claude-code

lain setup --agent codex lain setup --agent cursor lain setup --agent vscode lain setup --agent continue

Use lain setup --agent generic for another MCP host. Each adapter writes the client's own configuration — claude mcp add for Claude Code, ~/.codex/config.toml for Codex, ~/.cursor/mcp.json for Cursor, .vscode/mcp.json (or the user-scoped mcp.json) for VS Code, a block file under the repository's .continue/mcpServers/ for Continue. generic writes this project-level .mcp.json:

{

"mcpServers": { "lain": { "command": "/home/you/.local/lain/lain", "args": ["mcp"] } } }

command is always the absolute path of the lain binary that ran setup — not the bare name — so the agent runs the same binary no matter which PATH it inherits. That path depends on the install: the release installer puts the binary at ~/.local/lain/lain, while the npm package registers the verified cache binary it launches (~/.cache/lain/ / /lain on Linux, ~/Library/Caches/lain/… on macOS, %LOCALAPPDATA%\lain\Cache\… on Windows). Setup finishes by starting exactly that command once and verifying the MCP handshake.

On a terminal, lain setup without --agent asks which client to configure (Enter picks Claude Code), and without --lsp asks which optional language servers to install (Enter installs none). Non-interactive runs default to generic and no language servers, so scripts should pass --agent and --lsp explicitly.

Restart the agent after setup. Lain walks up from the agent's working directory to find .git, builds .lain/graph.bin, and serves the repository over stdio. No repos.yaml is needed for one repository.

Languages

Parsers for Rust, Python, TypeScript, JavaScript, Go, Java, C, C++, C#, Ruby, Swift, Kotlin, Scala and PHP are built into the binary, as are the blocks of Vue and Svelte components. Every one gets definitions and a call graph with nothing else installed.

Language servers are optional and only add precision. lain setup lists the languages it found and asks which servers to install; pressing Enter installs none. Non-interactive runs install none unless you name them:

lain setup --lsp python,go      # just these

lain setup --lsp detected # every missing one for this repository lain setup --lsp none

First query

Ask the connected agent:

Use Lain to show the blast radius of validate_token.

Or call the same tool from a terminal:

lain oneshot get_blast_radius validate_token

Use a symbol from your repository in place of validate_token. If the graph isn't ready or an answer looks stale, run lain doctor.

Multiple repositories

lain repos add bytes https://github.com/tokio-rs/bytes.git

lain repos add tokio https://github.com/tokio-rs/tokio.git lain workspaces create tokio-stack --members bytes,tokio lain server --config ./repos.yaml --transport http --port 9999

Open http://localhost:9999 for the Command Center. The server listens on localhost only; set LAIN_BIND_ADDR=0.0.0.0 (with LAIN_API_KEYS=key1,…) to expose it on the network. Federation adds organization-wide search and cross-repository blast-radius queries. The federation guide covers configuration, source types, and failure states. After a federation schema upgrade, run lain reindex to rebuild the on-disk graph from the sources.

Check the graph

From a source checkout:

scripts/demo.sh --quick

The script creates a small repository with a known call graph, starts a real Lain server, and compares the answers with that graph. It exits non-zero when a check fails. A full run also records timings against this repository.

What Lain provides

NeedTool or feature
See callers before changing a symbolget_blast_radius, assess_change
Trace how two functions connectget_call_chain
Find architectural entry pointsfind_anchors, list_entry_points
Search by name or meaningfind_symbol, search_code
Follow a symbol across repositoriesget_cross_repo_blast_radius, search_org
Keep agents from editing the same code blindlyintents, presence, and advisory file claims

Static analysis can't prove every dynamic call through a message bus, dependency injection container, or reflective router. explain_dispatch combines static callers with convention matches, runtime traces, and Git co-change evidence; an empty result becomes insufficient_evidence, not a claim that the edit is safe.

Documentation

Start hereCovers
QuickstartInstallation, first query, and first aid
User manualCLI reference, tuning, operation, and troubleshooting
Tool guideMCP tools, arguments, outputs, and limits
Skill bundleAgent-loadable skills and role recipes
FederationMulti-repository configuration and queries
MultiplayerAgent presence, intents, claims, and hooks
ArchitectureGraph construction and design choices
Documentation indexEvery maintained document

Project status

License

MIT — Copyright (c) 2026 spuentesp

PopNx fragen