FalkorDB/QueryWeaver

An open-source Text2SQL tool that transforms natural language into SQL using graph-powered schema understanding. Ask your database questions in plain English, QueryWeaver handles the weaving.

What it solves

QueryWeaver is a Text2SQL tool that allows users to ask questions of their databases in plain English. It eliminates the need for users to manually write SQL queries by automatically converting natural language into executable SQL code and returning the results.

How it works

The system uses graph-powered schema understanding to map natural language questions to database structures. It supports multiple AI providers (OpenAI, Gemini, Anthropic, and Azure) to handle the translation. It can be deployed as a REST API, a Python SDK for direct integration, or an MCP (Model Context Protocol) server, allowing other AI services to interact with the database.

Who it’s for

It is designed for developers and data analysts who want to provide natural language interfaces to their SQL databases (PostgreSQL or MySQL) without requiring the end-user to know SQL.

Highlights

  • Graph-Powered Schema Understanding: Uses graphs to better understand the database schema for more accurate SQL generation.
  • Multi-LLM Support: Compatible with OpenAI, Gemini, Anthropic, and Azure OpenAI.
  • Flexible Deployment: Available as a standalone REST API, a Python SDK, or an MCP server.
  • Safety Mechanisms: Includes a confirmation step for destructive SQL operations (INSERT, UPDATE, DELETE).
  • Conversation Memory: Stores per-user conversation history in FalkorDB to maintain context across multiple queries.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch