Skip to main content
Glama

Neo4j MCP Server

Neo4j MCP Server

Fork of the Neo4j Model Context Protocol (MCP) server with environment variable support and improved configuration options.

Features

  • Environment variable configuration for Neo4j connection
  • Support for custom ports and remote Neo4j instances
  • Improved error handling and logging
  • Compatible with the Model Context Protocol

Configuration

The server can be configured using the following environment variables:

  • NEO4J_URL - Neo4j connection URL (default: "bolt://localhost:7687")
  • NEO4J_USER - Neo4j username (default: "neo4j")
  • NEO4J_PASSWORD - Neo4j password (default: "neo4j")

Example:

NEO4J_URL="bolt://192.168.0.157:28687" \ NEO4J_USER="neo4j" \ NEO4J_PASSWORD="your-password" \ node dist/servers/mcp-neo4j-memory/main.js

Available Tools

mcp-neo4j-memory

Knowledge graph memory stored in Neo4j with the following capabilities:

  • create_entities - Create multiple new entities in the knowledge graph
  • create_relations - Create relations between entities (in active voice)
  • add_observations - Add new observations to existing entities
  • delete_entities - Delete entities and their relations
  • delete_observations - Delete specific observations from entities
  • delete_relations - Delete specific relations
  • read_graph - Read the entire knowledge graph
  • search_nodes - Search for nodes based on a query
  • open_nodes - Open specific nodes by their names

Development

# Install dependencies npm install # Build npm run build # Start the server npm start

Changes from Upstream

  • Added environment variable support for Neo4j connection details
  • Improved error handling and connection management
  • Added detailed logging for debugging
  • Updated configuration to support remote Neo4j instances

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A fork of the Neo4j Model Context Protocol server that enables interaction with Neo4j knowledge graphs through environment variable configuration and improved options for remote connections.

  1. Features
    1. Configuration
      1. Available Tools
        1. mcp-neo4j-memory
      2. Development
        1. Changes from Upstream
          1. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.
              Last updated -
              111
              Python
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that enables graph database interactions with Neo4j, allowing users to access and manipulate graph data through natural language commands.
              Last updated -
              Python
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server implementation that enables LLMs to interact with NebulaGraph database for graph exploration, supporting schema understanding, queries, and graph algorithms.
              Last updated -
              18
              Python
              Apache 2.0
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server designed to facilitate Nextflow development and testing, providing tools for building from source, running tests, and managing the Nextflow development environment.
              Last updated -
              1
              Python
              • Apple
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/rebots-online/mcp-neo4j'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server