Skip to content
AddHunt
MCP servers

projectmem

Local project memory for AI coding agents over MCP

Open source

  • Open source
  • Licence: MIT

In short

projectmem is an open-source, local-first memory layer that keeps a repository's issues, attempts, fixes and decisions and feeds them back to AI coding agents through an MCP server. It is for developers using Claude Code, Cursor, Codex and other MCP clients who want agents to stop repeating failed approaches.

What you get

  • Append-only event log stored in the repository
  • Automatic capture through Git hooks
  • One MCP server for all projects
  • Pre-commit warnings about previously failed approaches
  • pjm doctor to find projects and check client setup
  • Runs locally with no telemetry

The details

AI coding agents start every session without knowledge of what happened before, so they re-read the codebase and can propose fixes that have already failed. projectmem keeps that history inside the repository and hands it to the agent when a new session begins.

How it works

Memory is stored as an append-only event log in the repo. Git hooks capture events automatically, and a single MCP server exposes the history to any connected agent across all registered projects. Before a commit, the pjm precheck command reads a file's failure history and flags approaches that were tried and abandoned.

Setup

  • Install the Python package with pip
  • Run pjm doctor to find existing projects and check client configuration
  • Add one MCP server entry to the AI client
  • Run pjm init once in each repository

Compatibility and privacy

The site names Claude Code, Cursor, Codex, Antigravity, Gemini, Windsurf, Goose and Grok, along with local models such as DeepSeek, GLM and Qwen through a universal mode. Everything runs locally with no telemetry, and there is no cloud service or subscription. The tool ships with 25 CLI commands and 17 MCP tools, and the code is MIT licensed.

Alternatives to projectmem

All alternatives

Questions

Which AI coding tools work with projectmem?

Any MCP client. The site names Claude Code, Cursor, Codex, Antigravity, Gemini, Windsurf, Goose and Grok, and a universal mode covers local models such as DeepSeek, GLM and Qwen.

Does projectmem send data to the cloud?

No. Memory is stored in the repository, the tool runs locally, and the site states there is no telemetry and no subscription.

How is it installed?

With pip install projectmem, followed by one MCP server entry in the AI client and pjm init in each repository.

More like this