Prerequisites
- Node.js 18+
- FalkorDB instance (running locally or remotely)
- Claude Desktop app (for AI integration)
Running from npm
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Running with npx
You can run the server directly from the command line:Docker Compose
Run FalkorDB and the MCP server together:Available MCP Tools
Once connected to Claude or another MCP-compatible AI assistant, you can:Query Graphs
query_graph tool supports a readOnly parameter to execute queries using GRAPH.RO_QUERY, ideal for:
- Running queries on replica instances
- Preventing accidental write operations
- Ensuring data integrity in production environments
Manage Data
Explore Structure
Example Usage
Once connected, Claude can help you write and execute queries:Frequently Asked Questions
What do I need to get started with the FalkorDB MCP Server?
What do I need to get started with the FalkorDB MCP Server?
You need Node.js 18+, a running FalkorDB instance (locally via Docker or FalkorDB Cloud), and an MCP-compatible AI client like Claude Desktop. No additional dependencies are required since the server runs via
npx.How do I connect Claude Desktop to FalkorDB?
How do I connect Claude Desktop to FalkorDB?
Add the MCP server configuration to your Claude Desktop config file (
claude_desktop_config.json). Set the command to npx with args ['-y', '@falkordb/mcpserver@latest'] and provide your FalkorDB connection details as environment variables.Can I run the MCP Server without Claude Desktop?
Can I run the MCP Server without Claude Desktop?
Yes. Run it directly with
npx -y @falkordb/mcpserver using stdio transport, or set MCP_TRANSPORT=http and MCP_PORT=3005 for HTTP transport that any MCP-compatible client can connect to.How do I use Docker Compose for a full setup?
How do I use Docker Compose for a full setup?
Clone the FalkorDB-MCPServer repository, copy
.env.example to .env, configure your settings, and run docker compose up -d. This starts both FalkorDB and the MCP server with health checks and persistent volumes.What can I ask Claude once connected to FalkorDB?
What can I ask Claude once connected to FalkorDB?
You can ask Claude to query graphs (‘Show me all people who know each other’), create data (‘Create a person named Alice who knows Bob’), explore structure (‘List all available graphs’), and run read-only queries on replica instances.