
Memento
io.github.scrypster由 GitHub 账号 scrypster 发布v0.1.0更新于 Oct 27, 2026
Persistent memory for AI tools. Local-first knowledge graph with hybrid search.
概览
本地优先的持久记忆服务器,从 AI 对话中构建知识图谱,让助手跨会话记住决策与上下文。
- 可以做什么
- 存储、检索、更新与遗忘记忆,支持软删除、恢复和查看已删除记忆
- 以全文加语义向量的混合检索查找记忆及相关条目
- 探索知识图谱:遍历实体关系、检测矛盾、解释检索原因、获取会话上下文
- 管理记忆生命周期:切换状态、生成新版本、合并相关记忆、查看版本历史
- 组织项目:创建项目,添加史诗、阶段、任务与里程碑,列出项目并获取项目树
- 适用场景
- 适合希望助手在会话之间记住偏好、架构决策和项目背景、无需反复说明的场景,也适合团队让各自的 AI 工具共享可追溯的记忆。
- 运行要求
- 以 stdio 在本地运行。需要 Docker,或 Go 1.23+ 搭配 Node.js 18+ 与 Ollama;首次运行会下载约 5 GB 的 Ollama 模型。可选配置包括 MEMENTO_DATA_PATH、MEMENTO_STORAGE_ENGINE、MEMENTO_LLM_PROVIDER、MEMENTO_USER,以及团队部署用的 PostgreSQL 连接地址。
安装
在 SourceWeft 中
- 打开 控制台中的 Memento,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Memento — Remember Everything, Forget Nothing]
Memento
Give your AI tools a persistent memory — so every session starts where the last one left off.
[Version] [Go Version] [License] [Docker] [MCP]
Your AI starts fresh every session. Memento fixes that.
It runs on your machine, connects to any MCP-compatible AI tool, and builds a persistent knowledge graph from your conversations — entities, relationships, decisions, and context that survive every session restart.
No cloud. No API keys required. No subscriptions. Your data stays on your machine.
Quick Start
Prerequisites: Docker — or — Go 1.23+ + Node.js 18+ + Ollama
The script detects your environment, runs preflight checks, builds everything, and prints the exact command to connect your AI tool at the end. First run downloads Ollama models (~5 GB). After that, starts in seconds.
Your first memory
Once connected, try this in Claude:
Close the tab. Open a new session. Ask:
Your AI already knows. No re-explaining. No context window tricks.
Close the tab. Open a new session.
Behind the scenes, Memento built this automatically:
Every entity gets wired into a knowledge graph — people, tools, projects, decisions — with confidence scores and timestamps.
Connect Your Tools
Open http://localhost:6363/integrations — the web UI generates configs, download buttons, and connection testing for every client:
The integrations page generates ready-to-paste configs with your actual binary paths and data directories. It also has connection testing, troubleshooting, and per-project workspace scoping.
Make Claude Code proactive (recommended)
The MCP connection makes tools available, but Claude won't use them automatically. Add this to ~/.claude/CLAUDE.md to make Claude store decisions and recall context without being asked:
The web UI at Integrations → Claude Code → Make it proactive generates a version with your specific paths and connection settings, plus a download button.
See the full integration guides: Claude Code | Claude Desktop | Cursor & Windsurf | OpenClaw
Team memory — shared knowledge across your whole engineering team
Point everyone's AI tools at the same Memento instance and your team's decisions, conventions, and context become shared knowledge — queryable by anyone, attributable to anyone.
Every memory is tagged with who stored it. Memento auto-detects this from your git config, or you can set it explicitly:
Or in your MCP config:
Once set, you can ask:
Setup: Each teammate runs Memento pointing at the same PostgreSQL database. Personal context stays personal (use a separate personal connection). Shared architectural decisions, conventions, and project context go into the shared connection.
See the team setup guide for full PostgreSQL configuration.
What Your AI Gets
Once connected, your AI has 20 tools it can call — no prompting required:
Core memory operations
Search and intelligence
Memory lifecycle
Soft delete and recovery
Project management
Store returns in <10ms. Enrichment — entity extraction, relationship mapping, embedding generation — runs asynchronously. Your AI is never blocked.
What It Looks Like
Auto-extracted entities — zero manual input
People, projects, tools, organizations, languages, APIs — extracted automatically from your AI conversations. No tagging required.
Relationship intelligence
Your AI knows who works_on what, which tools depend_on which services, and what the current state of each decision is — with confidence scores and timestamps.
The dashboard
Live enrichment queue, entity browser, relationship explorer, and graph visualizer — all in the web UI.
Why Memento
vs. Mem0
Mem0 requires cloud API keys and a paid plan for production use. Memento runs entirely on your machine with Ollama — no API keys, no cloud, no per-memory pricing. Memento also ships a full web UI with graph visualization, entity browser, and one-click integration setup. Mem0 has no web interface.
vs. Zep / Graphiti
Zep requires Neo4j or FalkorDB for its knowledge graph. Memento uses SQLite (zero deps) or PostgreSQL — no graph database to manage. Zep's open-source version is limited; the full feature set requires Zep Cloud.
vs. Built-in AI memory (ChatGPT, Claude)
Built-in memory is a flat list of facts with no relationships, no search, no graph, and no way to export or control your data. Memento gives you a structured knowledge graph you own, with hybrid search and full lifecycle management.
vs. Writing docs or wikis
Memento captures context automatically as you work — no manual effort. It builds relationships between concepts instead of isolated pages, and it's designed to be queried by LLMs, not just humans.
How It Works
Features
Runs entirely offline
- Ollama runs locally — default setup never makes an external network call
- SQLite database is a single file you own:
~/.memento/memento.db - Swap to OpenAI or Anthropic when you want stronger extraction — opt-in only
Hybrid search
- FTS5 full-text + semantic vector search fused with Reciprocal Rank Fusion (RRF)
- Finds what you mean, not just what you typed
Knowledge graph
- Extracts 22 entity types: people, projects, tools, languages, APIs, databases, concepts, and more
- Maps 44 relationship types with confidence scores
- Interactive graph explorer in the web UI
Memory lifecycle
- Lifecycle states:
planning → active → paused | blocked | completed | cancelled → archived - Decay scoring — stale context loses ranking weight naturally
- Access-frequency boosting — memories you recall often stay prominent
Production-ready backends
- SQLite (zero deps, CGo-free) for personal/local use
- PostgreSQL + pgvector + ivfflat index for team or production deployments
Multi-connection isolation
- Separate memory namespaces per project, client, or workspace
- Route MCP calls to different connections with a single env var
Web UI
- Dashboard with live enrichment queue, entity browser, relationship explorer, graph visualizer
- One-click integration setup for every supported client
- Connection testing, CLAUDE.md generation, Cursor Rules download
- Tracks unrecognized LLM entity types so you can expand your taxonomy over time
LLM Providers
Switch providers per connection — different projects can use different LLMs.
Configuration
PostgreSQL
Project Structure
Contributing
Issues and PRs welcome. Open an issue before starting significant work.
License
MIT — see LICENSE.
Built by
MJ Bonanno — software architect and founder of Scrypster.
Remember everything. Forget nothing. Unlike Leonard Shelby, your context is here to stay — searchable, versioned, and backed by a knowledge graph that never fades.
来源:README.md,提交 cad457c
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分