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
Installation
Clone the repository:
Install dependencies:
Usage in Claude
Open Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
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
Prerequisites:
Azure CLI installed and logged in
Docker installed
Deploy to Azure:
cd deploy ./deploy-azure.shConfigure MCP client: Set the API URL in your environment:
export PENSIEVE_API_URL="https://your-api-url.azurecontainerapps.io"
Using with Authentication
Register a new account:
Use the 'register' tool with your email and passwordLogin:
Use the 'login' tool with your credentialsYour token will be automatically saved for subsequent requests.
This server cannot be installed
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityIntegrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.Last updated -128143MIT License
- AsecurityAlicenseAqualityAn MCP server that enables saving and sharing Claude Desktop conversations, allowing users to store chats privately or make them public through a web interface.Last updated -11MIT License
- -securityFlicense-qualityMCP ChatGPT Responses connects Claude to ChatGPT through two essential tools: standard queries for AI-to-AI conversations and web-enabled requests for current information. It uses OpenAI's Responses API to maintain conversation state automatically.Last updated -14
- -security-license-qualityA tool that makes memories stored in ChatGPT accessible across various language models without requiring logins or paywalls.Last updated -