Neo4j MCP Server
Exposes a Neo4j graph database as MCP tools, enabling AI agents to run read and write Cypher queries.
README
Neo4j MCP Server
A Model Context Protocol server that exposes a Neo4j graph database as tools an AI agent can call. It serves the MCP protocol over HTTP, so it can be reached by any MCP client — including a Databricks Unity Catalog MCP connection.
Tools
| Tool | Purpose |
|---|---|
read_neo4j |
Run a read-only Cypher query (MATCH / RETURN). Write keywords are rejected. |
write_neo4j |
Run a write Cypher query (CREATE / MERGE / SET / DELETE). |
Requirements
- Node.js 20+
- A Neo4j database (e.g. Neo4j Aura)
Setup
npm install
cp .env.example .env # then fill in your Neo4j credentials + a secret token
npm run build
npm start # serves on http://localhost:3000
Endpoints:
GET /health— liveness checkPOST /mcp— the MCP endpoint (requiresAuthorization: Bearer <MCP_SECRET_TOKEN>)
Optional: npm run seed loads sample data into Neo4j.
Environment
See .env.example. Copy it to .env and fill in:
| Variable | Description |
|---|---|
NEO4J_URI |
Bolt/Aura connection URI, e.g. neo4j+s://<id>.databases.neo4j.io |
NEO4J_USERNAME |
Neo4j username |
NEO4J_PASSWORD |
Neo4j password |
PORT |
HTTP port (default 3000) |
MCP_SECRET_TOKEN |
Bearer token clients must present on /mcp |
.envis git-ignored. Never commit real credentials.
Exposing it to Databricks (or any remote client)
The server listens on localhost. To let a remote MCP client reach it during development, expose the port with a tunnel:
ngrok http 3000
Then register the public URL as a UC HTTP/MCP connection in Databricks, using
Authorization: Bearer <MCP_SECRET_TOKEN>. For production, host the server on a
reachable machine instead of a tunnel.
Project layout
neo4j-mcp-server/
├── src/
│ ├── index.ts # the MCP server (tools + HTTP transport)
│ └── seed.ts # optional sample-data seeder
├── package.json
├── tsconfig.json
├── .env.example
└── .gitignore
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.