Skip to main content
MCP server CX Codex

Graphmem — Claude Code MCP server: what it does, how to install

Shared local memory for coding agents using SQLite and semantic retrieval. Keeps project conventions and context across sessions.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add graphmem -- npx -y @sonic182/graphmem
Open on GitHub

What Graphmem does

Graphmem preserves project context across agent sessions. Data stays locally in SQLite at ~/.graphmem. Records bind to the active Git repository or a global scope, while reading covers both zones.

The binary bundles code navigation tools that work without embeddings: symbol lookup and diffing across Git revisions. Setting GRAPHMEM_CODE=off disables this code analysis entirely.

Linux release binaries require glibc 2.39 and OpenSSL 3. Without git on your PATH, the server fails to detect repository boundaries and defaults writes to the global scope.

What it helps with

  • persist project architectural decisions across agent sessions
  • share conventions between different coding tools through a single SQLite file
  • locate symbol definitions and source ranges across the repository
  • inspect symbol changes between Git branches or revisions

Example prompts for the agent

  • Remember that integration tests must run with nextest under convention type
  • Search memory for our database migration guidelines
  • Inspect the structure of src/application/code.rs using code_outline

How to install Graphmem

Platform CLI

claude mcp add graphmem -- npx -y @sonic182/graphmem

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Graphmem

How do I install Graphmem in Claude Code?

Run claude mcp add graphmem -- npx -y @sonic182/graphmem in your terminal.

What does Graphmem do?

It provides local SQLite memory with semantic search for coding assistants and includes tools to navigate code definitions.

What are the system requirements on Linux?

Prebuilt binaries require glibc 2.39 and OpenSSL 3. You also need git installed on your PATH for repository scoping.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor