mcp
Neo4j official MCP Server
Documentation
Neo4j MCP
Neo4j MCP gives AI assistants and LLM-powered tools direct, structured access to your Neo4j graph database.
By implementing the Model Context Protocol (MCP), it acts as a bridge between any MCP-compatible client, such as Claude, Cursor, or VS Code with MCP support, and your Neo4j instance.
Features
- Explore your graph schema - discover node labels, relationship types, and property keys
- Let AI reason on your data model without prior knowledge
- Run Cypher queries - execute, read, and write queries against your database in response to natural language prompts
- Inspect and analyze data - retrieve nodes, relationships, and paths to answer questions, generate summaries, or feed data to other workflows
Tools
- `get-schema` — introspect labels, relationship types, property keys
- `read-cypher` — execute read-only Cypher queries that do not modify database data, enforced via `EXPLAIN` and Neo4j's query-type classification. Note: custom procedures or functions incorrectly classified as read-only by Neo4j may bypass this check; ensuring correct classification is the responsibility of the procedure/function maintainer.
- `write-cypher` — execute write Cypher queries (disabled if `NEO4J_MCP_READ_ONLY=true`)
- `list-gds-procedures` — list available GDS procedures
Installation
Install with PyPI:
pip install neo4j-mcp-serverOtherwise see MCP documentation -> Installation.
Server configuration (VSCode)
Create / edit `mcp.json`:
{
"servers": {
"neo4j": {
"type": "stdio",
"command": "python",
"args": ["-m", "neo4j_mcp_server"],
"env": {
"NEO4J_MCP_URI": "bolt://localhost:7687",
"NEO4J_MCP_USERNAME": "neo4j",
"NEO4J_MCP_PASSWORD": "password",
"NEO4J_MCP_DATABASE": "neo4j",
"NEO4J_MCP_READ_ONLY": "true",
"NEO4J_MCP_TELEMETRY": "false",
"NEO4J_MCP_LOG_LEVEL": "info",
"NEO4J_MCP_LOG_FORMAT": "text",
"NEO4J_MCP_SCHEMA_SAMPLE_SIZE": "100"
}
}
}
}See MCP documentation > Configuration for more details.
Links
- Documentation: The official Neo4j MCP documentation.
- Discord: The Neo4j discord channel.
- Contributing Guide: Contribution workflow, development environment, mocks and testing.
For issues and feedback, you can also create a GitHub issue with reproduction details (omit sensitive data).
Frequently asked questions
What is mcp?
mcp is Neo4j official MCP Server
How do I install mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp open source?
Yes — it is hosted on GitHub at https://github.com/neo4j/mcp and has 286 stars.
Related MCP tools
eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard.
GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology, event timeline, Helm, GitOps, live service traffic, and cluster audits - all in one Go binary.
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.
The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. This MCP server for MATLAB supports a wide range of coding agents like Claude Code® and Visual Studio® Code.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP