Skip to main content
The neo4j MCP adapter connects over Bolt with a URI, username, password, and optional target database name. It provides read-only and write Cypher execution, schema introspection (labels, relationship types, property keys), and a connectivity ping. Use it for relationship analytics, knowledge graphs, recommendation pipelines, org-chart lookups, and graph-aware agents — often feeding tabular summaries into Postgres or MySQL.

Prerequisites

  • A Neo4j database (self-hosted, Aura, or compatible) reachable over Bolt
  • Bolt URI (bolt://, bolt+s://, neo4j://, or neo4j+s://)
  • Database username and password with appropriate roles
  • Optional target Database name for multi-database deployments (Neo4j 4+)
  • project_contributor access

Connect in AgentRuntime

1

Create a connection

Go to Connections and click New custom connection to create a connection with your Neo4j Bolt credentials:
  • URI — e.g. bolt+s://xxxx.databases.neo4j.io (Aura) or bolt://localhost:7687
  • Username / Password — database authentication
  • Database — target database name (optional; defaults to neo4j)
2

Add neo4j MCP instance

Go to MCP, click Add instance for neo4j, wire your connection on Instance config, set the profile active, and save.
3

Test with a ping

Add a workflow with mcp_callneo4j_ping. Run it to confirm Bolt connectivity before Cypher queries.
4

Inspect graph schema (optional)

Run mcp_callneo4j_schema to list labels, relationship types, and property keys before building traversal queries.
See Authentication for binding connections to MCP instances.

What you can build

  • Recommendation engineneo4j_query_read traverse product → category → co-purchase paths → LLM ranks suggestions.
  • Org chart lookupneo4j_query_read on (:Person)-[:REPORTS_TO*]->(:Person) → answer manager-chain questions in Autopilot.
  • Graph enrichment — External API data → neo4j_execute_write MERGE nodes and relationships from webhook payloads.
  • Schema-aware agentsneo4j_schema list labels and relationship types → grounded Cypher generation with read-only queries.

Tools

Example

Find collaborators two hops away from a user:
Reference graph results in a downstream step:

Configuration

Troubleshooting