Project Agent Memory
MCP server by balaji-g42 Verified · npm:project-agent-memory
Gives coding agents persistent project memory for context, decisions, progress and patterns. It stores entries in Qdrant or in PostgreSQL with pgvector, chosen by one environment variable.
Install Project Agent Memory
Built from the published package, never by AI.
claude mcp add project-agent-memory -- npx -y project-agent-memoryRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"project-agent-memory": {
"args": [
"-y",
"project-agent-memory"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Project Agent Memory in Claude Desktop
{
"mcpServers": {
"project-agent-memory": {
"args": [
"-y",
"project-agent-memory"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"project-agent-memory": {
"args": [
"-y",
"project-agent-memory"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add project-agent-memory -- npx -y project-agent-memory{
"mcpServers": {
"project-agent-memory": {
"args": [
"-y",
"project-agent-memory"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Project Agent Memory in Antigravity CLI
gemini mcp add project-agent-memory npx -y project-agent-memoryGemini 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 project-agent-memory block.
About
Project Agent Memory is a TypeScript MCP server that gives a coding agent persistent project memory. It covers context, decisions, progress and patterns. Entries are stored in Qdrant by default, or in PostgreSQL with pgvector through a pREST instance, selected with the MEMORY_BACKEND environment variable. Each project has its own collection, and reads can run as semantic searches over stored entries.
Embeddings run locally by default using ONNX on the CPU, so the default setup needs no API key and no embedding service. Other providers include OpenAI-compatible endpoints, Gemini and OpenRouter. The server also supports hive memory, which lets an agent browse, search and write other projects' memory. It suits developers who use coding agents and want project memory that stays available over time.
Written from the project's README and checked against it.
Tools it gives your assistant
memory_createStores memory entries with a type, content, optional metadata and an optional private flag.memory_readRetrieves entries by semantic search or by recency, with optional metadata filters.memory_updateUpdates entries by id, re-embedding content when it is supplied.memory_deleteDeletes entries by id. Deletes in another project are archived and restorable by its owner.memory_contextReads and optionally patches the project's working state, such as product and active context.
What you need
- Node.js 18 or newer
- A reachable Qdrant instance, or PostgreSQL with pgvector and a pREST instance
- Docker, if the setup starts a local Qdrant or pgvector stack
Try asking
- Save this architecture decision to project memory
- Search project memory for past decisions about authentication
- Show the current active context for this project
Good to know
- Changing VECTOR_DIM on Qdrant deletes the existing collection and recreates it empty
- The postgres backend works through a pREST instance, not a direct database connection
- Non-default embedding providers need their own endpoint or API key
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Project Agent Memory
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
Project Agent Memory: common questions
Does Project Agent Memory need an API key?
No API key is needed with the default onnx embedding provider, which runs locally on the CPU. Gemini and OpenRouter providers require their own keys.
Can it use PostgreSQL instead of Qdrant?
Yes. Setting MEMORY_BACKEND to postgres uses PostgreSQL with pgvector through a pREST instance. The tool surface stays the same.
Can one project read another project's memory?
Yes, through hive memory. Entries are public by default, and entries or projects can be marked private.
How do I install Project Agent Memory?
In Claude Code run claude mcp add project-agent-memory -- npx -y project-agent-memory. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Project Agent Memory the official server?
Project Agent Memory is published by npm:project-agent-memory from its verified domain in the official MCP Registry.
Is Project Agent Memory free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Project Agent Memory safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality C. 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 Project Agent Memory?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Project Agent Memory 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.
