
Shodh Memory
io.github.varun29ankuS由 GitHub 账号 varun29ankuS 发布v0.2.0更新于 Oct 24, 2026
Cognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.
发布方自己的服务:Memory.fit
概览
面向 AI 代理的本地持久记忆服务器:存储、语义检索与管理记忆,并提供 GTD 待办、项目与提醒。
- 可以做什么
- 存储、语义检索、读取、列出和删除记忆,支持按标签与日期检索、主动上下文浮现和会话上下文摘要
- 以知识图谱组织记忆,具备 Hebbian 关联强化、衰减、整合与内容哈希去重
- 创建、更新、完成、排序和删除 GTD 待办、子任务与评论,并查看待办统计
- 将待办归入项目,支持子项目、归档与删除
- 设置按时间、时长或关键词触发的提醒,并列出或忽略提醒
- 检查记忆与索引健康、查看整合报告、统计 token 用量,以及创建、校验、恢复和清理备份
- 适用场景
- 适合希望助手在本机跨会话记住偏好、项目背景与过往决策,并同时维护一份轻量任务与提醒清单的场景。
- 运行要求
- 通过 npx(Node.js)在本地运行,首次启动会自动下载原生后端二进制(约 15MB)和嵌入模型(约 23MB),需放宽启动超时。需要 SHODH_API_KEY 密钥。可选配置包括 SHODH_API_URL(默认本地 HTTP 地址)、SHODH_USER_ID 以及 SHODH_IPC_ENDPOINT 等 IPC 选项。支持 Linux x64、macOS x64/ARM64 与 Windows x64。
安装
在 SourceWeft 中
- 打开 控制台中的 Shodh Memory,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Shodh-Memory MCP Server
Persistent cognitive memory for AI agents
Documentation | GitHub | Python SDK | Rust Crate
Features
- Cognitive Architecture: 3-tier memory (working, session, long-term) based on Cowan's model
- Hebbian Learning: "Neurons that fire together wire together" - associations strengthen with use
- Semantic Search: Find memories by meaning using MiniLM-L6 embeddings
- Knowledge Graph: Entity extraction and relationship tracking
- Memory Consolidation: Automatic decay, replay, and strengthening
- Idempotent: Content-hash dedup — identical memories are never stored twice
- 1-Click Install: Auto-downloads native server binary for your platform
- Offline-First: All models auto-downloaded on first run (~38MB total), no internet required after
- Fast: <200ms API response, sub-millisecond graph lookup, 30-50ms semantic search
- GTD Task Management: Full todo system with projects, subtasks, comments, and reminders
Installation
Add to your MCP client config:
Claude Desktop / Claude Code (claude_desktop_config.json):
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Codex CLI (.codex/config.toml):
By default the MCP server talks to the backend over HTTP, which works on every
platform. To route ordinary requests over authenticated local IPC instead, add
SHODH_IPC_ENDPOINT with a platform-appropriate value. On Windows, use the
per-user named pipe printed by the server (normally
\\.\pipe\shodh-memory-<current-user-SID>); on macOS/Linux, use its absolute Unix
socket path (under the platform data directory at shodh/shodh-memory.sock by
default). A \\.\pipe\... value on macOS/Linux is rejected rather than silently
forwarded to the spawned backend. The auto-spawn path passes an explicitly
configured endpoint to the backend so both processes use the same value.
Note: First run downloads the server binary (~15MB) plus embedding model (~23MB). The
startup_timeout_sec = 60ensures enough time for initial setup.
For Cursor/other MCP clients: Similar configuration with the npx command.
Environment Variables
Local IPC
When SHODH_IPC_ENDPOINT is set, tool calls, proactive surfacing, health checks,
resources, and prompts use local IPC. Each call opens one local connection and
exchanges one versioned, newline-delimited JSON request and response. Frames are
limited to eight MiB. An empty-auth health challenge first proves the endpoint
knows the configured key. Ordinary requests then use HMAC proofs bound to that
server instance and request body; the reusable API key is never sent over IPC or
written to MCP stdout.
Streaming ingestion remains a WebSocket feature. It is disabled by default in
IPC mode because the local protocol is finite request/response. To enable it
explicitly, set SHODH_STREAM_WEBSOCKET=true and configure SHODH_API_URL for
the server's HTTP WebSocket endpoint. Ordinary operations continue to use IPC.
If SHODH_IPC_ENDPOINT is absent, the MCP server preserves its existing HTTP
and WebSocket behavior. When the variable is present, it is an explicit transport
selection: an unavailable IPC endpoint is reported rather than silently retried
over HTTP.
SHODH_USER_ID remains a logical namespace, as it is over REST. A configured API
key has authority across namespaces. Use separate server/key instances when
mutually untrusted tenants require an authorization boundary.
MCP Tools (51 total)
Memory — Store, search, and manage memories
Memory previews and truncation.
recall,recall_by_tags, andproactive_contextreturn previews of each memory body (default cap: 500 characters). When a body is longer than the cap, the output is truncated with an explicit, honest marker that reports the real lengths and the follow-up call, e.g.…[truncated 500/2340 chars — read_memory("<id>") for full]. A preview is never silently cut off — the absence of a marker means you are seeing the complete body. To get complete bodies inline (no markers), passfull_content: trueon any of those three tools; this increases token usage, so prefer it for small result sets.read_memoryalways returns the full, untruncated content.
Todos (GTD) — Task management with projects and subtasks
Projects — Organize todos into groups
Reminders — Time, duration, and context-triggered reminders
System — Health, backups, and diagnostics
REST API (for Developers)
The server exposes a REST API at http://127.0.0.1:3030:
Key Endpoints
Cognitive Features
Hebbian Learning
Memories that are frequently accessed together form stronger associations. The system automatically:
- Forms edges between co-retrieved memories
- Strengthens connections with repeated co-activation
- Enables Long-Term Potentiation (LTP) for permanent associations
Memory Consolidation
Background processes maintain memory health:
- Decay: Unused memories gradually lose activation
- Replay: High-value memories are periodically replayed
- Pruning: Weak associations are removed
- Promotion: Important memories move to long-term storage
3-Tier Architecture
Based on Cowan's working memory model:
- Working Memory: Recent, highly active memories
- Session Memory: Current session context
- Long-Term Memory: Persistent storage with vector indexing
How It Works
- Install:
npx -y @shodh/memory-mcpdownloads the package - Auto-spawn: On first run, downloads the native server binary (~15MB) and embedding model (~23MB)
- Connect: MCP client connects to this MCP server via stdio; backend requests
use local IPC when
SHODH_IPC_ENDPOINTis set, otherwise HTTP - Ready: Start using
rememberandrecalltools - Session end: when the host closes stdin (e.g. a Claude Desktop thread switch), the shim finishes any in-flight tool call and writes its response to the still-open stdout before exiting, so a mid-flight request is never silently dropped. Draining is bounded by a grace window; if it elapses the caller receives an explicit error instead of waiting out the host timeout.
The backend server runs locally and stores all data on your machine. No cloud dependency.
Usage Examples
Platform Support
Related Packages
- Python SDK:
pip install shodh-memory- Native Python bindings - Rust Crate:
cargo add shodh-memory- Use as a library
Links
License
Apache-2.0
来源:mcp-server/README.md,提交 902daf8
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Memory 集成

Memory.fit
fit.memory官方发布者
托管式 Memory.fit 服务器,让 AI 读取你的训练、睡眠、恢复与饮食数据,并写回每周计划、每日目标和饮食计划。
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pg官方发布者
pg.ddx.io: the PostgreSQL community's memory 的托管 MCP 服务,由 pg.ddx.io 发布;无需登录;Streamable HTTP;29 个工具。
var.gg Naming Memory
gg.var官方发布者
远程 MCP 服务器,可根据领域概念推荐并检索韩、日、中、越、英多语言的代码标识符名称,并提供 ERD 结构查询。

Counterparts
ai.counterparts
面向 Claude Code 与 Claude Desktop 的本地优先长期记忆:助手自行写下关于你和项目的笔记,并在之后的会话中回忆起来。

LAHZE - Persian AI Memory Platform
由 GitHub 账号 pedramgholizadeh 发布
以波斯语为先的地理记忆平台:发现地点,起草并发布仅限波斯语的记忆。AI 翻译