Skip to content
Cursor

longmem for Cursor

io.github.marerem/longmem

Persistent cross-project memory for Cursor and Claude Code using local semantic search.

client:Cursor transport:stdio runtime:pypi

Install longmem in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "longmem": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "longmem"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

longmem in other clients