Skip to main content
Glama
unforget-ai

Unforget MCP Server

Official
by unforget-ai

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

Related MCP server: ai-memory

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Persistent shared memory for AI agents. Hybrid search (pgvector + tsvector), knowledge graph, cognitive scoring, and 16-language temporal extraction. 97.2% Recall@10 on LongMemEval with one PostgreSQL query. Works across Claude Code, Cursor, Codex, OpenClaw, and any MCP client.
    114
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Persistent memory for any AI assistant. Zero token cost until recall. Stores memories in local SQLite, ranks by 6-factor scoring, returns results 79% smaller than JSON. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, and any MCP client.
    47
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Persistent memory for AI coding agents that stores and recalls preferences, decisions, and conventions via semantic similarity, with zero cloud dependencies and plug-and-play MCP integration for Claude Code.
    Apache 2.0

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/unforget-ai/unforget-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server