kuzu-mcp-server logo

kuzu-mcp-server

by kuzudb

The kuzu-mcp-server is a Model Context Protocol server that provides access to Kuzu databases. It enables LLMs to inspect database schemas and execute queries on provided Kuzu databases.

View on GitHub

Last updated: N/A

What is kuzu-mcp-server?

The kuzu-mcp-server is a server that implements the Model Context Protocol (MCP) to allow Large Language Models (LLMs) to interact with Kuzu graph databases. It provides tools for LLMs to understand the database schema and execute Cypher queries.

How to use kuzu-mcp-server?

The server can be used with Claude Desktop by configuring the mcpServers object in the config.json file. You can run the server using Docker or Node.js. The configuration requires specifying the command to run the server and arguments, including the path to the Kuzu database. Read-only mode can be enabled using the KUZU_READ_ONLY environment variable.

Key features of kuzu-mcp-server

  • Provides access to Kuzu databases for LLMs

  • Allows LLMs to inspect database schemas

  • Enables LLMs to execute Cypher queries

  • Supports read-only mode to prevent database modifications

Use cases of kuzu-mcp-server

  • Enabling LLMs to answer questions based on Kuzu graph data

  • Generating Cypher queries from natural language questions

  • Integrating Kuzu databases with LLM-powered applications

  • Allowing LLMs to explore and analyze graph data stored in Kuzu

FAQ from kuzu-mcp-server

What is the Model Context Protocol (MCP)?

MCP is a protocol that allows LLMs to interact with external data sources.

How do I configure the server to use my Kuzu database?

You need to edit the config.json file for Claude Desktop and specify the path to your Kuzu database in the mcpServers configuration.

How do I enable read-only mode?

Set the KUZU_READ_ONLY environment variable to true when running the server.

What tools are available?

The server provides tools to fetch the schema (getSchema) and run Cypher queries (query), and generate Cypher queries (generateKuzuCypher).

What kind of queries can I run?

You can run any valid Cypher query supported by Kuzu. However, in read-only mode, queries that modify the database will result in an error.