# CommitLore

CommitLore keeps team decisions in Git and gives agents the rules that still apply to the file path they are about to change. It helps prevent rejected approaches from returning.

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

## What it does

CommitLore records constraints, discarded options, and warnings that the code itself cannot explain. It separates current, replaced, and expired records, selects entries relevant to a path such as `src/pricing.ts`, and supplies that context through MCP or a plugin hook. The information guides an agent; it does not stop an edit.

Records live in Git trailers or notes, while SQLite serves as a rebuildable index. Candidate entries are checked against the session transcript and staged diff, then delivered with a trust level such as claim, directive, or withheld content. Installation requires Node.js 22.23.2+ and Git; the installer checks both before writing files.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- preserve why an approach was rejected
- show an agent constraints for one file path
- separate current decisions from superseded ones
- keep an agent from reviving a discarded option
- store decision context with Git history

## Example prompts
- Check the active decisions for `src/pricing.ts` before editing it.
- Record the rejected approach and its reason with `commitlore capture`.
- Run `commitlore init`, then retrieve the context for the current path.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74559
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433

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