
kuzu mcp server
A Model Context Protocol server that provides access to Kuzu databases
Repository Info
About This Server
A Model Context Protocol server that provides access to Kuzu databases
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
- on macOS:
- Add the following configuration to the
mcpServersobject:
Change the{ "mcpServers": { "kuzu": { "command": "docker", "args": [ "run", "-v", "{Path to the directory containing Kuzu database file}:/database", "-e", "KUZU_DB_FILE={Kuzu database file name}", "--rm", "-i", "kuzudb/mcp-server" ] } } }{Path to the directory containing Kuzu database file}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
- on macOS:
- Add the following configuration to the
mcpServersobject:
Change the{ "mcpServers": { "kuzu": { "command": "node", "args": [ "{Absolute Path to this repository}/index.js", "{Absolute Path to the Kuzu database file}", ] } } }{Absolute Path to this repository}and{Absolute Path to the Kuzu database file}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",
"{Path to the directory containing Kuzu database file}:/database",
"-e",
"KUZU_DB_FILE={Kuzu database file name}",
"-e",
"KUZU_READ_ONLY=true",
"--rm",
"-i",
"kuzudb/mcp-server"
],
}
}
}
Quick Start
Clone the repository
git clone https://github.com/kuzudb/kuzu-mcp-serverInstall dependencies
cd kuzu-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.