Neo4j Memory MCP Server

A Model Context Protocol (MCP) server implementation that provides persistent memory capabilities through Neo4j graph database integration.

People connecting memory tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-04-10 · ★ 979 · #184 OF 848 MAINTAINED MEMORY · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install Neo4j Memory

before you install - you'll need

Set NEO4J_URL, NEO4J_USERNAME, NEO4J_PASSWORD, NEO4J_TRANSPORT, NEO4J_MCP_SERVER_HOST, NEO4J_MCP_SERVER_PORT, NEO4J_MCP_SERVER_PATH, NEO4J_NAMESPACE, NEO4J_MCP_SERVER_ALLOWED_HOSTS, NEO4J_URI, NEO4J_DATABASE before connecting. NEO4J_MCP_SERVER_ALLOW_ORIGINS is optional or environment-specific per the README.

Claude Code

claude mcp add neo4j-contrib-mcp-neo4j-servers-mcp-neo4 -- uvx mcp-neo4j-memory

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "neo4j-contrib-mcp-neo4j-servers-mcp-neo4": {
      "command": "uvx",
      "args": [
        "mcp-neo4j-memory"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package mcp-neo4j-memory - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.neo4j-contrib is GitHub-verified and matches the repo owner

03 · What Neo4j Memory can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

mcp-neo4j-cypher-v0.6.0 · 2026-04-10

v0.6.0 · Fixed · Fix startup ImportError caused by pydocket importing FakeConnection from fakeredis>=2.27 - cap fastmcp<2.14 to exclude the pydocket transitive dependency · Fix TypeError: str expected, not int in…

mcp-gemini-ext-v1.0.1 · 2026-03-18

use extension settings for Gemini CLI extension · New Contributors · @jackwotherspoon made their first contribution in

mcp-neo4j-memory-v0.4.5 · 2026-02-23

Changed · Security upgrade python from 3.11-slim to 3.13.8-slim · Change default MCP server endpoint from /api/mcp/ to /mcp/ · Lock FastMCP version to <3.x · New Contributors · @bryankthompson made their first…

04 · Who maintains Neo4j Memory

mcp-neo4j-memory is maintained by neo4j-contrib. We track 5 MCP servers from neo4j-contrib - 5 actively maintained, 1,075 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from neo4j-contrib.

  1. mcp-neo4j-cypher A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database. ★ 979
  2. mcp-neo4j-data-modeling A simple Neo4j MCP server for creating graph data models. ★ 979
  3. mcp-neo4j-aura-manager MCP server for Neo4j Aura Database Instance Manager. ★ 979
  4. Neo4j GDS Agent Neo4j Graph Data Science MCP server ★ 96

05 · Facts

category
memory - ranked #184 of 848 actively-maintained memory servers as of 2026-08-25.
registry
io.github.neo4j-contrib/mcp-neo4j-memory (active, first published 2025-11-07 · 4 versions)
packages
pypi:mcp-neo4j-memory

06 · Neo4j Memory FAQ

What is Neo4j Memory?

A Model Context Protocol (MCP) server implementation that provides persistent memory capabilities through Neo4j graph database integration.

Is Neo4j Memory still maintained?

Yes - as of 2026-08-25, its last commit was 2026-04-10. We re-verify nightly.

How do I install Neo4j Memory?

Run `uvx mcp-neo4j-memory`. The README documents 12 environment variables (NEO4J_URL, NEO4J_USERNAME, NEO4J_PASSWORD…) to set first. Set NEO4J_URL, NEO4J_USERNAME, NEO4J_PASSWORD, NEO4J_TRANSPORT, NEO4J_MCP_SERVER_HOST, NEO4J_MCP_SERVER_PORT, NEO4J_MCP_SERVER_PATH, NEO4J_NAMESPACE, NEO4J_MCP_SERVER_ALLOWED_HOSTS, NEO4J_URI, NEO4J_DATABASE before connecting. NEO4J_MCP_SERVER_ALLOW_ORIGINS is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Neo4j Memory run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Neo4j Memory

Pairs well with

Servers that cover what Neo4j Memory doesn't - only shown when the pairing reason fits the companion.

  1. Server Filesystem → filesystem companion filesystem · ★ 38,704
  2. X402 List MCP → filesystem companion filesystem · ★ 58