Skip to main content
MCP server CX Codex

prelude — Claude Code MCP server: what it does, how to install

Stores repository architecture, constraints, and import graphs inside .context/. Guides agents to matching files and test suites.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add prelude -- npx -y prelude-context
Open on GitHub

What prelude does

The tool inspects a repository and writes structured JSON summaries into a local .context/ folder. It maps imports, records decisions, tracks constraints, and lists core entry points. Supported environments include TypeScript, JavaScript, Python, Go, and Rust.

Everything runs locally. It avoids vector databases, embeddings, and third-party network services, relying purely on regex heuristics. For execution, you need Node.js >= 20.19.

When agents plan an edit, the server points out dependent files, hub modules, and relevant tests to run. Teams commit the generated context to git so project memory survives across separate sessions.

What it helps with

  • locate source code and matching tests for a prompt
  • inspect import dependencies before modifying a file
  • keep architectural rationale committed in git
  • preserve project constraints across different sessions

Example prompts for the agent

  • Find modules responsible for state merging during updates
  • Show test coverage and dependents for src/core/merger.ts
  • Record an architectural decision about parser rules

How to install prelude

Platform CLI

claude mcp add prelude -- npx -y prelude-context

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about prelude

How to install prelude in Claude Code?

Run claude mcp add prelude -- npx -y prelude-context in your terminal. This configures the MCP server via npx.

What does prelude do?

It gives AI agents committed project context and an import graph from .context/. The agent discovers why code exists, what depends on it, and which tests cover it.

Does prelude send code to external services?

No, it makes zero network calls and builds no vector embeddings. All parsing runs on your local machine.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor