Skip to main content
MCP server CX Codex

mcp-neo4j-data-modeling — Claude Code MCP server

This MCP server helps agents build, validate, and visualize Neo4j graph models. Use it when a schema needs nodes, relationships, and properties.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env NEO4J_NAMESPACE=<NEO4J_NAMESPACE> --transport stdio mcp-neo4j-data-modeling -- uvx mcp-neo4j-data-modeling
Open on GitHub

What mcp-neo4j-data-modeling does

mcp-neo4j-data-modeling gives an agent tools for working with Neo4j graph models. It can validate nodes, relationships, or a complete data model, then produce a Mermaid configuration for visualization. Resources include JSON schemas for model objects, example models, and a guide to the Neo4j data ingest process.

The server imports and exports models through Arrows JSON and OWL Turtle. It can also generate Pydantic models and schemas for the Neo4j GraphRAG Python Package. During OWL conversion, classes are mapped to nodes; relationship-attached properties are dropped when a model is exported to OWL.

The environment-based setup uses uvx and NEO4J_NAMESPACE. Without NEO4J_NAMESPACE, the command using that setting will not start the server with the required configuration.

What it helps with

  • design a Neo4j graph model
  • validate a node or relationship
  • render a model as Mermaid configuration
  • import a schema from Arrows JSON
  • export a model as Pydantic classes

Example prompts for the agent

  • Design a Neo4j model for orders, products, and warehouses, then validate it with validate_data_model.
  • Validate this node with validate_node and create a Mermaid configuration with get_mermaid_config_str.
  • Load the model from OWL Turtle with load_from_owl_turtle, then export it to Arrows format with export_to_arrows_json.

How to install mcp-neo4j-data-modeling

Platform CLI

claude mcp add --env NEO4J_NAMESPACE=<NEO4J_NAMESPACE> --transport stdio mcp-neo4j-data-modeling -- uvx mcp-neo4j-data-modeling

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from mcp-neo4j-data-modeling <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-neo4j-data-modeling

How do I install mcp-neo4j-data-modeling in Claude Code?

Run claude mcp add --env NEO4J_NAMESPACE=<NEO4J_NAMESPACE> --transport stdio mcp-neo4j-data-modeling -- uvx mcp-neo4j-data-modeling.

What does mcp-neo4j-data-modeling do?

It provides tools for creating, validating, and visualizing Neo4j graph models. It also supports model import and export in several formats.

What happens when a model is converted to OWL Turtle?

Nodes and relationships are mapped to OWL constructs, but properties attached to relationships are left out during export.

Similar MCP servers

All MCP servers for Data and databases →

From the same set3

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor