Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

projectmem

Lets your AI coding agent remember issues, failed attempts and fixes, and warns before it repeats a failed approach.

877 stars on GitHubby riponcmLicense MITUpdated 22 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add projectmem -- uvx projectmem

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Before I change auth.py, check whether anything has failed there before.
Log that this fix worked and why the first attempt failed.

What it is

projectmem is a local-first memory layer for AI coding agents. It records issues, attempts, fixes and decisions in a plain .projectmem folder inside your repository. Before a commit it can warn that an approach already failed in this project. One MCP server serves all your projects, with no cloud and no telemetry.

What it can do

  • precheck_file: warn about known failures for a file before you change it
  • get_issue: read one logged issue
  • search_events: search the project memory
  • 17 tools in total for logging issues, attempts, fixes, decisions and notes
  • pjm init: set up hooks and memory in a project
  • pjm doctor: find and register projects and check the setup
  • pjm visualize: a local view of solved cases

When to use

  • β€ΊWhen your agent keeps retrying a fix that already failed
  • β€ΊWhen you want a new session to start with what the project already learned
  • β€ΊWhen you want to keep a record of why decisions were made

What you need

Python and pip install projectmem, then pjm init in each project. Point your client at the Python module projectmem.mcp_server with its absolute Python path, and restart it fully.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is MIT licensed.

Does it send data anywhere?

No cloud, no account and no telemetry. The only network call is an update check that you turn on yourself.

Which agents work with it?

Claude Code, Claude Desktop, Cursor, Antigravity and Codex.

What does pjm init do?

It installs three git hooks, starts a file watcher, and creates the .projectmem folder.

Do I need one server per project?

No. Since 0.3.0 one MCP server with no --root or cwd serves every registered project.

What should I do after upgrading?

Run pjm init once in each project to refresh the instructions and git hooks.

If it does not work

  • β€ΊFully restart your client after editing the MCP config, since servers only load on a cold start.
  • β€ΊRun pjm doctor to find clients still pinned to a single repo, and pjm doctor --fix to register projects.
  • β€ΊUse the absolute path to Python in the config; pjm init prints the block with your path filled in.

5 new skills a week. 1 minute to read.