Unforget MCP Server
Long-term memory for Claude Code, Cursor, and MCP clients with zero-config embedded PostgreSQL. Stores and retrieves facts, preferences, and decisions using 4-channel semantic, BM25, entity, and temporal search with cross-encoder reranking.
README
Unforget MCP Server
Long-term memory for Claude Code, Cursor, and any MCP client. Zero LLM on write. Zero config.
Install
pipx install unforget-mcp
Setup
Claude Code
Add to your project's .mcp.json or global settings:
{
"mcpServers": {
"unforget": {
"command": "unforget-mcp",
"args": []
}
}
}
Cursor
Add to Cursor settings → MCP Servers:
{
"mcpServers": {
"unforget": {
"command": "unforget-mcp",
"args": []
}
}
}
VS Code (Copilot)
Add to .vscode/mcp.json:
{
"mcpServers": {
"unforget": {
"command": "unforget-mcp",
"args": []
}
}
}
That's it. No API keys, no Docker, no database setup. An embedded PostgreSQL starts automatically.
Tools
| Tool | Description |
|---|---|
memory_store |
Store a fact, preference, or decision |
memory_search |
Search memories with 4-channel retrieval |
memory_forget |
Delete memories by query or ID |
memory_list |
List all stored memories |
memory_update |
Update a memory (preserves history) |
Options
# Embedded mode (default — auto-starts PostgreSQL)
unforget-mcp
# External database
unforget-mcp --database-url postgresql://user:pass@localhost/db
# Custom scoping
unforget-mcp --org-id myorg --agent-id myagent
# SSE transport (for remote connections)
unforget-mcp --transport sse --port 8767
How It Works
Claude Code / Cursor / MCP Client
│ MCP protocol (stdio or SSE)
▼
unforget-mcp server
├── unforget core (4-channel retrieval, embedder, reranker)
└── pgserver (embedded PostgreSQL + pgvector)
- Memories persist in
~/.unforget/mcp-data/ - 4-channel retrieval: semantic + BM25 + entity + temporal
- Cross-encoder reranking for accuracy
- Zero LLM calls on write (~7ms per memory)
License
Apache 2.0
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.