Back to Home
neo4j icon

mcp

Verified Safe

by neo4j

Overview

Provides a Model Context Protocol (MCP) server for Neo4j, enabling LLMs to interact with the database via defined tools.

Installation

Run Command
neo4j-mcp

Environment Variables

  • NEO4J_URI
  • NEO4J_USERNAME
  • NEO4J_PASSWORD
  • NEO4J_DATABASE
  • NEO4J_READ_ONLY
  • NEO4J_TELEMETRY
  • NEO4J_LOG_LEVEL
  • NEO4J_LOG_FORMAT
  • NEO4J_SCHEMA_SAMPLE_SIZE

Security Notes

The server uses environment variables for Neo4j credentials, redacts sensitive information in logs, and injects telemetry tokens at build time, demonstrating good security practices. The `read-cypher` tool includes query classification to enforce read-only operations, while the `write-cypher` tool, which allows arbitrary write operations, comes with explicit warnings about potential harm from LLM-generated queries and can be disabled via a read-only flag. This design acknowledges and mitigates inherent risks associated with executing arbitrary queries.

Similar Servers

Stats

Interest Score68
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars107
Forks16
Last Update2025-12-05

Tags

Neo4jGraph DatabaseMCPLLM IntegrationGo