Skip to main content

Neo4j MCP server

Project description

Neo4j MCP

Neo4j MCP gives AI assistants and LLM-powered tools direct, structured access to your Neo4j graph database. By implementing the Model Context Protocol (MCP), it acts as a bridge between any MCP-compatible client, such as Claude, Cursor, or VS Code with MCP support, and your Neo4j instance.

Features

  • Explore your graph schema - discover node labels, relationship types, and property keys
  • Let AI reason on your data model without prior knowledge
  • Run Cypher queries - execute, read, and write queries against your database in response to natural language prompts
  • Inspect and analyze data - retrieve nodes, relationships, and paths to answer questions, generate summaries, or feed data to other workflows

Tools

  • get-schema — introspect labels, relationship types, property keys
  • read-cypher — execute read-only Cypher queries that do not modify database data, enforced via EXPLAIN and Neo4j's query-type classification. Note: custom procedures or functions incorrectly classified as read-only by Neo4j may bypass this check; ensuring correct classification is the responsibility of the procedure/function maintainer.
  • write-cypher — execute write Cypher queries (disabled if NEO4J_READ_ONLY=true)
  • list-gds-procedures — list available GDS procedures

Installation

Install with PyPI:

pip install neo4j-mcp-server

Otherwise see MCP documentation -> Installation.

Server configuration (VSCode)

Create / edit mcp.json:

{
  "servers": {
    "neo4j": {
      "type": "stdio",
      "command": "python",
      "args": ["-m", "neo4j_mcp_server"],
      "env": {
        "NEO4J_URI": "bolt://localhost:7687",
        "NEO4J_USERNAME": "neo4j",
        "NEO4J_PASSWORD": "password",
        "NEO4J_DATABASE": "neo4j",
        "NEO4J_READ_ONLY": "true",
        "NEO4J_TELEMETRY": "false",
        "NEO4J_LOG_LEVEL": "info",
        "NEO4J_LOG_FORMAT": "text",
        "NEO4J_SCHEMA_SAMPLE_SIZE": "100"
      }
    }
  }
}

See MCP documentation > Configuration for more details.

Links

For issues and feedback, you can also create a GitHub issue with reproduction details (omit sensitive data).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

neo4j_mcp_server-1.5.3-py3-none-win_arm64.whl (9.4 MB view details)

Uploaded Python 3Windows ARM64

neo4j_mcp_server-1.5.3-py3-none-win_amd64.whl (10.3 MB view details)

Uploaded Python 3Windows x86-64

neo4j_mcp_server-1.5.3-py3-none-manylinux_2_17_x86_64.whl (10.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

neo4j_mcp_server-1.5.3-py3-none-manylinux_2_17_aarch64.whl (9.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

neo4j_mcp_server-1.5.3-py3-none-macosx_11_0_arm64.whl (9.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

neo4j_mcp_server-1.5.3-py3-none-macosx_10_9_x86_64.whl (10.3 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file neo4j_mcp_server-1.5.3-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for neo4j_mcp_server-1.5.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 9a7a40f6d318a1fbfc98121f3fb6129b918f34967b063b2c6657cab74fd00f01
MD5 ce10d866845535650068309653601e71
BLAKE2b-256 4db99c3d0c6e70e63bc1cf58e719758164f8223dc14e0500c7535eaff0fd509b

See more details on using hashes here.

File details

Details for the file neo4j_mcp_server-1.5.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for neo4j_mcp_server-1.5.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e84c2e7113340ddd87da4e532a55f12dfc573fa9a6179efc226eb49f5c0a1d2a
MD5 3013553b67aa75ae842938e303217e80
BLAKE2b-256 37c1fa3ec3ecf7eb590311e4e7f828822a5ad27b04c200adda4a9fe4e1aba74b

See more details on using hashes here.

File details

Details for the file neo4j_mcp_server-1.5.3-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for neo4j_mcp_server-1.5.3-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f7846e6cc5cf02113d1a6efe5e702baf536a550295930571ac5220e71c6d5023
MD5 64ff4dec465184ee5516fcf0a7de7739
BLAKE2b-256 7cd29115678c1a9e7909e849222d7959a10c29b6cb16aaf14ffbf981e1ba67ff

See more details on using hashes here.

File details

Details for the file neo4j_mcp_server-1.5.3-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for neo4j_mcp_server-1.5.3-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6d691ae75e6ddddbf50ad78ee3b2afbab19c2c3a7cfd32518f056e72e354f92c
MD5 c93496ecc1b65d5487f66f44369053d1
BLAKE2b-256 96b614f710eb6387461e780ded4527f12c21c586d9446c42e508b9ed16d6a4ef

See more details on using hashes here.

File details

Details for the file neo4j_mcp_server-1.5.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for neo4j_mcp_server-1.5.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a9d7ef773620903617b09ec2036d38285dbd9226150191a6a2fad8968f57813
MD5 bb7f27fdd387aef67de9fbd3176c81b2
BLAKE2b-256 8d1bf33b4d91dda76bacb783214a55806f2980a9d99a486da0b2b2fda66b9b18

See more details on using hashes here.

File details

Details for the file neo4j_mcp_server-1.5.3-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for neo4j_mcp_server-1.5.3-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 536e2087ae6198609ae4ef7ac9f4a35112dd964d7bc4201a6260a7b26a64dfd2
MD5 5c8a454fb6820cb567516376fb56d82f
BLAKE2b-256 51e2983de84a5303c7faac3b083d2310987904fc11c7058cba8dc947ce903954

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