dbx
Query databases from AI agents using connections configured in DBX.
T8t8y2/dbx32k近 7 天新增 780 个 star
A simple Neo4j MCP server for creating graph data models.
mcp-name: io.github.neo4j-contrib/mcp-neo4j-data-modeling
A Model Context Protocol (MCP) server implementation that provides tools for creating, visualizing, and managing Neo4j graph data models. This server enables you to define nodes, relationships, and properties to design graph database schemas that can be visualized interactively.
This MCP server facilitates data modeling workflows like the one detailed below.

For an end to end demo using the Data Modeling and Cypher MCP servers to develop a data model, generate an ingest script, and validate use cases please check out this Github Repo.
The server provides these resources:
resource://schema/node
resource://schema/relationship
resource://schema/property
resource://schema/data_model
resource://examples/patient_journey_model
resource://examples/supply_chain_model
resource://examples/software_dependency_model
resource://examples/oil_gas_monitoring_model
resource://examples/customer_360_model
resource://examples/fraud_aml_model
resource://examples/health_insurance_fraud_model
resource://neo4j_data_ingest_process
The server offers these core tools:
validate_node
node (Node): The node to validatereturn_validated (bool, optional): If True, returns the validated node object instead of Truereturn_validated=True), raises ValueError if invalidvalidate_relationship
relationship (Relationship): The relationship to validatereturn_validated (bool, optional): If True, returns the validated relationship object instead of Truereturn_validated=True), raises ValueError if invalidvalidate_data_model
data_model (DataModel): The data model to validatereturn_validated (bool, optional): If True, returns the validated data model object instead of Truereturn_validated=True), raises ValueError if invalidget_mermaid_config_str
data_model (DataModel): The data model to visualizeThese tools provide integration with Arrows - a graph drawing web application for creating detailed Neo4j data models with an intuitive visual interface.
load_from_arrows_json
arrows_data_model_dict (dict): JSON dictionary from Arrows app exportexport_to_arrows_json
data_model (DataModel): The data model to exportload_from_owl_turtle
owl_turtle_str (str): OWL Turtle string representation of an ontologyexport_to_owl_turtle
data_model (DataModel): The data model to exportexport_to_pydantic_models
data_model (DataModel): The data model to exportexport_to_neo4j_graphrag_pkg_schema
data_model (DataModel): The data model to exportload_from_neo4j_graphrag_pkg_schema
neo4j_graphrag_python_package_schema (dict): Neo4j GraphRAG Python Package schema dictionaryThese tools provide access to pre-built example data models for common use cases and domains.
list_example_data_models
get_example_data_model
example_name (str): Name of the example to load ('patient_journey', 'supply_chain', 'software_dependency', 'oil_gas_monitoring', 'customer_360', 'fraud_aml', or 'health_insurance_fraud')These tools may be used to create Cypher ingest queries based on the data model. These queries may then be used by other MCP servers or applications to load data into Neo4j.
get_constraints_cypher_queries
data_model (DataModel): The data model to generate constraints forget_node_cypher_ingest_query
node (Node): The node definition (label, key property, properties)$records)get_relationship_cypher_ingest_query
data_model (DataModel): The data model containing nodes and relationshipsrelationship_type (str): The type of the relationshiprelationship_start_node_label (str): The label of the start noderelationship_end_node_label (str): The label of the end node$records)create_new_data_model
data_context (str): Description of the data and any specific details to focus onuse_cases (str): List of use cases for the data model to addressdesired_nodes (str, optional): Node labels to include in the data modeldesired_relationships (str, optional): Relationship types to include in the data modelCan be found on PyPi https://pypi.org/project/mcp-neo4j-data-modeling/
Add the server to your claude_desktop_config.json with the transport method specified:
"mcpServers": {
"neo4j-data-modeling": {
"command": "uvx",
"args": [ "[email protected]", "--transport", "stdio" ]
}
}
The server supports namespacing the server tools:
"mcpServers": {
"neo4j-data-modeling-app1": {
"command": "uvx",
"args": [ "[email protected]", "--transport", "stdio", "--namespace", "app1" ]
},
"neo4j-data-modeling-app2": {
"command": "uvx",
"args": [ "[email protected]", "--transport", "stdio", "--namespace", "app2" ]
}
}
With namespacing enabled:
app1-validate_node, app2-validate_nodeThe server supports HTTP transport for web-based deployments and microservices:
# Basic HTTP mode (defaults: host=127.0.0.1, port=8000, path=/mcp/)
mcp-neo4j-data-modeling --transport http
# Custom HTTP configuration
mcp-neo4j-data-modeling --transport http --host 127.0.0.1 --port 8080 --path /api/mcp/
# With namespace for multi-tenant deployment
mcp-neo4j-data-modeling --transport http --namespace myapp
Environment variables for HTTP configuration:
export MCP_TRANSPORT=http
export NEO4J_MCP_SERVER_HOST=127.0.0.1
export NEO4J_MCP_SERVER_PORT=8080
export NEO4J_MCP_SERVER_PATH=/api/mcp/
export NEO4J_NAMESPACE=myapp
mcp-neo4j-data-modeling
The server supports three transport modes:
Here we use the Docker Hub hosted Data Modeling MCP server image with stdio transport for use with Claude Desktop.
Config details:
-i: Interactive mode - keeps STDIN open for stdio transport communication--rm: Automatically remove container when it exits (cleanup)-p 8000:8000: Port mapping - maps host port 8000 to container port 8000NEO4J_TRANSPORT=stdio: Uses stdio transport for Claude Desktop compatibility{
"mcpServers": {
"neo4j-data-modeling": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-p",
"8000:8000",
"-e", "NEO4J_TRANSPORT=stdio",
"-e", "NEO4J_NAMESPACE=myapp",
"mcp/neo4j-data-modeling:latest"
]
}
}
}
The Neo4j Data Modeling MCP server can be deployed using Docker for remote deployments. Docker deployment should use HTTP transport for web accessibility. In order to integrate this deployment with applications like Claude Desktop, you will have to use a proxy in your MCP configuration such as mcp-remote.
After building locally with docker build -t mcp-neo4j-data-modeling:latest .:
# Run with http transport (default for Docker)
docker run --rm -p 8000:8000 \
-e NEO4J_TRANSPORT="http" \
-e NEO4J_MCP_SERVER_HOST="0.0.0.0" \
-e NEO4J_MCP_SERVER_PORT="8000" \
-e NEO4J_MCP_SERVER_PATH="/mcp/" \
mcp/neo4j-data-modeling:latest
# Run with security middleware for production
docker run --rm -p 8000:8000 \
-e NEO4J_TRANSPORT="http" \
-e NEO4J_MCP_SERVER_HOST="0.0.0.0" \
-e NEO4J_MCP_SERVER_PORT="8000" \
-e NEO4J_MCP_SERVER_PATH="/mcp/" \
-e NEO4J_MCP_SERVER_ALLOWED_HOSTS="example.com,www.example.com" \
-e NEO4J_MCP_SERVER_ALLOW_ORIGINS="https://example.com" \
mcp/neo4j-data-modeling:latest
| Variable | Default | Description |
|---|---|---|
NEO4J_TRANSPORT | stdio (local), http (remote) | Transport protocol (stdio, http, or sse) |
NEO4J_MCP_SERVER_HOST | 127.0.0.1 (local) | Host to bind to |
NEO4J_MCP_SERVER_PORT | 8000 | Port for HTTP/SSE transport |
NEO4J_MCP_SERVER_PATH | /mcp/ | Path for accessing MCP server |
NEO4J_NAMESPACE | (empty - no prefix) | Namespace prefix for tool names (e.g., myapp-validate_node) |
NEO4J_MCP_SERVER_ALLOW_ORIGINS | (empty - secure by default) | Comma-separated list of allowed CORS origins |
NEO4J_MCP_SERVER_ALLOWED_HOSTS | localhost,127.0.0.1 | Comma-separated list of allowed hosts (DNS rebinding protection) |
When using SSE transport (for legacy web clients), the server exposes an HTTP endpoint:
# Start the server with SSE transport
docker run -d -p 8000:8000 \
-e NEO4J_TRANSPORT="sse" \
-e NEO4J_MCP_SERVER_HOST="0.0.0.0" \
-e NEO4J_MCP_SERVER_PORT="8000" \
--name neo4j-data-modeling-mcp-server \
mcp-neo4j-data-modeling:latest
# Test the SSE endpoint
curl http://localhost:8000/sse
# Use with MCP Inspector
npx @modelcontextprotocol/inspector http://localhost:8000/sse
uv (Universal Virtualenv):# Using pip
pip install uv
# Using Homebrew on macOS
brew install uv
# Using cargo (Rust package manager)
cargo install uv
# Clone the repository
git clone https://github.com/yourusername/mcp-neo4j-data-modeling.git
cd mcp-neo4j-data-modeling
# Create and activate virtual environment using uv
uv venv
source .venv/bin/activate # On Unix/macOS
.venv\Scripts\activate # On Windows
# Install dependencies including dev dependencies
uv pip install -e ".[dev]"
./test.sh
# Add the server to your claude_desktop_config.json
"mcpServers": {
"neo4j-data-modeling": {
"command": "uv",
"args": [
"--directory", "path_to_repo/src",
"run", "mcp-neo4j-data-modeling", "--transport", "stdio"]
}
}
Build and run the Docker container:
# Build the image
docker build -t mcp/neo4j-data-modeling:latest .
# Run the container
docker run mcp/neo4j-data-modeling:latest
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Query databases from AI agents using connections configured in DBX.
T8t8y2/dbx32k近 7 天新增 780 个 star
Run Windmill scripts and flows and manage jobs, schedules, resources and variables.
WIwindmill-labs/windmill19k近 7 天新增 89 个 star
MCP Toolbox for Databases enables your agent to connect to your database.
GOgoogleapis/mcp-toolbox17k近 7 天新增 84 个 star
Open-source, self-hosted alerting for metrics, logs, and databases. Includes a built-in AI agent and MCP server.
CCccfos/nightingale14k近 7 天新增 19 个 star
Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.
KUkubeshark/kubeshark12k近 7 天新增 2 个 star
Let your users work with their own data through an AI assistant, limited to what they can see.
NHnhost/nhost9.4k