Skip to content
appsgit

MCP Neo4j Memory

MCP Neo4j Memory is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP Neo4j Knowledge Graph Memory Server. It has 988 GitHub stars, is released under the MIT license and runs locally with uvx mcp-neo4j-memory.

github.com/neo4j-contrib/mcp-neo4j (opens in a new tab)

  • Official
  • Needs API key
  • Databases
  • MIT
  • Actively maintained

Install MCP Neo4j Memory

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "mcp-neo4j-memory": {
      "command": "uvx",
      "args": [
        "mcp-neo4j-memory"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value --transport stdio mcp-neo4j-memory -- uvx mcp-neo4j-memory

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "mcp-neo4j-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-neo4j-memory"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "neo4j_password",
      "description": "NEO4J_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "mcp-neo4j-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-neo4j-memory"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "${input:neo4j_password}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
NEO4J_URIYesNeo4j connection URI
NEO4J_USERNAMEYesNeo4j username
NEO4J_PASSWORDsecretYesNeo4j password
NEO4J_DATABASENoNeo4j database name
NEO4J_NAMESPACENoTool namespace prefix

Tools (19)

Parsed from the Tools section of the README; check the repository for the current list.

  • read_graph
  • search_nodes
  • query

    Search query matching names, types, observations

  • find_nodes
  • names

    Entity names to retrieve

  • create_entities
  • entities

    Array of objects with:

  • type

    Type of the entity

  • observations

    Initial observations about the entity

  • delete_entities
  • create_relations
  • relations

    Array of objects with:

  • source

    Name of source entity

  • target

    Name of target entity

  • delete_relations
  • add_observations
  • contents

    Observations to add

  • delete_observations
  • deletions

    Array of objects with:

About MCP Neo4j Memory

mcp-name: io.github.neo4j-contrib/mcp-neo4j-memory A Model Context Protocol (MCP) server implementation that provides persistent memory capabilities through Neo4j graph database integration.

  • database
  • mcp
  • mcp-server
  • neo4j
  • stdio

FAQ

MCP Neo4j Memory FAQ

Still curious? Email info@appsgit.com.

What is MCP Neo4j Memory?

MCP Neo4j Memory is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP Neo4j Knowledge Graph Memory Server. It has 988 GitHub stars, is released under the MIT license and runs locally with uvx mcp-neo4j-memory. The source code is at github.com/neo4j-contrib/mcp-neo4j.

How do I install the MCP Neo4j Memory MCP server?

Add the command uvx mcp-neo4j-memory to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is MCP Neo4j Memory free?

The server is open source under the MIT license, so running it is free. It needs credentials (NEO4J_PASSWORD) for the service it connects to, which may require a paid account.

Is MCP Neo4j Memory actively maintained?

The most recent commit was on Sep 9, 2026. The latest release is mcp-neo4j-cypher-v0.6.0, published Apr 10, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.