LocalFree server, account needed

a Mem MCP server

DiaaAj/a-mem-mcp

Self-evolving memory system for AI agents

35 GitHub stars3 forks

Install a Mem in Claude Code

Claude Code
claude mcp add a-mem -e OPENAI_API_KEY=... -- uvx a-mem
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "a-mem": {
      "command": "uvx",
      "args": [
        "a-mem"
      ],
      "env": {
        "OPENAI_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the a Mem MCP server do?

Self-evolving memory system for AI agents

Is the a Mem MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does a Mem run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add a Mem to Claude Code?

Run: claude mcp add a-mem -e OPENAI_API_KEY=... -- uvx a-mem

More knowledge, memory & rag MCP servers

View all