Skip to main content
Glama
EmjayAhn

Pensieve MCP Server

by EmjayAhn

Pensieve MCP Server

A MCP (Model Context Protocol) server that enables conversation history sharing between ChatGPT and Claude with multi-user support and cloud deployment.

Features

  • Multi-user Support: Each user has their own isolated conversation space

  • Authentication: Secure JWT-based authentication

  • Cloud Deployment: Deploy to Azure Container Apps

  • Save Conversations: Store conversation history securely

  • Load Conversations: Retrieve saved conversations by ID

  • List Conversations: View all saved conversations

  • Search Conversations: Search conversation content by keywords

  • Append to Conversations: Add new messages to existing conversations

Related MCP server: Conversation Handoff MCP

Installation

  1. Clone the repository:

git clone <repository-url>
cd pensieve-mcp
  1. Install dependencies:

uv pip install -e .

Usage in Claude

  1. Open Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. Add the following configuration:

{
  "mcpServers": {
    "pensieve-mcp": {
      "command": "uv",
      "args": ["run", "python", "-m", "mcp_server.server"],
      "cwd": "/path/to/pensieve-mcp"
    }
  }
}
  1. Restart Claude Desktop

Usage Examples

Save Conversation

Use the save_conversation tool to save the current conversation. You can add metadata like title or tags.

Load Conversation

Use the load_conversation tool to retrieve a previous conversation by its ID.

Search Conversations

Use the search_conversations tool to find conversations containing specific keywords.

Architecture

Local Mode

Conversation data is stored as JSON files in the ~/.pensieve-mcp/conversations/ directory.

Cloud Mode (Azure)

  • API Server: FastAPI backend deployed on Azure Container Apps

  • Database: Azure Cosmos DB (MongoDB API)

  • Authentication: JWT-based user authentication

  • MCP Client: Connects to the cloud API

Azure Deployment

  1. Prerequisites:

    • Azure CLI installed and logged in

    • Docker installed

  2. Deploy to Azure:

    cd deploy
    ./deploy-azure.sh
  3. Configure MCP client: Set the API URL in your environment:

    export PENSIEVE_API_URL="https://your-api-url.azurecontainerapps.io"

Using with Authentication

  1. Register a new account:

    Use the 'register' tool with your email and password
  2. Login:

    Use the 'login' tool with your credentials
  3. Your token will be automatically saved for subsequent requests.

Install Server
F
license - not found
B
quality
D
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
    -
    quality
    A
    maintenance
    Enables searching and retrieving Claude Code conversation history that would otherwise expire after 30 days. Supports full-text search, semantic search, and session management with automatic backup of all conversations.
    Last updated
    18
    28
    MIT
  • F
    license
    A
    quality
    -
    maintenance
    An AI conversation management layer that enables creating chat sessions, persisting message history to GitHub, and performing semantic searches over past interactions. It supports multi-turn threading and context injection to integrate external memory sources into Claude conversations.
    Last updated
    12
  • A
    license
    -
    quality
    F
    maintenance
    Provides Claude with long-term memory by indexing conversation history, enabling semantic search, decision tracking, and cross-project search.
    Last updated
    21
    29
    MIT

View all related MCP servers

Related MCP Connectors

  • Persistent context for Claude. Your AI always knows your projects and next actions across sessions.

  • Cross-AI personal memory. Save once in ChatGPT, recall in Claude, Mistral, Grok, or any MCP client.

  • Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.

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/EmjayAhn/pensieve-mcp'

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