Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unforget_mcp-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unforget_mcp-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for unforget_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c16f9deab296526a00782d94d8f315868bf9efe40060c8f8ca70e19eb614ab76
MD5 07bb370e1c24b0acb9bb01a65918fc25
BLAKE2b-256 7fa38086baf5f6820323002481ea349d186fd5e17ab2c4db13c82efbcc8c13d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for unforget_mcp-0.1.0.tar.gz:

Publisher: publish.yml on unforget-ai/unforget-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for unforget_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54270d9255141fdb16fab859e34c2a2f4e815857b7f6cfcb57af608b355d98bd
MD5 a8385d9d916e6884f85f00f546cb4848
BLAKE2b-256 0356cbd5a25a75a9198719ddb2ece69c74c14c27e68aaac6bb31c242de6060c8

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page