projectmem
MCP server by riponcm Community
Gives AI coding agents a local memory of past issues, failed fixes and decisions for each project. It warns before the agent repeats a fix that already failed. Aimed at developers who work with coding agents across many sessions.
Install projectmem
Built from the published package, never by AI.
claude mcp add projectmem -- uvx projectmemRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"projectmem": {
"args": [
"projectmem"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"projectmem": {
"args": [
"projectmem"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"projectmem": {
"args": [
"projectmem"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add projectmem -- uvx projectmem{
"mcpServers": {
"projectmem": {
"args": [
"projectmem"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add projectmem uvx projectmemGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the projectmem block.
About
projectmem is a local-first memory layer for AI coding agents. It records typed events such as issues, attempts, fixes, decisions and notes in a plain .projectmem/ directory inside each repository. A native MCP server exposes its tools to Claude Code, Claude Desktop, Cursor, Antigravity and Codex, so the agent can read memory and log its own work.
Before an edit, the precheck tool warns when a file has known failed approaches. Since version 0.3.0, one MCP server serves every registered project. The source states there is no cloud, no account and no telemetry. The only network call is an update check that the user turns on. It is aimed at developers who use AI coding agents over repeated sessions.
Written from the project's README and checked against it.
Tools it gives your assistant
get_contextLets the agent read the project's memory at the start of a session, including current decisions.precheck_fileWarns before editing a file that has known failed approaches. Takes a file_path argument.get_issueLooks up a logged issue by id. Accepts forms such as "1" or "#1".search_eventsSearches the project's logged events. Requires a query argument.
What you need
- Python with pip
- Git
- An MCP client such as Claude Desktop, Claude Code, Cursor, Antigravity or Codex
Try asking
- Check precheck_file for src/auth.py before you change anything in it.
- Use get_issue to show me issue 1 from the project memory.
- Search the project memory for past fixes to the login bug.
Good to know
- Warnings depend on memory the project has recorded.
- MCP servers only load on a cold start, so the client must be fully restarted after config changes.
- The only network call is an update check, and only if the user turns it on.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to projectmem
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
projectmem: common questions
Does projectmem send project data to the cloud?
No. The source says there is no cloud, no account and no telemetry. The only network call it can make is an update check that the user turns on.
Where is the memory stored?
Memory lives in a plain .projectmem/ directory inside the repository.
What is the pre-commit warning?
It fires before the user repeats an approach that already failed in the project, based on the recorded events.
How do I install projectmem?
In Claude Code run claude mcp add projectmem -- uvx projectmem. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is projectmem the official server?
projectmem is a community project by riponcm, not verified by a company domain.
Is projectmem free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is projectmem safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to projectmem?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does projectmem work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
