Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

kuzu-mcp-server

MCP.Pizza Chef: kuzudb

kuzu-mcp-server is a Model Context Protocol server that provides LLMs with structured access to Kuzu graph databases. It allows models to fetch full database schemas and execute Cypher queries, enabling dynamic interaction with graph data. This server supports generating Cypher queries from natural language questions, facilitating seamless database exploration and querying within AI workflows.

Use This MCP server To

Fetch complete schema of Kuzu graph databases for analysis Execute Cypher queries on Kuzu databases via LLMs Generate Cypher queries from natural language questions Integrate Kuzu database querying into AI-driven applications Enable real-time graph data inspection through LLMs Automate data retrieval from Kuzu databases using natural language

README

kuzu-mcp-server

A Model Context Protocol server that provides access to Kuzu databases. This server enables LLMs to inspect database schemas and execute queries on provided kuzu database.

Components

Tools

  • getSchema

    • Fetch the full schema of the Kuzu database, including all nodes and relationships tables and their properties
    • Input: None
  • query

    • Run a Cypher query on the Kuzu database
    • Input: cypher (string): The Cypher query to run

Prompt

  • generateKuzuCypher
    • Generate a Cypher query for Kuzu
    • Argument: question (string): The question in natural language to generate the Cypher query for

Usage with Claude Desktop

With Docker (Recommended)

  • Edit the configuration file config.json:
    • on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • on Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Add the following configuration to the mcpServers object:
    {
      "mcpServers": {
          "kuzu": {
              "command": "docker",
              "args": [
                  "run",
                  "-v",
                  "{Absolute Path to the Kuzu database}:/database",
                  "--rm",
                  "-i",
                  "kuzudb/mcp-server"
              ]
          }
      }
    }
    Change the {Absolute Path to the Kuzu database} to the actual path
  • Restart Claude Desktop

With Node.js and npm (for Development)

  • Install dependencies: npm install
  • Edit the configuration file config.json:
    • on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • on Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Add the following configuration to the mcpServers object:
    {
      "mcpServers": {
          "kuzu": {
              "command": "node",
              "args": [
                  "{Absolute Path to this repository}/index.js",
                  "{Absolute Path to the Kuzu database}",
              ]
          }
      }
    }
    Change the {Absolute Path to this repository} and {Absolute Path to the Kuzu database} to the actual paths
  • Restart Claude Desktop

Read-Only Mode

The server can be run in read-only mode by setting the KUZU_READ_ONLY environment variable to true. In this mode, running any query that attempts to modify the database will result in an error. This flag can be set in the configuration file as follows:

{
    "mcpServers": {
        "kuzu": {
            "command": "docker",
            "args": [
                "run",
                "-v",
                "{Absolute Path to the Kuzu database}:/database",
                "-e",
                "KUZU_READ_ONLY=true",
                "--rm",
                "-i",
                "kuzudb/mcp-server"
            ],
        }
    }
}

kuzu-mcp-server FAQ

How do I configure kuzu-mcp-server with Claude Desktop?
Edit the Claude Desktop config.json file to add kuzu-mcp-server under mcpServers, specifying connection details.
What inputs are required to run a query on kuzu-mcp-server?
You need to provide a Cypher query string as input to the query tool to execute it on the Kuzu database.
Can kuzu-mcp-server generate Cypher queries from natural language?
Yes, it includes a prompt to generate Cypher queries based on natural language questions.
What kind of database schemas can kuzu-mcp-server fetch?
It fetches full schemas including all nodes, relationships, and their properties from Kuzu graph databases.
Is kuzu-mcp-server limited to any specific LLM providers?
No, it is provider-agnostic and can work with OpenAI, Claude, Gemini, and other LLMs supporting MCP.
How does kuzu-mcp-server enhance AI workflows?
By enabling LLMs to directly query and inspect graph databases, it streamlines data-driven decision making and automation.
What is the recommended deployment method for kuzu-mcp-server?
Using Docker is recommended for easy setup and integration with environments like Claude Desktop.