riponcm/projectmem

Open-source coding agents memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.

What it solves

AI coding agents often struggle because they are stateless; every new session starts from zero, causing them to forget past decisions, repeat failed debugging attempts, and waste tokens reconstructing context. This tool provides a persistent "memory" layer that allows agents to learn from the history of a project.

How it works

It acts as a local-first memory and judgment layer that sits above your AI tools. It creates a .projectmem/ directory in your repository to store "typed events"—such as issues, attempts, fixes, and decisions. It uses an MCP (Model Context Protocol) server to allow your AI agent (like Claude Desktop, Cursor, or Aider) to read this history and log new work automatically. Because it is local-first, no data leaves your machine.

Who it’s for

Developers who use AI coding agents and want them to be more effective by retaining context across sessions, avoiding repeated mistakes, and maintaining a clear record of why specific code changes were made.

Highlights

  • Persistent Memory: Stores project-specific history so agents don't start from scratch.
  • Pre-commit Warnings: Alerts the agent before it attempts a fix that has already failed in the past.
  • Local-First: No cloud, no accounts, and no telemetry; all data stays in your project folder.
  • One-Server Setup: A single MCP server configuration manages all your registered projects.
  • Visual Dashboards: Generates local dashboards to visualize solved cases, failure heatmaps, and project ROI.
  • Automated Tracking: Uses Git hooks to automatically classify and track project events.

Related

  • Project
  • Project
  • Project
  • Project
  • Project