Skip to main content

MCP server for Neo4j graph database operations

Project description

neo4j-mcp

MCP server for Neo4j graph database operations.

Installation

uv pip install -e .

Usage

# Stdio mode (default)
neo4j-mcp serve

# HTTP mode
neo4j-mcp serve --http --port 3045

# With mock mode for testing
neo4j-mcp serve --mock

# With custom connection
neo4j-mcp serve --uri bolt://localhost:7687 --database neo4j

Tools

Queries:

  • run_cypher - Execute Cypher queries

Nodes:

  • create_node - Create a node
  • get_node - Get node by ID
  • delete_node - Delete a node
  • find_nodes - Find nodes by criteria

Relationships:

  • create_relationship - Create relationship
  • delete_relationship - Delete relationship

Paths:

  • find_paths - Find paths between nodes

Schema:

  • get_schema - Get database schema info

Configuration

Set via environment variables with NEO4J_MCP_ prefix:

  • NEO4J_MCP_URI - Neo4j URI (default: bolt://localhost:7687)
  • NEO4J_MCP_USER - Username (default: neo4j)
  • NEO4J_MCP_PASSWORD - Password
  • NEO4J_MCP_DATABASE - Database name (default: neo4j)
  • NEO4J_MCP_MOCK_MODE - Enable mock mode

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neo4j_mcp-0.1.1.tar.gz (222.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neo4j_mcp-0.1.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file neo4j_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: neo4j_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 222.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for neo4j_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 df71ee195095d2b1fd82068d2b8ea370ecf8b9f98826057a549b3d6b5e89aa66
MD5 78cb3bd86347a549c86b83a838de1345
BLAKE2b-256 0e97fbbd13b1f79e81748469e6416db3cc67d2dcd7a70e93c3684bea4ab97dbb

See more details on using hashes here.

File details

Details for the file neo4j_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: neo4j_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for neo4j_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3622834d83780a188d333b69c5806fd3cb908c9290494af99f80e0ea57d5b416
MD5 b6c067d129d8ad04410857fe9c1215cf
BLAKE2b-256 a7371e8e3136fcd6c5c7a1457ca39c8637bca9806271b148a4796fb155dd6a78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page