AI Pensieve MCP

Official registry Search and web

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package ai-pensieve-mcp
Claude Code
claude mcp add ai-pensieve-mcp -- uvx ai-pensieve-mcp==0.2.0 '<database>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ai-pensieve-mcp": {
            "command": "uvx",
            "args": [
                "ai-pensieve-mcp==0.2.0",
                "<database>"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. AI Pensieve MCP
  2. Install
  3. Use the desktop
  4. Connect an AI client

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.

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.

Frequently asked questions

What is AI Pensieve MCP?

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

How do I install AI Pensieve MCP?

It runs on your machine. In Claude Code: claude mcp add ai-pensieve-mcp -- uvx ai-pensieve-mcp==0.2.0 '<database>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does AI Pensieve MCP need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is AI Pensieve MCP open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Who maintains AI Pensieve MCP?

It is published by AS-XS. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.