Skip to content
riponcm avatar

Projectmem

riponcm/projectmem

Local-first coding agent memory exposing 17 MCP tools for logging, recalling, and prechecking project history.

CCM score
86 of 100
GitHub stars
885
tools
17
transport
STDIO
last updated
Nov 28, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Logs work with log_issue, record_attempt, record_fix, add_decision, and add_note, and reads it back via get_context, search_events, and get_issue
  • Warns before repeats through precheck_file and get_global_gotchas, with get_summary, get_plan, and get_score covering session start and reporting
  • Runs locally from a plain .projectmem/ directory with no account or cloud service, using only an opt-in update check
  • Designed for keeping coding agents from rediscovering past bugs and failed fixes across sessions in one or many repositories

Tools

17 tools

Public tool metadata for what this MCP can expose to an agent.

get_instructionsLoad workflow rules at the start of every session.

Load workflow rules at the start of every session.

No parameter schema in public metadata yet.

get_summaryDistilled project memory, read at start and end of a session.

Distilled project memory, read at start and end of a session.

No parameter schema in public metadata yet.

get_project_mapUnderstand the repository structure.

Understand the repository structure.

No parameter schema in public metadata yet.

get_planRead plan.md, the ideas and plans (intent) kept separate from the event log.

Read plan.md, the ideas and plans (intent) kept separate from the event log.

No parameter schema in public metadata yet.

precheck_fileSurface failure history for a file before editing it.

Surface failure history for a file before editing it.

No parameter schema in public metadata yet.

get_issueRead one specific issue's full history by ID.

Read one specific issue's full history by ID.

No parameter schema in public metadata yet.

search_eventsPlain-text search across all logged events.

Plain-text search across all logged events.

No parameter schema in public metadata yet.

get_contextToken-budgeted memory block with optional focus filter.

Token-budgeted memory block with optional focus filter.

No parameter schema in public metadata yet.

get_scoreA+ to F prevention score and ROI numbers.

A+ to F prevention score and ROI numbers.

No parameter schema in public metadata yet.

get_global_gotchasCross-project library lessons inherited from past repos.

Cross-project library lessons inherited from past repos.

No parameter schema in public metadata yet.

list_projectsSee every registered project and which one is active.

See every registered project and which one is active.

No parameter schema in public metadata yet.

current_projectCheck which project a call would resolve to, without writing anything.

Check which project a call would resolve to, without writing anything.

No parameter schema in public metadata yet.

log_issueLog a bug immediately when encountering it.

Log a bug immediately when encountering it.

No parameter schema in public metadata yet.

record_attemptRecord each fix attempt immediately after making it, with outcome failed, partial, or worked.

Record each fix attempt immediately after making it, with outcome failed, partial, or worked.

No parameter schema in public metadata yet.

record_fixRecord a fix after confirming it resolves the issue.

Record a fix after confirming it resolves the issue.

No parameter schema in public metadata yet.

add_decisionRecord an architectural or design decision; supersedes can retire a stale decision.

Record an architectural or design decision; supersedes can retire a stale decision.

No parameter schema in public metadata yet.

add_noteRecord gotchas, setup details, or constraints discovered during work.

Record gotchas, setup details, or constraints discovered during work.

No parameter schema in public metadata yet.

Readme

projectmem

🎉 v0.3.6 is out — lessons appear before every edit in Claude Code and Codex, precheck shows every past failure, and parallel sessions keep to their own issues. See what changed →

We don't make AI smarter. We make it experienced.

Coding agent memory — the local-first memory + judgment layer for AI coding agents. One MCP server for every project. Stop re-reading your project every session. Stop repeating yesterday's bug.


View the full README on GitHub

Details

Repository
github.com/riponcm/projectmem
Category
Memory & Context
Package
projectmem
Transport
STDIO
Registry
MCP registry, active

Questions

What does the projectmem MCP server let a coding agent do?

projectmem is a local-first memory layer that records a project's issues, fix attempts, fixes and decisions as plain files in the repository. Before an agent edits a file, its precheck_file tool surfaces that file's failure history, so the agent can avoid retrying approaches that already failed.

Which tools does projectmem expose to the agent?

The server lists 17 tools, including get_summary and get_context for session memory, precheck_file for failure history, and log_issue, record_attempt, record_fix, add_decision and add_note for recording work. Other tools such as search_events, get_global_gotchas and list_projects cover search and cross-project lessons.

How does projectmem rank in the Memory & Context category on Claude Marketplaces?

projectmem ranks in the top 10 of the Memory & Context category on Claude Marketplaces. It stands alongside Headroom, Basic Memory, obsidian-wiki and Deja Vu, and it differs from them by warning before a file is edited if its earlier fix attempts failed.

How do I install the projectmem MCP server?

Install it with pipx install projectmem or pip install projectmem, then run pjm init --agent claude-code in your project, with codex, cursor, antigravity or claude-desktop as alternatives. The init step creates the .projectmem folder and adds the server to that client's config.

Does projectmem need an account or API key?

No account, API key or cloud service is needed, since memory is stored locally in the .projectmem folder in your repository. The server runs over stdio and supports macOS, Linux and Windows with Python 3.10 or newer.

Similar to Projectmem

More Memory & Context