# DecRec

Cross-agent decision memory that records consequential engineering choices and recalls them across separate working sessions.

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

## What it does

DecRec tracks core project choices rather than raw chat history or code snippets. It keeps a shared log of chosen approaches, rejected options, and conditions to revisit them. New sessions consult earlier tradeoffs. Access depends strictly on reaching `https://decrec.io/mcp` over HTTP.

The package combines an HTTP MCP server with an operational skill. The server handles storage, updates, and lookups. Meanwhile, the skill prevents queries during routine coding. Retrieval happens strictly at decision boundaries. A human always approves final commitments.

## Requirements
- Remote server: `https://decrec.io/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http decrec https://decrec.io/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add decrec --url https://decrec.io/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "decrec": {
            "url": "https://decrec.io/mcp"
        }
    }
}
```

### GitHub Copilot

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

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http decrec https://decrec.io/mcp
```

## When to use it
- prevent fresh agent chats from reverting past architecture agreements
- log evaluated trade-offs and rationale directly from team notes
- share decision context across different coding tools and editors
- surface historical constraints before major refactoring begins

## Example prompts
- Compare option A against option B, walk through both angles, and draft the decision in DecRec.
- Review these meeting notes, extract the main technical agreements, and stage them for DecRec.
- We committed to approach A over approach B, record that choice in DecRec.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

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