amem
MCP server by sslugic Community
amem gives coding agents a private memory that stays on your machine. It stores facts, skills and tasks that persist across sessions, for developers who use Claude Code, Cursor, Codex and other MCP clients.
Install amem
Built from the published package, never by AI.
claude mcp add amem -- npx -y @iamem/amemRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"amem": {
"args": [
"-y",
"@iamem/amem"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"amem": {
"args": [
"-y",
"@iamem/amem"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"amem": {
"args": [
"-y",
"@iamem/amem"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add amem -- npx -y @iamem/amem{
"mcpServers": {
"amem": {
"args": [
"-y",
"@iamem/amem"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add amem npx -y @iamem/amemGemini 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 amem block.
About
amem is a local memory layer for coding agents. It stores short facts such as constraints, gotchas and decisions, tied to the files they describe. Facts are flagged stale when those files change. It also stores repeatable skills and a Backlog, Next, Doing and Done task board that agents can update.
The memory lives in one SQLite file in ~/.amem. Hooks give the agent a small, ranked context packet at session start and with each prompt. A localhost dashboard, opened with amem ui, lets you review, retire or delete facts. The source says memory never leaves the machine, and it is aimed at developers who want their agents to remember project context across sessions.
Written from the project's README and checked against it.
Tools it gives your assistant
amem_contextLets the agent search memory for context relevant to a question.MemoryStores short facts tied to files, flagged stale when those files change.SkillsStores repeatable procedures, loaded only when they apply.TasksProvides a Backlog, Next, Doing and Done board that agents update.DashboardShows stored memories, items needing review and open tasks in a localhost UI.
What you need
- Node.js
- macOS, Linux or Windows
Try asking
- Check amem for any gotchas before changing the Stripe webhook handler.
- Use amem to load the release steps for this project.
- Add a follow-up task in amem to add tests for the cart module.
Good to know
- Memory stays local, with no sync and no cloud embeddings.
- Telemetry is off unless you opt in.
- Encryption and encrypted backups are optional.
Security check
B- Runs a script automatically when the package is installedIn
package.json:"postinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to amem
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
amem: common questions
Does amem send my code or memory to the cloud?
The source says memory never leaves your machine, with no sync, cloud embeddings or share mode. Anonymous usage pings are sent only if you opt in, and they contain no memory, repos, paths or names.
Which AI tools work with amem?
The source lists Claude Code, Cursor, Claude Desktop, Copilot, Codex, Gemini CLI, Windsurf, Continue, Aider and Zed, and says any other MCP client can use the same memory.
Where is amem's data stored?
The source says it uses one SQLite file in ~/.amem, created with mode 0700. The UI and HTTP MCP endpoint bind to 127.0.0.1 only.
How do I install amem?
In Claude Code run claude mcp add amem -- npx -y @iamem/amem. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is amem the official server?
amem is a community project by sslugic, not verified by a company domain.
Is amem free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is amem safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.
What are alternatives to amem?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does amem 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.
