Skip to main content
Glama

SARIPATI

一个本地优先、与提供商无关的知识库,适用于任何 AI 宿主。

sari pati(马来语)——精华,浓缩提取物。

大多数 AI 工具每次对话都从零开始。SARIPATI 是位于你已使用的任何 AI(Claude Code、Cursor、Windsurf、Cline、Continue)之下的记忆层,让知识在会话之间累积。AI 用自己的工具进行研究;你调用 SARIPATI 来提炼并存储精华。数周后,它能以语义方式召回这些内容。

不是聊天应用。它不运行 LLM,也不需要 API 密钥。你的整个知识库就是你机器上的一个 SQLite 文件。


为什么

  • 累积而非一次性。 会话中完成的研究会按主题持续累积——语料库在每次 agent 运行时都会增长,而不仅仅在你记笔记时。

  • 本地语义召回。 内置的嵌入模型(all-MiniLM-L6-v2)在设备上完全实现混合语义 + 关键词搜索。

  • 可视化。 按需启动的仪表盘让不断增长的知识库可浏览、可搜索、可导出。

  • 零锁定。 本地 SQLite,MIT 许可,无需云账户,无供应商依赖。

Related MCP server: Memory MCP

非目标

  • 不是聊天应用或 LLM 封装——它不运行也不需要 LLM。

  • 无需云依赖。

  • 不绑定任何单一 AI 宿主或提供商。


安装

1. npx(推荐)

npx saripati init          # create the vault, print the config, detect your host
npx saripati init --write  # also register SARIPATI with detected hosts

然后你的宿主通过包名连接——无需文件夹路径,不会出错:

{
  "mcpServers": {
    "saripati": { "command": "npx", "args": ["-y", "saripati", "mcp"] }
  }
}

重启你的 AI 宿主。首次 recall/save 会一次性下载约 90 MB 的嵌入模型,之后永久离线工作。

2. 单一二进制文件(无需 Node)

Releases 页面下载适用于你平台的 saripati,并将宿主配置指向它。


工具

工具

功能

save_research

存储结构化发现:主题、发现、来源、置信度、标签。

remember

捕获笔记、决策或可复用的模式。

recall

对所有累积内容进行混合语义 + 关键词搜索。

corpus_status

查看知识库内容:数量、热门主题、新鲜度。

session_boot

加载连续性——上次会话、近期条目、活跃项目。

session_save

写入包含后续步骤的会话摘要。

project_upsert / project_list

轻量级项目注册表(元数据合并)。

典型流程:AI 用自己的工具进行网络研究 → 调用 save_research → 下周你(或 AI)recall 它 → 打开仪表盘查看并导出。


仪表盘

npx saripati ui        # opens http://localhost:4319

浏览和搜索语料库,查看条目及其来源,观察随时间变化的活动,并将任何筛选视图导出为 Markdown(可从浏览器打印为 PDF)。只读;它读取与 MCP 服务器写入的同一个知识库。


工作原理

AI host (its own web tools)  ──stdio/MCP──▶  saripati mcp
                                                 │
                    embed (MiniLM 384d) ─────────┤
                    hybrid search (vec ∪ FTS5) ──┤
                                                 ▼
                                    ~/.saripati/vault.db  (SQLite)
                                                 ▲
                                    saripati ui ─┘ (read-only dashboard)
  • 存储: 通过 better-sqlite3 使用 SQLite。

  • 向量: sqlite-vec(vec0)——嵌入经过 L2 归一化,因此 KNN 排序效果类似余弦。

  • 关键词: SQLite FTS5。

  • 融合: 倒数排名融合(Reciprocal Rank Fusion)结合两个排名。

  • 嵌入: @xenova/transformers 在进程内运行 all-MiniLM-L6-v2。

数据默认存放在 ~/.saripati/ 中(可通过 SARIPATI_HOMESARIPATI_DB 覆盖)。


开发

npm install
npm run build      # tsc → dist/
npm test           # end-to-end smoke test
npm run dev -- mcp # run from source via tsx

许可证

MIT © Kyou

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides local vector-based semantic memory storage for AI assistants to persist context and decisions across sessions using local embeddings and LanceDB. It enables private semantic search and session handoff capabilities to maintain long-term project context.
    70
    5
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides persistent AI agent memory using a local vector database for long-term semantic storage and short-term session scratchpads. It enables low-latency memory operations including search, storage, and bulk management without external cloud dependencies.
  • A
    license
    A
    quality
    D
    maintenance
    Gives any AI tool persistent, searchable memory across sessions using hybrid semantic and keyword search, running 100% locally with no API keys or cloud dependencies.
    6
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI assistants with persistent memory across sessions using local SQLite and keyword search, allowing storage and retrieval of user preferences, project context, and decisions.
    12
    8
    MIT

View all related MCP servers

Related MCP Connectors

  • Persistent memory for AI agents. Search, store, and recall across sessions.

  • Long-term memory for AI assistants. Hybrid retrieval, query expansion, auto-topics.

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kyouscireul/saripati'

If you have feedback or need assistance with the MCP directory API, please join our Discord server