Skip to main content
Glama
io.github.AS-XS/ai-pensieve-mcp

io.github.AS-XS/ai-pensieve-mcp

by AS-XS

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:

uvx ai-pensieve

For a persistent command:

pipx install ai-pensieve
pensieve

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

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.

Related MCP server: ThreadShelf MCP Server

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables semantic search across conversation archives via MCP, allowing AI clients to retrieve relevant past conversations using vector embeddings and text fallback.
      20 npm
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching and retrieving ChatGPT and Claude conversation exports locally, allowing assistants to fetch handoff context and continue conversations through read-only MCP tools.
      MIT