agent memory mcp for Claude Code
io.github.xultrax-web/agent-memory-mcp
Markdown memory for AI agents. Files you can read, edit, grep, and commit. Not a database.
client:Claude Code
transport:stdio
runtime:npm
Install agent memory mcp in Claude Code
run in your project directory
claude mcp add agent-memory-mcp -e AGENT_MEMORY_DIR=<AGENT_MEMORY_DIR> -e AGENT_MEMORY_SCOPE=<AGENT_MEMORY_SCOPE> -e AGENT_MEMORY_LOG=<AGENT_MEMORY_LOG> -- npx -y @xultrax-web/agent-memory-mcp
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs