Skip to main content
Glama
alvaropaco

Neo4j MCP Server

by alvaropaco

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEO4J_URIYesNeo4j connection URIbolt://localhost:7687
NEO4J_USERYesNeo4j usernameneo4j
NEO4J_DATABASENoDatabase nameneo4j
NEO4J_MCP_HOSTNoHTTP host (for streamable-http/sse)0.0.0.0
NEO4J_MCP_PORTNoHTTP port (for streamable-http/sse)8080
NEO4J_PASSWORDYesNeo4j password
NEO4J_MCP_TRANSPORTNoTransport: stdio, sse, streamable-httpstdio

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
neo4j_searchA

Search for nodes in Neo4j.

Provide ONE of:

  • label + optional properties: finds nodes by label and property match

  • query: free-text / semantic-like search across all string properties

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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