DecRec — Claude Code MCP server: what it does, how to install
Cross-agent decision memory that records consequential engineering choices and recalls them across separate working sessions.
claude mcp add --transport http decrec https://decrec.io/mcpWhat DecRec 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.
What it helps with
- 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 for the agent
- 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.
How to install DecRec
Platform CLI: remote server
claude mcp add --transport http decrec https://decrec.io/mcpPlatform CLI: remote server
codex mcp add decrec --url https://decrec.io/mcpConfig file
{
"mcpServers": {
"decrec": {
"url": "https://decrec.io/mcp"
}
}
}Config file
{
"servers": {
"decrec": {
"type": "http",
"url": "https://decrec.io/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http decrec https://decrec.io/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about DecRec
How to install DecRec in Claude Code?
Run claude mcp add --transport http decrec https://decrec.io/mcp in your terminal.
What does DecRec do?
It provides an external memory of major engineering choices, allowing different assistants to understand previous constraints before altering code.
Does the agent commit decisions automatically?
No, the agent only suggests entries when an architectural discussion reaches a conclusion. A human developer must explicitly approve every saved record.