Back to Home
guerinjeanmarc icon

mcp-neo4j-graphrag

Verified Safe

by guerinjeanmarc

Overview

Extends Neo4j with vector search, fulltext search, and search-augmented Cypher queries to build powerful GraphRAG applications.

Installation

Run Command
mcp-neo4j-graphrag

Environment Variables

  • NEO4J_URI
  • NEO4J_USERNAME
  • NEO4J_PASSWORD
  • EMBEDDING_MODEL
  • OPENAI_API_KEY

Security Notes

The server uses parameterized queries for values in most cases, mitigating standard injection risks. It explicitly checks for and prevents write Cypher queries. It includes robust output sanitization and token-aware truncation to prevent information overload or data leakage. However, the `return_properties` parameter in `vector_search` and `fulltext_search` is directly interpolated into the Cypher query, which is a minor theoretical risk if an LLM generates malicious property names, though property names are generally static schema elements. Additionally, `search_cypher_query` executes raw Cypher (read-only) provided by the LLM, relying on the LLM's adherence to safe patterns, which is a common but inherent risk in LLM agent design. Insecure default Neo4j credentials are a warning, requiring proper environment configuration for production use.

Similar Servers

Stats

Interest Score33
Security Score8
Cost ClassMedium
Avg Tokens8000
Stars2
Forks2
Last Update2026-01-13

Tags

Neo4jGraphRAGVector SearchFulltext SearchLLM Integration