MCP server for Unforget — long-term memory for Claude Code, Cursor, and any MCP client
Project description
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 --python python3.12
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unforget_mcp-0.1.0.tar.gz.
File metadata
- Download URL: unforget_mcp-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c16f9deab296526a00782d94d8f315868bf9efe40060c8f8ca70e19eb614ab76
|
|
| MD5 |
07bb370e1c24b0acb9bb01a65918fc25
|
|
| BLAKE2b-256 |
7fa38086baf5f6820323002481ea349d186fd5e17ab2c4db13c82efbcc8c13d2
|
Provenance
The following attestation bundles were made for unforget_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on unforget-ai/unforget-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unforget_mcp-0.1.0.tar.gz -
Subject digest:
c16f9deab296526a00782d94d8f315868bf9efe40060c8f8ca70e19eb614ab76 - Sigstore transparency entry: 1192896488
- Sigstore integration time:
-
Permalink:
unforget-ai/unforget-mcp@4f1dd7f8580a896fe48cc9c68132b5eec4742a89 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unforget-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4f1dd7f8580a896fe48cc9c68132b5eec4742a89 -
Trigger Event:
release
-
Statement type:
File details
Details for the file unforget_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: unforget_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54270d9255141fdb16fab859e34c2a2f4e815857b7f6cfcb57af608b355d98bd
|
|
| MD5 |
a8385d9d916e6884f85f00f546cb4848
|
|
| BLAKE2b-256 |
0356cbd5a25a75a9198719ddb2ece69c74c14c27e68aaac6bb31c242de6060c8
|
Provenance
The following attestation bundles were made for unforget_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on unforget-ai/unforget-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unforget_mcp-0.1.0-py3-none-any.whl -
Subject digest:
54270d9255141fdb16fab859e34c2a2f4e815857b7f6cfcb57af608b355d98bd - Sigstore transparency entry: 1192896574
- Sigstore integration time:
-
Permalink:
unforget-ai/unforget-mcp@4f1dd7f8580a896fe48cc9c68132b5eec4742a89 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unforget-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4f1dd7f8580a896fe48cc9c68132b5eec4742a89 -
Trigger Event:
release
-
Statement type: