Nan MCP Server

Long-term memory for AI coding tools via vector search (Qdrant).

Local serverstdioGo

What is the Nan MCP Server?

Long-term memory for AI coding tools via vector search (Qdrant).

What you get

Your AI forgets everything when the session ends. NaN Forget fixes that.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
memory_syncLightweight session handshake: health check + stats + project list
memory_saveSave a memory (auto-called by Claude, proactively)
memory_searchSemantic search with 3-stage retrieval (depth 1-3)
memory_getFetch a specific memory by ID
memory_updateChange content, type, or tags
memory_archiveSoft-delete (hidden from search, never truly deleted)
memory_consolidateForce consolidation of aging memories
memory_cleanGarbage collection (decay, dedup, expiry, MEMORY.md sync)
memory_statsMemory health dashboard
memory_healthCheck if Ollama, REST API are running

How to install the Nan MCP Server

{
  "mcpServers": {
    "nan-forget": {
      "command": "npx",
      "args": ["-y", "nan-forget"],
      "env": {
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Nan to Retrieval.”
  • “Use Nan to Structure.”
  • “Use Nan to Cost.”

Frequently asked questions

Long-term memory for AI coding tools via vector search (Qdrant). Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.