YourMemory provides persistent memory for Claude and any MCP-compatible AI, mimicking human memory by allowing important information to stick while outdated facts fade away automatically.
From the registry: Ebbinghaus-based persistent memory for Claude. Memories decay with time, strengthen on recall.
$ pip install yourmemory$ yourmemory-setupPlease install the `cognitive-ai-memory` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install yourmemory** — Install the package via pip. Requires Python 3.11-3.14. Run: `pip install yourmemory`
- **Run setup** — Downloads spaCy language model and initializes the database. Run: `yourmemory-setup`
Canonical MCP server config (stdio transport):
- command: `yourmemory`
- args: []
- optional environment variables:
- `YOURMEMORY_USER`: Your username for namespacing memories. (example: `<your-name>`)
- `DATABASE_URL`: Optional PostgreSQL URL. If postgresql://, uses Postgres+pgvector. Otherwise DuckDB is used.
- `GRAPH_BACKEND`: Graph backend: networkx (default) or neo4j.
Note: Uses DuckDB by default — no external DB required. Database created at ~/.yourmemory/memories.duckdb. Run 'yourmemory-path' to get full config path for clients that don't inherit shell PATH.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.YOURMEMORY_USERrequiredUsed to identify the user for memory storage.DATABASE_URLSpecifies the database connection URL.AI Agents Framework with Self Reflection and MCP support