# MemoryBrain

MemoryBrain is an MCP server for Claude Code and other AI coders that helps manage personal knowledge. It activates when you need to find, connect, or validate notes within your knowledge vault.

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

## What it does

The MemoryBrain MCP server provides AI agents with access to the Open Brain framework, designed for building and maintaining personal knowledge vaults. It addresses the scaling problem where large numbers of notes become difficult to find and utilize. The framework helps in discovering, connecting, keeping alive, and testing information, turning it into actionable output.

Open Brain consists of three main parts: `docs/`, which explains the framework; `skills/` for Claude Code, implementing it on a Markdown vault; and `engines/`, which are Python scripts for deterministic tasks like graph building, retrieval logging, and health checks. Running the engines requires Python 3.9 or newer, with `pyyaml` being an optional dependency for some informational checks.

MemoryBrain connects to AI coders as a remote MCP connector via `https://app.memorybrain.ai/mcp`. It helps maintain the vault's health, identify contradictions, find orphan notes, and evaluate the quality of connections, which is crucial for large knowledge bases.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Remote server: `https://app.memorybrain.ai/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http memorybrain https://app.memorybrain.ai/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add memorybrain --url https://app.memorybrain.ai/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "memorybrain": {
            "url": "https://app.memorybrain.ai/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "memorybrain": {
            "type": "http",
            "url": "https://app.memorybrain.ai/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http memorybrain https://app.memorybrain.ai/mcp
```

## When to use it
- Notes become harder to find as the vault grows
- Search terms lose their discriminative power
- Knowledge graph connections lack semantic meaning
- Knowledge doesn't become skill without active recall

## Example prompts
- Find contradictions in my notes on `Habit Formation`
- Generate a health report for my knowledge vault
- Help me expand this note using related data from my brain

## Similar
- [Obsidian Automation](https://affpapa.org/en/nevibecode/skills/obsidian-automation.md) — skill · 5000 installs
- [llm-wiki](https://affpapa.org/en/nevibecode/plugins/llm-wiki.md) — plugin · ★ 30251 repo stars
- [vault-pkm](https://affpapa.org/en/nevibecode/plugins/vault-pkm.md) — plugin · ★ 16 repo stars
- [twitter-reader](https://affpapa.org/en/nevibecode/skills/twitter-reader.md) — skill · 3400 installs
- [obsidian-kb-artifacts](https://affpapa.org/en/nevibecode/skills/obsidian-kb-artifacts.md) — skill · 328 installs
- [LINZA](https://affpapa.org/en/nevibecode/mcp/linza.md) — MCP server · ★ 4 repo stars

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