Claude Code Memory MCP Server

A Neo4j-based Model Context Protocol (MCP) server that provides intelligent memory capabilities for Claude Code, enabling persistent knowledge

Local serverstdioPython

What is the Claude Code Memory MCP server?

Most developer tooling work still happens through a UI a human drives. Claude Code Memory MCP server moves it into the conversation instead. A Neo4j-based Model Context Protocol (MCP) server that provides intelligent memory capabilities for Claude Code, enabling persistent knowledge tracking, relationship mapping, and contextual development assistance.

The short version

This MCP server creates a sophisticated memory system that tracks Claude Code's activities, decisions, and learned patterns to provide contextual memory across sessions and projects. It uses Neo4j as a graph database to capture and analyze complex relationships between development concepts, solutions, and workflows.

The tools it exposes

The server publishes 2 tools. What each one is for:

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What it needs from you

Configuration is passed through the environment: NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.10 or higher - Neo4j database (local or cloud) - Claude Code with MCP support

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Claude Code Memory's toolset — Prerequisites, Setup — is a fair guide to whether it matches your workflow. It is maintained by ViralV00d00; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
Setup1. Clone the repository: bash git clone https://github.com/viralvoodoo/claude-code-memory.git cd claude-code-memory

How to install the Claude Code Memory MCP server

{
  "mcpServers": {
    "claude-memory": {
      "command": "python",
      "args": ["-m", "claude_memory.server"],
      "env": {
        "NEO4J_URI": "bolt://localhost:7687",
        "NEO4J_USER": "neo4j",
        "NEO4J_PASSWORD": "your-password"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10 or higher - Neo4j database (local or cloud) - Claude Code with MCP support
VariableDescriptionRequired
NEO4J_URIConfiguration value read at startup.Optional
NEO4J_USERConfiguration value read at startup.Optional
NEO4J_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • Use Claude Code Memory to Prerequisites.
  • Use Claude Code Memory to Setup.

Frequently asked questions

It connects Claude Code Memory to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Prerequisites, Setup) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Claude Code Memory directly.