Skip to main content
Glama
henrychong-ai

Neo4j Knowledge Graph MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug mode (true/false)
LOG_LEVELNoLog level: debug, info, warn, error, silentwarn
NEO4J_URINoNeo4j server URIbolt://127.0.0.1:7687
RERANK_MODELNoReranker model name (optional)
RERANK_TOP_KNoDefault return count with reranker5
RERANK_TOP_NNoNumber of candidates for reranker scoring20
NEO4J_DATABASENoNeo4j database nameneo4j
NEO4J_PASSWORDYesNeo4j password (required)
NEO4J_USERNAMENoNeo4j usernameneo4j
OPENAI_API_KEYNoOpenAI API key (optional; alternative to EMBEDDING_API_KEY)
RERANK_API_KEYNoReranker API key (optional; falls back to EMBEDDING_API_KEY)
RERANK_ENABLEDNoEnable cross-encoder reranker (true/false)false
EMBEDDING_MODELNoEmbedding model name (optional)
RERANK_ENDPOINTNoReranker endpoint URL (optional)
EMBEDDING_API_KEYNoAPI key for alternative embedding provider (optional)
RERANK_ACCOUNT_IDNoReranker account ID (optional)
RERANK_TIMEOUT_MSNoReranker timeout in milliseconds5000
NEO4J_VECTOR_INDEXNoVector index nameentity_embeddings
EMBEDDING_DIMENSIONSNoEmbedding dimensions (must match NEO4J_VECTOR_DIMENSIONS) (optional)
EMBEDDING_API_BASE_URLNoBase URL for alternative embedding provider (optional)
EMBEDDING_API_ENDPOINTNoFull endpoint URL for alternative embedding provider (optional; overrides base URL)
OPENAI_EMBEDDING_MODELNoOpenAI embedding model nametext-embedding-3-small
EMBEDDING_BACKFILL_CRONNoCron schedule for embedding backfill0 19 * * *
NEO4J_VECTOR_DIMENSIONSNoVector dimensions1536
EMBEDDING_STALE_CLAIM_MSNoStale claim timeout in milliseconds300000
RERANK_MAX_PASSAGE_CHARSNoMax characters for reranker passage2000
WRITE_EMBEDDINGS_LOCALLYNoWhether to write embeddings locally (true/false)true
ENABLE_PROMETHEUS_METRICSNoEnable Prometheus metrics endpoint (true/false)false
NEO4J_SIMILARITY_FUNCTIONNoSimilarity function (cosine|euclidean)cosine

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_entitiesC

Create multiple new entities in your knowledge graph system

create_relationsC

Create multiple new relations between entities in your knowledge graph. Relations should be in active voice

add_observationsB

Add new observations to existing entities in your knowledge graph

delete_entitiesA

Delete multiple entities and their associated relations from your knowledge graph

delete_observationsB

Delete specific observations from entities in your knowledge graph

delete_relationsB

Delete multiple relations from your knowledge graph

get_relationC

Get a specific relation with its enhanced properties from your knowledge graph

update_relationC

Update an existing relation with enhanced properties in your knowledge graph

read_graphC

Read the entire knowledge graph system

search_nodesC

Search for nodes in your knowledge graph based on a query

open_nodesB

Open specific nodes in your knowledge graph by their names

semantic_searchB

Search for entities semantically using vector embeddings and similarity in your knowledge graph

get_entity_embeddingC

Get the vector embedding for a specific entity from your knowledge graph

create_entities_batchB

Create multiple entities in a single optimized batch operation (10-50x faster than individual creates)

create_relations_batchA

Create multiple relations in a single optimized batch operation (10-50x faster than individual creates)

add_observations_batchA

Add observations to multiple entities in a single optimized batch operation (10-50x faster than individual adds)

update_entities_batchB

Update multiple entities in a single optimized batch operation (10-50x faster than individual updates)

get_entity_historyB

Get the version history of an entity from your knowledge graph

get_relation_historyB

Get the version history of a relation from your knowledge graph

get_graph_at_timeB

Get your knowledge graph as it existed at a specific point in time

get_decayed_graphB

Get your knowledge graph with confidence values decayed based on time

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/henrychong-ai/mcp-neo4j-knowledge-graph'

If you have feedback or need assistance with the MCP directory API, please join our Discord server