by FalkorDB
Provides a Model Context Protocol (MCP) server that bridges AI models with FalkorDB graph databases, translating MCP requests into graph queries and returning standardized responses.
A server that implements the Model Context Protocol to allow AI models to query and interact with FalkorDB graph databases. It receives MCP‑formatted requests, forwards them to FalkorDB, and formats the results back to the MCP client.
git clone https://github.com/falkordb/falkordb-mcpserver.git
cd falkordb-mcpserver
npm install
.env
file (port, FalkorDB host/port, credentials, MCP_API_KEY
).npm run dev
or build and start for production:
npm run build
npm start
/api/mcp/metadata
, /api/mcp/context
, /api/mcp/health
, /api/mcp/graphs
)..env
.Q: Which Node.js version is required? A: Node.js v16 or later.
Q: How is authentication handled?
A: Set FALKORDB_USERNAME
and FALKORDB_PASSWORD
in the .env
file if the FalkorDB instance requires auth. MCP requests are secured with the MCP_API_KEY
header.
Q: Can I run the server locally without Docker?
A: Yes – simply start it with npm run dev
or npm start
after cloning and configuring.
Q: What format are MCP responses returned in? A: Responses follow the MCP specification, encapsulating query results, status, and any error information.
Q: Is there a way to list all graphs in the FalkorDB instance?
A: Use the GET /api/mcp/graphs
endpoint.
A Model Context Protocol (MCP) server for FalkorDB, allowing AI models to query and interact with graph databases.
This project implements a server that follows the Model Context Protocol (MCP) specification to connect AI models with FalkorDB graph databases. The server translates and routes MCP requests to FalkorDB and formats the responses according to the MCP standard.
Clone this repository:
git clone https://github.com/falkordb/falkordb-mcpserver.git
cd falkordb-mcpserver
Install dependencies:
npm install
Copy the example environment file and configure it:
cp .env.example .env
Edit .env
with your configuration details.
Configuration is managed through environment variables in the .env
file:
PORT
: Server port (default: 3000)NODE_ENV
: Environment (development, production)FALKORDB_HOST
: FalkorDB host (default: localhost)FALKORDB_PORT
: FalkorDB port (default: 6379)FALKORDB_USERNAME
: Username for FalkorDB authentication (if required)FALKORDB_PASSWORD
: Password for FalkorDB authentication (if required)MCP_API_KEY
: API key for authenticating MCP requestsStart the development server with hot-reloading:
npm run dev
Build and start the server:
npm run build
npm start
GET /api/mcp/metadata
: Get metadata about the FalkorDB instance and available capabilitiesPOST /api/mcp/context
: Execute queries against FalkorDBGET /api/mcp/health
: Check server healthGET /api/mcp/graphs
: Returns the list of GraphsTo use this server with MCP clients, you can add it to your MCP configuration:
{
"mcpServers": {
"falkordb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-p", "3000:3000",
"--env-file", ".env",
"falkordb-mcpserver",
"falkordb://host.docker.internal:6379"
]
}
}
}
For client-side configuration:
{
"defaultServer": "falkordb",
"servers": {
"falkordb": {
"url": "http://localhost:3000/api/mcp",
"apiKey": "your_api_key_here"
}
}
}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "falkordb": { "command": "npx", "args": [ "-y", "falkordb-mcpserver" ], "env": { "MCP_API_KEY": "<YOUR_API_KEY>" } } } }
Discover more MCP servers with similar functionality and use cases
by googleapis
Provides a configurable MCP server that abstracts connection pooling, authentication, observability, and tool management to accelerate development of database‑backed AI tools.
by bytebase
DBHub is a universal database gateway that implements the Model Context Protocol (MCP) server interface, enabling MCP-compatible clients to interact with various databases.
by neo4j-contrib
Provides Model Context Protocol servers for interacting with Neo4j databases, managing Aura instances, and handling personal knowledge graph memory through natural‑language interfaces.
by mongodb-js
Provides a Model Context Protocol server that connects to MongoDB databases and Atlas clusters, exposing a rich set of tools for querying, managing, and administering data and infrastructure.
by benborla
A Model Context Protocol (MCP) server that provides read-only access to MySQL databases, enabling Large Language Models (LLMs) to inspect database schemas and execute read-only queries.
by ClickHouse
Provides tools that let AI assistants run read‑only SQL queries against ClickHouse clusters or the embedded chDB engine, plus a health‑check endpoint for service monitoring.
by elastic
Provides direct, natural‑language access to Elasticsearch indices via the Model Context Protocol, allowing AI agents to query and explore data without writing DSL.
by motherduckdb
Provides an MCP server that enables SQL analytics on DuckDB and MotherDuck databases, allowing AI assistants and IDEs to execute queries via a unified interface.
by redis
Provides a natural language interface for agentic applications to manage and search data in Redis efficiently.