Neo4j MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NEO4J_URI | Yes | Neo4j connection URI | bolt://localhost:7687 |
| NEO4J_USER | Yes | Neo4j username | neo4j |
| NEO4J_DATABASE | No | Database name | neo4j |
| NEO4J_MCP_HOST | No | HTTP host (for streamable-http/sse) | 0.0.0.0 |
| NEO4J_MCP_PORT | No | HTTP port (for streamable-http/sse) | 8080 |
| NEO4J_PASSWORD | Yes | Neo4j password | |
| NEO4J_MCP_TRANSPORT | No | Transport: stdio, sse, streamable-http | stdio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| neo4j_searchA | Search for nodes in Neo4j. Provide ONE of:
Args: label: Node label to filter by (e.g. "Comprovante", "Pessoa"). properties: Optional dict of exact property matches {key: value}. query: Free-text search across all string properties (LIKE %query%). limit: Maximum results to return (default 25, max 100). |
| neo4j_search_relationshipsA | Search for relationships (edges) in Neo4j. Finds patterns (from_node)-[rel]->(to_node) matching the given filters. Args: from_label: Label of the source node. from_properties: Property filters on the source node. rel_type: Relationship type to match (e.g. "PAGOU", "PERTENCE"). to_label: Label of the target node. to_properties: Property filters on the target node. limit: Maximum results (default 25, max 100). |
| neo4j_insertB | Create a node in Neo4j. Args: label: Node label (e.g. "Comprovante", "Pessoa", "Categoria"). properties: Node properties as key-value pairs. |
| neo4j_insert_relationshipA | Create a relationship between two existing nodes (matched by label + properties). Args: from_label: Label of the source node. from_properties: Properties to match the source node (must be unique). rel_type: Relationship type (e.g. "PAGOU", "PERTENCE"). to_label: Label of the target node. to_properties: Properties to match the target node (must be unique). rel_properties: Optional properties on the relationship itself. |
| neo4j_updateA | Update properties on nodes matching label + match_properties. Args: label: Node label to match. match_properties: Properties to identify the node(s). update_properties: Properties to set/update on matched nodes. |
| neo4j_deleteA | Delete nodes matching label + match_properties. Args: label: Node label to match. match_properties: Properties to identify the node(s). detach: If True, delete node even if it has relationships (DETACH DELETE). |
| neo4j_schemaA | Introspect the Neo4j database schema. Returns labels, relationship types, indexes, and constraints. |
| neo4j_queryA | Execute a raw Cypher query against Neo4j. WARNING: This tool allows arbitrary Cypher execution. Use with caution. Prefer the structured tools (neo4j_search, neo4j_insert, etc.) when possible. Args: query: Cypher query string. parameters: Optional query parameters. write: Set True for write queries (CREATE, MERGE, DELETE, SET, etc.). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/alvaropaco/neo4j-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server