userInfoMcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
userInfoMcp - MCP Memory Server
A Model Context Protocol (MCP) server with persistent memory using Gemini AI and PostgreSQL.
Quick Start
Prerequisites: Docker Desktop and a Gemini API key
Clone and setup:
git clone https://github.com/Lcodeee/mcpWithUserPersonalContext.git cd mcpWithUserPersonalContext cp .env.example .envAdd your Gemini API key to
.env:LLM_API_KEY=your_gemini_api_key_here GEMINI_API_KEY=your_gemini_api_key_hereStart the system:
docker-compose up -dWait 2 minutes for initialization, then test:
docker-compose exec gemini_client python test_memory.py
or test interactively
docker-compose exec gemini_client python interactive-demo-test.pyChat with Gemini using MCP memory:
docker-compose exec gemini_client python advanced_gemini_client.pyThis starts an interactive chat where Gemini can:
Remember your conversations
Search through your stored memories
Answer questions using your personal context
Save new information automatically
Save conversations to files: In the interactive chat, use these commands:
!start_session <name>- Start recording conversation to markdown file!stop_session- Stop recording and save to/conversations/folder!export_session- Export current session without stopping!list_sessions- Show all saved conversation files
Features:
Conversations saved as readable markdown files
Files stored in local
conversations/folder (not committed to git)Timestamped entries with full conversation history
Survives container restarts
Example running:: Lees-MacBook-Pro:myserver Lee$ docker-compose exec gemini_client python advanced_gemini_client.py ╭────────────────────────────────────────────────────────╮ │ │ │ │ │ 🤖 Advanced Gemini + MCP-Mem0 Client │ │ │ │ Smart AI assistant with long-term memory │ │ Powered by Google Gemini 2.0 Flash + MCP Memory │ │ Server │ │ │ │ ✨ Features: │ │ • Smart conversation with Gemini │ │ • Automatic memory of all conversations │ │ • Search in previous memories │ │ • Relevant context for every question │ │ │ │ │ ╰────────────────────────────────────────────────────────╯
🔄 Checking MCP server connection... ❌ Connection failed: All connection attempts failed ⚠️ MCP server not accessible, using simulation mode 🤖 Initializing Gemini... ✅ Ready to chat!
💡 Type !help for commands or just start asking questions! 🚪 Type 'exit' to quit
🗣️ Your question: !start_session travel_to_paris
✅ Started session: session_2025-08-04_22-38_travel_to_paris
🗣️ Your question: plan a trip for me to paris, according to my hobbies and food prefrences
Stop the system properly:
docker-compose downThis command:
Stops all running containers gracefully
Removes containers but keeps your data
Preserves all memories in the database
Ensures clean restart next time
Note: Your memories are permanently stored and will be available when you restart!
Related MCP server: personal-ai-memory
What it does
Saves memories with semantic understanding
Searches memories using natural language
Retrieves all memories for context
Persists data in PostgreSQL with vector search
MCP Integration
Connect to Claude Desktop or other MCP clients:
{
"mcpServers": {
"memory": {
"transport": "sse",
"url": "http://localhost:8050/sse"
}
}
}API Endpoints
GET /- Health checkPOST /save_memory- Store informationPOST /search_memories- Find relevant memoriesGET /get_all_memories- Get all stored memories
Configuration
Edit .env file:
LLM_API_KEY- Your Gemini API key (required)PORT- Server port (default: 8050)DATABASE_URL- PostgreSQL connection (auto-configured)
Architecture
LLM: Gemini 2.0 Flash
Embeddings: HuggingFace sentence-transformers
Database: PostgreSQL with pgvector
Transport: HTTP/SSE
Troubleshooting
Server not responding: Wait 2+ minutes for initialization
API quota exceeded: Gemini free tier has daily limits
Port conflicts: Change PORT in .env file
That's it! The system handles everything else automatically.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Persistent personal memory for AI assistants — save, search, and recall across every MCP client.
Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables persistent memory storage and retrieval for MCP clients, allowing AI assistants to remember facts and context across conversations.MIT- AlicenseNot gradedqualityBmaintenanceProvides AI-assisted long-term memory storage and retrieval with exact-phrase and semantic hybrid search, enabling save, read, delete, and admin recovery via MCP tools.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to search personal memory, add notes, and retrieve entities through a hybrid graph/vector knowledge engine with provenance for retrieved results.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to retrieve relevant memories and save confirmed durable facts through authenticated access backed by PostgreSQL provenance and Qdrant semantic search.Apache 2.0