Skip to content
diaaaj avatar

A Mem Mcp

diaaaj/a-mem-mcp

Persistent Zettelkasten-style memory store for coding agents, with semantic and graph search.

CCM score
61 of 100
GitHub stars
35
tools
8
auth
Secret needed
transport
STDIO
env vars
5
last updated
Jan 9, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Writes with add_memory_note and update_memory_note, deletes with delete_memory_note, and checks async jobs with check_task_status
  • Reads through search_memories, search_memories_agentic, and search_memories_by_time, plus read_memory_note for bulk full-content fetches
  • Runs local storage in ChromaDB with an LLM backend (OpenAI, Ollama, SGLang, or OpenRouter) that needs an API key or local model
  • Designed for coding agents that need recall of project decisions and patterns across sessions

Tools

8 tools

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

add_memory_noteStore new knowledge (async, returns immediately)

Store new knowledge (async, returns immediately)

No parameter schema in public metadata yet.

search_memoriesSemantic search across all memories

Semantic search across all memories

No parameter schema in public metadata yet.

search_memories_agenticSearch + follow graph connections

Search + follow graph connections

No parameter schema in public metadata yet.

search_memories_by_timeSearch within a time range

Search within a time range

No parameter schema in public metadata yet.

read_memory_noteGet full details (supports bulk reads)

Get full details (supports bulk reads)

No parameter schema in public metadata yet.

update_memory_noteModify existing memory

Modify existing memory

No parameter schema in public metadata yet.

delete_memory_noteRemove a memory

Remove a memory

No parameter schema in public metadata yet.

check_task_statusCheck async task completion

Check async task completion

No parameter schema in public metadata yet.

Configuration

LLM_BACKENDdefault: openai

LLM backend to use (openai, ollama, sglang, or openrouter)

LLM_MODELdefault: gpt-4o-mini

LLM model name (e.g., gpt-4o-mini, llama2, etc.)

OPENAI_API_KEY*secret

OpenAI API key (required if LLM_BACKEND=openai)

EMBEDDING_MODELdefault: all-MiniLM-L6-v2

Sentence transformer model for embeddings

CHROMA_DB_PATHdefault: ./chroma_db

ChromaDB storage directory path

Readme

A-MEM: Self-evolving memory for coding agents

PyPI version PyPI downloads MCP Registry

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.

Currently tested with Claude Code. Support for other MCP-compatible agents is planned.

Quick Start

Install

pip install a-mem

Add to Claude Code

claude mcp add a-mem -s user -- a-mem-mcp \
  -e LLM_BACKEND=openai \
  -e LLM_MODEL=gpt-4o-mini \
  -e OPENAI_API_KEY=sk-...

View the full README on GitHub

Details

Repository
github.com/diaaaj/a-mem-mcp
Categories
Memory & Context, AI Agents & LLM Apps
Package
a-mem
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to A Mem Mcp

More Memory & Context