Memory (Knowledge Graph) (official reference server)

MCP server by modelcontextprotocol · ★ 91.2k (shared repo) · updated 3 days ago

Memory & KnowledgeMaintainedOfficialOne-click install

Basic persistent memory using a local knowledge graph of entities, relations and observations, so the assistant can remember information about you across chats.

Install Memory (Knowledge Graph) (official reference server)

Choose your AI client and copy the config.

Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude.

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}
Before you install: Install command taken from the project README. Check the README for any required environment variables.

Related Memory & Knowledge servers

headroom

by headroomlabs-ai · Python

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

Memory & KnowledgeMaintained75.2k

private-gpt

by zylon-ai · Python

Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more. Works with any OpenAI-compatible inference server.

Memory & KnowledgeMaintainedRemote57.6k

context-mode

by mksglu · TypeScript

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.

Memory & KnowledgeMaintained27.9k

xberg

by xberg-io · Rust

Polyglot document intelligence with a Rust core: extract text, metadata, images, tables, and structured data from 106 formats across 140 file extensions, plus code intelligence for 371 languages. Fifteen bindings, with CLI, REST API, and MCP server.

Memory & KnowledgeMaintained9.4k

engram

by Gentleman-Programming · Go

Persistent memory system for AI coding agents. Agent-agnostic Go binary with SQLite + FTS5, MCP server, HTTP API, CLI, and TUI.

Memory & KnowledgeMaintained7.2k

gemini-notebook-mcp-cli

by jacob-bd · Python

Programmatic access to Gemini Notebook - via command-line interface (CLI), Model Context Protocol (MCP) server, and AI agent skills.

Memory & KnowledgeMaintained6.3k