原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

YourMemory

作者:sachitrafa版本 1.4.18i★ –i在你的电脑上运行
注册名称io.github.sachitrafa/yourmemory

安装

概览

作者提供的说明(英文原文)

Persistent memory for AI agents. Memories decay with time and strengthen on recall.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "yourmemory": {
      "command": "uvx",
      "args": [
        "yourmemory"
      ],
      "env": {
        "PYTHONIOENCODING": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add yourmemory --env PYTHONIOENCODING=your-value -- uvx yourmemory

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "yourmemory": {
      "command": "uvx",
      "args": [
        "yourmemory"
      ],
      "env": {
        "PYTHONIOENCODING": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "yourmemory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "yourmemory"
      ],
      "env": {
        "PYTHONIOENCODING": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • PYTHONIOENCODING env
    Set to utf-8 to ensure correct text encoding on all platforms.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 sachitrafa 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7241 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7241 个服务器的 11% 更新
  • 基础检查结果等于或优于此分类中其他 7241 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

YourMemory 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.4.18)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT3天前更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT44天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

YourMemory

Your AI has the memory of a goldfish. Not anymore.

Persistent, self-improving memory for AI agents — built on the science of how humans remember.

[▶ Try the live interactive demo](https://sachitrafa.github.io/YourMemory/marketing/interactive.html) · [Website](https://yourmemoryai.xyz) · [Benchmarks](BENCHMARKS.md)


The problem

Every morning your AI agent treats you like a stranger. Same context re-explained. Same preferences forgotten. Every session starts from zero.

Most "memory" tools bolt a vector database onto an agent and call it done — but that's just storage. It hoards every near-duplicate until retrieval drowns in noise. A goldfish with a bigger bowl.

YourMemory is different: memory that works like a brain, not a database.

flowchart LR

A["🧠 You tell your AI something"] --> B["Extract durable facts"] B --> C["Dedup + embed

  • graph-link"] C --> D[("Memory

store")] D -->|"related facts pile up"| E["✨ Consolidate N → 1 summary"] D -->|"stale + unused"| F["📉 Decay

  • prune"] D -->|"new session"| G["♻️ Recall

hybrid + graph"] E --> D G --> H["🤖 Your agent picks up where it left off"] style D fill:#0a2540,stroke:#19cdff,color:#fff style E fill:#0c2b3a,stroke:#5eead4,color:#fff style H fill:#0c2b3a,stroke:#19cdff,color:#fff


✨ What makes it different

FeatureWhat it does
🧠ConsolidationWhen enough related facts accumulate, they're compressed into one clean summary and the originals are archived. Memory gets sharper over time, not bloated.
📉Biological decayEvery memory ages on an Ebbinghaus forgetting curve. Stale, unused facts fade; important and frequently-recalled ones persist.
🔗Entity graphMemories link by shared people, places, and concepts — so recall surfaces what you *forgot to ask for*.
♻️Survives context resetsWhen the context window compacts, YourMemory hands the working context back — no re-reading files to figure out where you were.
🔒Tamper-evident audit trailEvery read / write / delete is logged in a hash-chained ledger. Alter one record and the chain breaks.
👥Team memory poolsRole-based shared memory, so a whole team's agents draw on the same institutional knowledge — with private memories kept private.
🛡️Data rights built inOne-command export (right to access) and right-to-forget (purge), plus SOC 2-aligned controls.
🔌MCP-native & local-firstWorks with Claude, Cursor, Cline, Windsurf, or any MCP client. Runs entirely on your machine — no API key, nothing leaves your system.

One command to install. DuckDB by default (zero setup), Postgres + pgvector for teams.


Table of Contents

  • 🏆 Benchmarks
  • 🚀 Quick Start
  • 🧠 How Memory Works
  • Consolidation
  • Decay
  • Hybrid Retrieval
  • 🔒 Trust & Audit Trail
  • 👥 Team Memory Pools
  • 🛡️ Data Rights & Compliance
  • 🎛️ Dashboards
  • 🔧 MCP Tools
  • ⚡ Ask Without an LLM Call
  • 🔀 API Proxy — Guaranteed Memory
  • 🏗️ Architecture & Stack
  • 🩺 Troubleshooting
  • 🤝 Contributing

🏆 Benchmarks

Three external datasets. Every number independently reproducible — benchmark code lives in the repo. Full methodology in BENCHMARKS.md.

LoCoMo-10 — multi-session conversational memory
xychart-beta

title "Recall@5 · LoCoMo-10 (higher is better)" x-axis ["Mem0", "Zep Cloud", "Supermemory", "YourMemory"] y-axis "Recall@5 percent" 0 --> 70 bar [18, 28, 31, 59]

2× better recall than Zep Cloud across all 10 samples. \*Supermemory and Mem0 exhausted free-tier quotas mid-benchmark; scores computed over the full 1,534 pairs.

LongMemEval-S — 500 questions, ~53 distractor sessions each

The hardest standard benchmark for long-term memory. Each question is buried in ~53 sessions.

MetricScore
Recall@5 (any gold session in top-5)89.4%
Recall-all@5 (all gold sessions in top-5)84.8%
nDCG@5 (ranking quality)87.4%
HotpotQA — 200 multi-hop questions
SystemBOTH_FOUND@5
YourMemory (vector + BM25 + entity graph)71.5%
YourMemory (no entity edges)59.5%

Entity graph edges add +12 pp — they traverse from Fact 1 to Fact 2 even when Fact 2 has low embedding similarity to the query.

*Writeup: I built memory decay for AI agents using the Ebbinghaus forgetting curve*


🚀 Quick Start

Python 3.11–3.14. No Docker, no database setup. All memory stored locally in `~/.yourmemory/`.

pip install yourmemory

yourmemory-register yourmemory-setup

Get your token: visit [yourmemoryai.xyz](https://yourmemoryai.xyz/) → enter your email → verify with a 6-digit code → copy your token.

yourmemory-setup auto-detects and wires up Claude Code, Claude Desktop, Cursor, Windsurf, and Cline, then asks which backend to use:

  • DuckDB — zero setup, single local file *(default)*
  • Postgres — shared / production; you provide a DATABASE_URL (needs the pgvector extension)

Optional — smarter local extraction: YourMemory works out of the box with built-in heuristics. For higher-quality, fully-local fact extraction, install Ollama and yourmemory-setup pulls the model (qwen2.5:7b, ~4.7 GB) automatically. Prefer the cloud? Set YOURMEMORY_EXTRACT_BACKEND=anthropic.

Or install from a binary — no Python required

Prefer not to touch pip? Grab the standalone binary for your platform from the latest release:

PlatformAsset
macOS (Apple Silicon)yourmemory-macos-arm64.tar.gz
macOS (Intel)yourmemory-macos-x86_64.tar.gz
Linux (x86-64)yourmemory-linux-x86_64.tar.gz
Windows (x86-64)yourmemory-windows-x86_64.exe.zip
# macOS / Linux — download, extract, run

tar -xzf yourmemory-macos-arm64.tar.gz ./yourmemory-macos-arm64 register ./yourmemory-macos-arm64 setup ./yourmemory-macos-arm64 # start the server

One executable handles every command: register, setup, ask " ", path, and (with no args) starts the server.

Fully self-contained & offline — the binary bundles Python, every dependency, *and* both ML models (the embedding model + spaCy). Nothing is downloaded on first run. The trade-off is size (~2 GB). Build your own with a single command — ./build-binary.sh — and multi-platform release binaries are produced automatically by the build workflow.


🧠 How Memory Works

YourMemory treats memory as a living system — it grows, consolidates, forgets, and connects, the way a brain does.

Consolidation — *N → 1*

Most memory tools just keep growing. YourMemory watches for clusters of related facts and, once enough accumulate, compresses them into a single clean summary — archiving the originals (never deleting, so nothing is lost).

flowchart LR

subgraph before [Related facts pile up] A1["Railway uses Nixpacks"] A2["Railway on Pro plan"] A3["Railway env vars hold the Postgres URL"] A4["Deploys on Railway with Postgres"] end before --> C{"cluster + LLM summarize"} C --> S["✨ Summary Deploys on Railway (Pro, Nixpacks) with Postgres via env vars"] C -.->|"archived, recoverable"| ARC[("archive")] style S fill:#0a2540,stroke:#5eead4,color:#fff style C fill:#0c2b3a,stroke:#19cdff,color:#fff

Real example from one production store: 444 memories → 16 summaries — same knowledge, a fraction of the noise. Consolidation is event-driven (triggered when related memories pile up), not a blind nightly job.

Decay — the forgetting curve

Memory strength decays exponentially. Importance and recall frequency slow that decay:

effective_λ  = base_λ × (1 − importance × 0.8)

strength = clamp(importance × e^(−effective_λ × active_days) × (1 + recall_count × 0.2), 0, 1)

active_days counts only days you were active — vacations don't cause memory loss. Memories below strength 0.05 are pruned automatically. Each category ages at its own rate:

CategoryHalf-lifeBest for
strategy~38 daysPatterns that worked, architectural decisions
fact~24 daysPreferences, identity, stable knowledge
assumption~19 daysInferred context, uncertain beliefs
failure~11 daysErrors, wrong approaches, environment-specific issues

Chain-aware pruning: a decayed memory is kept alive if any graph neighbour is still strong — load-bearing context survives even when rarely queried directly.

Hybrid Retrieval — Vector + BM25 + Graph

Recall runs in two rounds so it surfaces both what you asked for *and* what you forgot to ask for:

flowchart LR

Q["query"] --> R1["Vector + BM25 hybrid search"] R1 --> R2["Graph expansion (what you forgot to ask)"] R2 --> S["rank by similarity × strength"] S --> OUT["🎯 Ranked memories"] style OUT fill:#0a2540,stroke:#19cdff,color:#fff

Subject-aware deduplication runs before every store — it embeds the subject of each sentence so "Sachit uses DuckDB" and "YourMemory uses DuckDB" stay separate (different entities), while "YourMemory uses DuckDB" and "YourMemory stores data in DuckDB" merge (same entity). No hardcoded word lists; generalises to any language.


🔒 Trust & Audit Trail

Enterprises won't let an opaque black box store their data. So every operation — read, write, update, delete, consolidation — is appended to a hash-chained, tamper-evident audit log.

flowchart LR

E0["GENESIS"] --> E1 subgraph E1 [Event 1] H1["row_hash = sha256(prev + data)"] end E1 --> E2 subgraph E2 [Event 2] H2["row_hash = sha256(#1.hash + data)"] end E2 --> E3 subgraph E3 [Event 3] H3["row_hash = sha256(#2.hash + data)"] end E3 -

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx