# RemembrallMCP

Maintains cross-session memory and maps code dependencies down to struct fields in PostgreSQL with pgvector. Cuts repetitive agent exploration on large codebases.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 35
- Author: roboticforce
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/roboticforce/remembrallmcp
- Updated: 2026-07-28
- HTML: https://affpapa.org/en/nevibecode/mcp/remembrallmcp

## What it does

RemembrallMCP runs on Rust and builds a dependency map across nine languages using tree-sitter. It indexes methods alongside individual struct fields. When checking what a refactor might break, the agent queries `remembrall_impact` instead of scanning dozens of files. The lookup takes under ten milliseconds.

Persistent memory preserves decisions between agent sessions. Architecture choices and notes live in PostgreSQL. The agent retrieves them with hybrid semantic and full-text search, keeping context across reboots.

Running the server without Docker or a configured PostgreSQL 16 instance with `pgvector` will fail immediately. Connecting an MCP client requires passing the `DATABASE_URL` environment variable, while GitHub ingestion requires the authenticated `gh` CLI.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `DATABASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add remembrallmcp -e DATABASE_URL=<DATABASE_URL> -- npx -y remembrallmcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add remembrallmcp --env DATABASE_URL=<DATABASE_URL> -- npx -y remembrallmcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "remembrallmcp": {
            "command": "npx",
            "args": [
                "-y",
                "remembrallmcp"
            ],
            "env": {
                "DATABASE_URL": "<DATABASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "remembrallmcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "remembrallmcp"
            ],
            "env": {
                "DATABASE_URL": "<DATABASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e DATABASE_URL=<DATABASE_URL> remembrallmcp npx -y remembrallmcp
```
Replace <…> with your own values

## When to use it
- trace upstream references down to specific struct fields
- retain architectural decisions across agent sessions
- inspect change impact without reading dozens of files
- retrieve past project context via hybrid search

## Example prompts
- Run `remembrall_impact` to list callers of `AuthMiddleware`
- Search past token discussions using `remembrall_recall`
- Index the current project directory with `remembrall_index`

## Similar
- [codegraph](https://affpapa.org/en/nevibecode/mcp/codegraph.md) — MCP server · ★ 132
- [rpg-encoder](https://affpapa.org/en/nevibecode/mcp/rpg-encoder.md) — MCP server · ★ 31
- [ai-architect-mcp-codebase](https://affpapa.org/en/nevibecode/mcp/ai-architect-mcp-codebase.md) — MCP server · ★ 7
- [grepai-storage-postgres](https://affpapa.org/en/nevibecode/skills/grepai-storage-postgres.md) — skill · 553 installs
- [hypermnesia-mcp](https://affpapa.org/en/nevibecode/mcp/hypermnesia-mcp.md) — MCP server · ★ 75
- [Memory Vault](https://affpapa.org/en/nevibecode/mcp/memory-vault.md) — MCP server · ★ 65

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