AI Pensieve MCP

io.github.AS-XS由 GitHub 账号 AS-XS 发布v0.2.0更新于 Oct 24, 2026

Search and cross-reference local AI chat history with read-only tools and source citations.

已验证STDIO仅桌面文件与存储知识与记忆

概览

AI 生成的概览

只读 MCP 服务器,让助手在本地导入的 AI 聊天记录中搜索并交叉比对,并给出出处引用。

可以做什么
  • 按关键词搜索本地导入的 AI 对话存档,并阅读命中的原始会话。
  • 跨不同 AI 服务商交叉比对同一话题的讨论,比较其中记录的结论。
  • 在回答中附上来源会话与日期,便于引用出处。
  • 仅基于本地快照工作,新对话需重新导入或刷新后才会出现。
适用场景
适合已从多个 AI 服务商导出聊天记录、希望助手回忆过往讨论、追溯某个决定出自哪次对话,或跨工具比较回答的场景,且不想把存档上传到外部服务。
运行要求
需要本地 Python 环境与 uv 或 uvx(桌面版可用 pipx);MCP 服务器以现有 archive.sqlite 文件的绝对路径启动。需先导入存档,通常通过单独的桌面应用读取导出的文件或文件夹。未声明账号、API 密钥或环境变量。
安装前请注意
检索到的片段可能被发送给客户端所连接的 AI 服务商,私密对话可能因此离开本机。存档是快照,需重新导入才能保持最新。导入的源文件不会被修改。MCP 工具据称只读,但桌面端的导入步骤会写入本地存档。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AI Pensieve MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

AI Pensieve MCP

中文版:README · 客户端设置 · 用户指南

Search your imported AI conversations locally, either through the illustrated desktop room or from an MCP client.

Privacy: the archive stays on your computer and MCP tools are read-only. Retrieved excerpts may be sent to the AI provider connected to your client. How your data is handled

Install

Open the desktop with uv:

sh
uvx ai-pensieve

For a persistent command:

sh
pipx install ai-pensievepensieve

To run only the read-only MCP server against an existing archive:

sh
uvx ai-pensieve-mcp /absolute/path/to/archive.sqlite

See the package installation guide for client setup, platform requirements, persistent archive locations, and source installation.

Use the desktop

  1. Open the wooden door and touch the Pensieve.
  2. Choose Import a memory, then select a provider bottle, Unmarked for auto-detection, or Find & import local sessions.
  3. Choose an exported file or folder, inspect the selection, and pour it into the basin. The original files stay unchanged.
  4. Choose Search the waters, search by keyword, and open a smoke result to read the original thread.

The GUI imports ChatGPT, Claude, Gemini, DeepSeek, Grok, and supported coding sessions. NotebookLM currently provides notebook metadata only. See the full compatibility matrix and export guide.

Connect an AI client

Import an archive first, then follow AI client setup and check the client verification status. Version 0.2.0 adds shelf → Connect to an AI for copyable setup and pensieve --demo to try invented memories in a temporary archive. Try prompts such as:

Search my archive for discussions about machine learning. Show the source conversations and dates supporting your answer.

Find discussions of my project across different AI providers and compare the decisions recorded in them.

More example prompts and tool details.

The archive is a local snapshot: import or refresh again when new conversations should appear. For command-line imports, custom source folders, and revision and deduplication rules, see the user guide.

Licensed under Apache License 2.0.

来源:README.md,提交 6b0a3ed

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分