A Mem MCP Server
by diaaajio.github.DiaaAj/a-mem-mcpv0.2.1
Self-evolving memory system for AI agents
context tax
queued
security
queued
cold start
queued
freshness
Stale9mo ago
Install A Mem MCP server
Install in Claude Code
claude mcp add a-mem -e OPENAI_API_KEY='<openai-api-key>' -- uvx a-memInstall in Cursor
{
"mcpServers": {
"a-mem": {
"command": "uvx",
"args": [
"a-mem"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"a-mem": {
"command": "uvx",
"args": [
"a-mem"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"a-mem": {
"type": "stdio",
"command": "uvx",
"args": [
"a-mem"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"a-mem": {
"command": "uvx",
"args": [
"a-mem"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| LLM_BACKEND | — | — | LLM backend to use (openai, ollama, sglang, or openrouter) |
| LLM_MODEL | — | — | LLM model name (e.g., gpt-4o-mini, llama2, etc.) |
| OPENAI_API_KEY | yes | yes | OpenAI API key (required if LLM_BACKEND=openai) |
| EMBEDDING_MODEL | — | — | Sentence transformer model for embeddings |
| CHROMA_DB_PATH | — | — | ChromaDB storage directory path |
Freshness
Stale — last maintenance signal 9mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-01-17 · 9mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-01-09 · 9mo ago · official registry · v0.2.1
FAQ
›How do I install the A Mem MCP server in Claude Code?
Run: claude mcp add a-mem -e OPENAI_API_KEY='<openai-api-key>' -- uvx a-mem. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does A Mem require an API key?
Yes. It expects OPENAI_API_KEY, of which 1 is a secret.
›Can I use A Mem as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is A Mem in the official MCP registry?
Yes, as io.github.DiaaAj/a-mem-mcp.
Alternatives to A Mem
Other memory MCP servers.