FalkorDB
Query and interact with FalkorDB graph databases using AI models.
FalkorDB MCP Server
A Model Context Protocol (MCP) server for FalkorDB, allowing AI models to query and interact with graph databases.
Overview
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.
Prerequisites
- Node.js (v16 or later)
- npm or yarn
- FalkorDB instance (can be run locally or remotely)
Installation
-
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 .envEdit
.envwith your configuration details.
Configuration
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 requests
Usage
Development
Start the development server with hot-reloading:
npm run dev
Production
Build and start the server:
npm run build
npm start
API Endpoints
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 Graphs
MCP Configuration
To 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"
}
}
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Servers
Eka MCP Server
Access medical knowledge-bases and drug information from eka.care. Requires API credentials.
DART-MCP
Perform financial analysis using the DART API and Claude.
Pipedrive MCP Server by CData
A read-only MCP server for Pipedrive, enabling LLMs to query live data using the CData JDBC Driver.
Singapore LTA MCP Server
Access real-time transportation data from Singapore's LTA DataMall API, including bus arrivals and traffic conditions.
MySQL MCP Server
A MySQL database server for AI assistants, enabling full CRUD operations, transaction management, and intelligent rollback.
Supabase MCP Server
An MCP server providing administrative control over a Supabase PostgreSQL database, compatible with Cursor's Composer and Codeium's Cascade.
GoldRush
Exposes Covalent's GoldRush blockchain data APIs as MCP resources and tools.
Oracle Database
Access and query an Oracle database using the cx_Oracle driver.
CData Zoho Creator
A read-only MCP server by CData for querying live Zoho Creator data using a JDBC driver.
CentralMind Gateway
Expose structured databases to AI agents via MCP or OpenAPI 3.1 protocols, with APIs optimized for AI workloads.