A Mem MCP

mcp-name: io.github.DiaaAj/a-mem-mcp A-MEM is a self-evolving memory system for coding agents. Unlike simple vector stores, A-MEM automatically organizes knowledge into a Zettelkasten-style graph with dynamic relationships. Memories don't just get stored - they evolve and connect over time. It runs locally over stdio via the published package.

People connecting memory tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-01-17 · ★ 34 · #148 OF 259 MAINTAINED MEMORY · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install A Mem MCP

before you install - you'll need

Set LLM_BACKEND, LLM_MODEL, OPENAI_API_KEY, OPENROUTER_API_KEY before connecting.

Claude Code

claude mcp add diaaaj-a-mem-mcp -- uvx a-mem

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "diaaaj-a-mem-mcp": {
      "command": "uvx",
      "args": [
        "a-mem"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package a-mem - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.DiaaAj is GitHub-verified and matches the repo owner

03 · Who maintains A Mem MCP

a-mem-mcp is maintained by diaaaj. It's the only MCP server we track from this author; the repo dates to Jan 2026.

04 · Facts

category
memory - ranked #148 of 259 actively-maintained memory servers as of 2026-08-25.
registry
io.github.DiaaAj/a-mem-mcp (active, first published 2026-01-09 · 3 versions)
packages
pypi:a-mem

05 · A Mem MCP FAQ

What is A Mem MCP?

mcp-name: io.github.DiaaAj/a-mem-mcp A-MEM is a self-evolving memory system for coding agents. Unlike simple vector stores, A-MEM automatically organizes knowledge into a Zettelkasten-style graph with dynamic relationships. Memories don't just get stored - they evolve and connect over time. It runs locally over stdio via the published package.

Is A Mem MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-01-17. We re-verify nightly.

How do I install A Mem MCP?

Run `uvx a-mem`. The README documents 4 environment variables (LLM_BACKEND, LLM_MODEL, OPENAI_API_KEY…) to set first. Set LLM_BACKEND, LLM_MODEL, OPENAI_API_KEY, OPENROUTER_API_KEY before connecting. You can also paste the ready-made client config above.

Does A Mem MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to A Mem MCP

Pairs well with

Servers that cover what A Mem MCP doesn't - only shown when the pairing reason fits the companion.

  1. Server Filesystem → filesystem companion filesystem · ★ 38,704
  2. X402 List MCP → filesystem companion filesystem · ★ 58

More memory MCP servers · Memory Rs · Dollhouse MCP · Neurakeep · Keymem · Openeye

More Python MCP servers · Hotelbooking · Hotelbooking AI · Onyx MCP · AlbumentationsX MCP · Akb · see all