Skip to main content
MCP server CX Codex

CommitLore — Claude Code MCP server: features and setup

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.

Open on GitHub

What CommitLore 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.

What it helps with

  • 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 for the agent

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

How to install CommitLore

Install

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

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

How do I install CommitLore in Claude Code?

Install the CLI with curl -fsSL https://raw.githubusercontent.com/MongLong0214/commitlore/v1.7.5/install.sh | sh -s v1.7.5, add the marketplace using /plugin marketplace add MongLong0214/commitlore, install it with /plugin install commitlore@commitlore, then run cd your-repository, commitlore init, and commitlore context ..

What does CommitLore do?

It stores constraints, rejected alternatives, and warnings in Git, then supplies an agent with the decisions that remain applicable to the path being edited.

Which agents and editors support CommitLore?

The listed integrations are Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, and Zed.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor