n2n-memory

n2ns/n2n-memory
★ 5 stars TypeScript AI/LLM Updated today
MCP Server for AI memory isolation. Project-local knowledge graph for Claude, Cursor, Windsurf, Antigravity, Augment, Roo Code and more. Privacy-first, Git-friendly.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "n2n-memory": {
      "command": "npx",
      "args": [
        "-y",
        "n2ns/n2n-memory"
      ]
    }
  }
}

README Excerpt

Project-local memory MCP server for AI coding agents. --- > **Context as code. Memory as asset.** n2n-memory is an open-source, local-first Model Context Protocol (MCP) memory server for AI coding assistants. It prevents cross-project memory pollution by storing durable project knowledge in `.mcp/memory.json` and active task context in `.mcp/context.json` inside each repository.

Tools (14)

commandn2n_add_entitiesn2n_add_observationsn2n_create_relationsn2n_delete_entitiesn2n_delete_observationsn2n_delete_relationsn2n_export_markdownn2n_get_graph_summaryn2n_open_nodesn2n_read_graphn2n_searchn2n_update_contextnpx

Topics

ai-assistantai-memoryantigravityaugmentclaudecursorcursor-aigeminigptide-extensionknowledge-graphmcpmodel-context-protocolnpm-packageroo-code