Deploy MCP Server
Database Basic Auth

Neo4j REST API

Native graph database with powerful Cypher query language

Neo4j is a high-performance native graph database that stores data as nodes and relationships rather than tables. Developers use Neo4j's REST API to execute Cypher queries, manage graph data structures, and build applications requiring complex relationship traversal, recommendation engines, fraud detection, and knowledge graphs. It excels at handling connected data scenarios where traditional relational databases struggle.

Base URL http://localhost:7474/db/neo4j/tx

API Endpoints

MethodEndpointDescription
POST/commitExecute one or more Cypher statements in a single transaction and commit immediately
POST/Open a new transaction and execute Cypher statements without committing
POST/{transactionId}/commitCommit an open transaction by its transaction ID
DELETE/{transactionId}Rollback an open transaction
GET/Get service root and available endpoints
POST/cypherExecute a single Cypher query (legacy endpoint)
GET/schema/constraintList all constraints defined in the database
GET/schema/indexList all indexes defined in the database
POST/schema/constraintCreate a new constraint on nodes or relationships
POST/schema/indexCreate a new index on node properties
GET/node/{nodeId}Retrieve a node by its internal ID
POST/nodeCreate a new node with optional properties and labels
DELETE/node/{nodeId}Delete a node by its internal ID
GET/relationship/{relationshipId}Retrieve a relationship by its internal ID
POST/node/{nodeId}/relationshipsCreate a relationship between two nodes

Code Examples

curl -X POST http://localhost:7474/db/neo4j/tx/commit \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Basic bmVvNGo6cGFzc3dvcmQ=' \
  -d '{
    "statements": [
      {
        "statement": "MATCH (n:Person {name: $name}) RETURN n",
        "parameters": {
          "name": "Alice"
        }
      }
    ]
  }'

Connect Neo4j to AI

Deploy a Neo4j MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Neo4j through these tools:

execute_cypher_query Execute a Cypher query against the Neo4j database and return results in a structured format
create_graph_nodes Create multiple nodes with specified labels and properties in a single transaction
find_shortest_path Find the shortest path between two nodes using Cypher's shortest path algorithms
analyze_graph_patterns Analyze graph patterns and relationships to discover insights about connected data
manage_graph_schema Create, list, or delete indexes and constraints to optimize graph queries

Deploy in 60 seconds

Describe what you need, AI generates the code, and IOX deploys it globally.

Deploy Neo4j MCP Server →

Related APIs