The Kuzu MCP server provides access to Kuzu databases for LLMs with the following capabilities:
Fetch Schema: Retrieve the full schema of the Kuzu database, including all nodes, relationships tables, and their properties using the
getSchematoolExecute Queries: Run Cypher queries on the Kuzu database using the
querytoolGenerate Cypher Queries: Convert natural language questions into Cypher queries using the
generateKuzuCypherprompt for more intuitive database interactionRead-Only Mode: Operate in read-only mode to prevent database modifications by setting the
KUZU_READ_ONLYenvironment variableDeployment Options: Run using Docker (recommended) or Node.js (for development)
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.jsonon Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration to the
mcpServersobject:{ "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 pathRestart Claude Desktop
With Node.js and npm (for Development)
Install dependencies:
npm installEdit the configuration file
config.json:on macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonon Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration to the
mcpServersobject:{ "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 pathsRestart 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:
local-only server
The server can only run on the client's local machine because it depends on local resources.
This server enables natural language interaction between a user and their Kuzu databases using clients like Claude Desktop or Cursor, allowing LLMs to retrieve the database schema, execute Cypher queries, create nodes, and establish relationships in the graph database.
Related MCP Servers
- Asecurity-licenseAqualityThe server facilitates natural language interactions for exploring and understanding codebases, providing insights into data models and system architecture using a cost-effective, simple setup with support for existing Claude Pro subscriptions.Last updated -420
- -security-license-qualityA server that enables interaction with PostgreSQL, MySQL, MariaDB, or SQLite databases through Claude Desktop using natural language queries.Last updated -
- -security-license-qualityA protocol server that enables LLMs like Claude to interact with MongoDB databases, providing tools for schema exploration, aggregation queries, and data analysis through natural language in Cursor.Last updated -912
- Asecurity-licenseAqualityA server that enables LLMs like Claude to interact with Azure Cosmos DB databases through natural language queries, acting as a translator between AI assistants and database systems.Last updated -42MIT License