# Levirge Brain

Levirge Brain gives AI agents shared MCP memory for knowledge, tasks, and handoffs. Use it when context must carry across sessions.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: levirge
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/levirge/brain
- Updated: 2026-10-17
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/levirge-brain

## What it does

Levirge Brain is a hosted knowledge base that agents access through MCP. It stores architecture choices, operating notes, fixes, and other project context, then retrieves them with semantic search and reranking. Responses can be traced to their source material with `/brain:lineage`.

The server also moves work between agents, sessions, and machines through `/brain:handoff`. `/brain:start` loads task context, while `/brain:finish` saves what the session learned. Agents can send `feedback` verdicts so retrieval reflects actual working patterns. OAuth sign-in is required on the first connection, so adding the server URL alone does not finish setup.

## Requirements
- Remote server: `https://brain.levirge.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http brain https://brain.levirge.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add levirge-brain --url https://brain.levirge.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "levirge-brain": {
            "url": "https://brain.levirge.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "levirge-brain": {
            "type": "http",
            "url": "https://brain.levirge.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http levirge-brain https://brain.levirge.com/mcp
```

## When to use it
- carry project decisions across agent sessions
- retrieve shared knowledge through MCP
- hand work from one agent to another
- load task context before work begins
- trace an answer back to its source

## Example prompts
- Save this architecture decision to shared memory.
- Hand the current task to another agent with `/brain:handoff`.
- Run `/brain:start` and load the context for this task.

## Similar
- [Levirge Search](https://affpapa.org/en/nevibecode/mcp/levirge-search.md) — MCP server
- [second-brain](https://affpapa.org/en/nevibecode/skills/second-brain.md) — skill · 2900 installs
- [second-brain-query](https://affpapa.org/en/nevibecode/skills/second-brain-query.md) — skill · 2600 installs
- [my-brain-is-full-crew](https://affpapa.org/en/nevibecode/skills/my-brain-is-full-crew.md) — skill · 1100 installs
- [ui-design-brain](https://affpapa.org/en/nevibecode/skills/ui-design-brain.md) — skill · 898 installs
- [obsidian-second-brain](https://affpapa.org/en/nevibecode/skills/obsidian-second-brain.md) — skill · 543 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
