Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyAI, memory and agents

YourMemory

Lets your AI agent keep a persistent memory that fades with time and strengthens when recalled, like human memory.

271 stars on GitHubby sachitrafaLicense NOASSERTIONUpdated 2 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add yourmemory -- uvx yourmemory

What to fill in

NameWhat it isRequired
PYTHONIOENCODINGSet to utf-8 to ensure correct text encoding on all platforms.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Remember that I prefer DuckDB for local projects.
What did we decide about how we deploy?

What it is

YourMemory stores what your agent learns in a local database and ages it on an Ebbinghaus forgetting curve, so stale facts fade and important ones stay. It groups related facts into one summary, links memories by shared people and concepts, and logs every operation in a tamper-evident audit trail. It works with Claude, Cursor, Cline, Windsurf and other MCP clients.

What it can do

  • Store and recall memories (MCP tools listed in the project docs)
  • Consolidation of related facts into one summary
  • Decay and pruning of stale memories
  • Hybrid recall: vector, BM25 and entity graph
  • Hash-chained audit trail
  • Export and right-to-forget commands

When to use

  • β€ΊWhen you are tired of re-explaining your preferences to your agent every morning
  • β€ΊWhen you want old, unused facts to fade so memory stays clean
  • β€ΊWhen a team wants role-based shared memory for its agents

What you need

Python 3.11 to 3.14 and pip (pip install yourmemory). You need a token from yourmemoryai.xyz (email plus a 6-digit code). A standalone binary is available if you prefer no Python.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The readme shows a Creative Commons BY-NC license badge, which is non-commercial. Check the license before commercial use.

Does my data leave my computer?

The readme says it runs entirely on your machine, with memory stored in ~/.yourmemory/ and no API key needed.

Why is there a token?

The quick start has you register an email at yourmemoryai.xyz and run yourmemory-register with the token before setup.

Which clients are set up automatically?

yourmemory-setup detects Claude Code, Claude Desktop, Cursor, Windsurf and Cline.

Which database does it use?

DuckDB by default with zero setup, or Postgres with pgvector for teams.

How well does it recall?

The readme reports 59 percent Recall@5 on LoCoMo-10 and 89.4 percent on LongMemEval-S, from its own benchmarks.

If it does not work

  • β€ΊRun yourmemory-register with your token, then yourmemory-setup, and restart your client.
  • β€ΊIf your Python is older than 3.11, update it first.
  • β€ΊFor Postgres, make sure DATABASE_URL is set and the pgvector extension is installed.

5 new skills a week. 1 minute to read.