# Prelude

> Prelude is an open-source MCP server. Committed, machine-readable codebase context and code map that tells agents where to look. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/adjective-rob/prelude
- **MCP Registry name:** io.github.adjective-rob/prelude
- **Listing updated:** 2026-10-04

## About

Committed, machine-readable codebase context and code map that tells agents where to look.

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "prelude": {
      "command": "npx",
      "args": [
        "-y",
        "prelude-context"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "prelude": {
      "command": "npx",
      "args": [
        "-y",
        "prelude-context"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "prelude": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "prelude-context"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "prelude": {
      "command": "npx",
      "args": [
        "-y",
        "prelude-context"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "prelude": {
      "command": "npx",
      "args": [
        "-y",
        "prelude-context"
      ]
    }
  }
}
```

## FAQ

### Is Prelude free?

Yes. Prelude is open source, so you can use and self-host it for free.

### How do I add Prelude to Claude Code?

Run this command in your terminal: claude mcp add prelude -- npx -y prelude-context

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/prelude
