Falkordb QueryWeaver
An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.
About This MCP Server
QueryWeaver is an open-source Text2SQL tool that converts plain-English questions into SQL using graph-powered schema understanding. It helps you ask databases natural-language questions and returns SQL and results.
Connect and ask questions:
QueryWeaver exposes a small REST API for managing graphs (database schemas) and running Text2SQL queries. All endpoints that modify or access user-scoped data require authentication via a bearer token. In the browser the app uses session cookies and OAuth flows; for CLI and scripts you can use an API token (see tokens routes or the web UI to create one).
1) List graphs (GET)
2) Get graph schema (GET)
3) Load a graph (POST) — JSON payload
Or upload a file (multipart/form-data):
4) Query a graph (POST) — run a chat-based Text2SQL request
The POST /graphs/{graph_id} endpoint accepts a JSON body with at least a chat field (an array of messages). The endpoint streams processing steps and the final SQL back as server-sent-message chunks delimited by a special boundary used by the frontend. For simple scripting you can call it and read the final JSON object from the streamed messages.
curl example (simple, collects whole response):
Python example (stream-aware):
What Problems It Solves
- Create a local .env by copying .env.example and passing it to Docker. This is the simplest way to provide all required configuration:
Specifications
Requirements
- Python 3.12+
- uv (Python package manager)
- A FalkorDB instance (local or remote)
- Node.js and npm (for the React frontend)
Hosting
Hosting Options
- Package
API
Integrate this server into your application. Choose a connection method below.
Install
docker run -p 5000:5000 -it falkordb/queryweaverPerformance
Usage
Quick Reference
- Name
- Falkordb QueryWeaver
- Function
- An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.
- Transport
- Package
- Language
- oci
- Install
- docker run -p 5000:5000 -it falkordb/queryweaver
- Source
- External (Registry)
- License
- Open Source
Ready to integrate this MCP server?
Book a demo to see how this server fits your workflow, or explore the full catalog.