# linksee-memory

Local SQLite memory MCP server that passes architecture decisions between agent sessions and flags drift in your codebase.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 15
- Author: michielinksee
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/michielinksee/linksee-memory
- Updated: 2026-09-09
- HTML: https://affpapa.org/en/nevibecode/mcp/linksee-memory

## What it does

The server logs project decisions and caveats inside a local SQLite database. When starting a fresh session, the agent retrieves active guidelines using `recall()`. The tool surfaces locked constraints before file edits or write actions occur, preventing the model from reintroducing discarded patterns.

Built-in drift tracking matches code against recorded decisions using visual status indicators. Several environments like Claude Code and Cursor share the identical database. Everything runs strictly on your machine. No external cloud credentials are required.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add linksee-memory -- npx -y linksee-memory
```

### Codex

**Platform CLI**
```bash
codex mcp add linksee-memory -- npx -y linksee-memory
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "linksee-memory": {
            "command": "npx",
            "args": [
                "-y",
                "linksee-memory"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "linksee-memory": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "linksee-memory"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add linksee-memory npx -y linksee-memory
```

## When to use it
- retain architecture decisions across fresh Claude Code sessions
- prevent agents from re-implementing rejected ideas
- share persistent decisions across Claude Code and Cursor
- audit codebase drift against written specifications

## Example prompts
- Check linksee and show active caveats before modifying the database schema
- Remember this architectural constraint in linksee so future sessions do not revert it
- Check what is drifting between current code and locked decisions

## Similar
- [State Memory MCP](https://affpapa.org/en/nevibecode/mcp/state-memory-mcp.md) — MCP server · ★ 39
- [neverinfamous-memory-journal-mcp](https://affpapa.org/en/nevibecode/mcp/neverinfamous-memory-journal-mcp.md) — MCP server · ★ 20
- [Lians Agent Memory](https://affpapa.org/en/nevibecode/mcp/lians-agent-memory.md) — MCP server · ★ 16
- [Global Agent Memory](https://affpapa.org/en/nevibecode/mcp/global-agent-memory.md) — MCP server · ★ 14
- [sqlite-graph-memory](https://affpapa.org/en/nevibecode/mcp/sqlite-graph-memory.md) — MCP server · ★ 12
- [Mneme Memory](https://affpapa.org/en/nevibecode/mcp/mneme-memory.md) — MCP server · ★ 182

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