Feedback

Queryweaver MCP Server

@falkordb Claim

Basic information

Runtime
Python
Version
0.0.11
Category
License
AGPL-3.0
Transports
stdio
Author
falkordb
Submitted by
Community
Quality
25
Stars
1.1K

About Queryweaver MCP Server

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.

Queryweaver is a MCP server in the Databases category listed in the AddMCP.net directory, published by FalkorDB. It exposes 4 tools, including list_databases, database_schema, query_database, connect_database. Supported transport: stdio. Runtime: Python. License: AGPL-3.0. The repository has 1,086 GitHub stars. Source code is hosted on github.com. Related topics: falkordb, semantic-layer, text2sql.

Setup

claude mcp add queryweaver --transport http https://app.queryweaver.ai/mcp

Queryweaver MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "queryweaver": {
            "type": "http",
            "url": "https://app.queryweaver.ai/mcp",
            "headers": {
                "Authorization": "Bearer your_token_here"
            }
        }
    },
    "inputs": []
}

Queryweaver MCP Server tools

  • list_databases — List all available graphs/databases for the authenticated user. Requires authentication.
    (no parameters)
  • database_schema — Return all nodes and edges for the specified database schema. Requires authentication. args: graph_id (str): The ID of the graph to query (the database name).
    graph_id:string*
  • query_database — Query the Database with the given graph_id and chat_data. Requires authentication. Args: graph_id (str): The ID of the graph to query. chat_data (ChatRequest): The chat data containing user queries and context.
    graph_id:string*, chat:array*, result, instructions, custom_api_key, custom_model, use_user_rules:boolean, use_memory:boolean
  • connect_database — Accepts a JSON payload with a database URL and attempts to connect. Supports both PostgreSQL and MySQL databases. Streams progress steps as a sequence of JSON messages separated by a delimiter. Requires authentication.
    url:string*

Overview

What is Queryweaver?

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.

How to use Queryweaver?

You can run QueryWeaver via Docker with a single command (docker run -p 5000:5000 -it falkordb/queryweaver) or from source using Python 3.12+ and pipenv. Configuration is provided through environment variables (e.g., Azure OpenAI or OpenAI API keys). QueryWeaver exposes a REST API with endpoints for managing graphs and running Text2SQL queries, and optionally provides MCP endpoints for integration with AI assistants.

Key features of Queryweaver

  • Graph-powered schema understanding for Text2SQL
  • Plain-English to SQL conversion
  • REST API with Swagger UI documentation
  • Optional MCP server endpoints
  • Docker deployment (single command)
  • Supports Azure OpenAI and OpenAI
  • OAuth authentication (Google, GitHub)
  • Streaming responses with reasoning steps

Use cases of Queryweaver

  • Natural language database querying without writing SQL
  • Automating SQL generation for dashboards and reports
  • Integrating database access into AI assistants and chatbots
  • Prototyping and data exploration for analysts and developers
  • Enabling non-technical team members to query databases

Frequently asked questions

1 What AI providers does QueryWeaver support?

QueryWeaver supports Azure OpenAI by default. To use OpenAI directly, set the OPENAI_API_KEY environment variable instead of AZURE_API_KEY.

2 How can I authenticate with the REST API?

All authenticated endpoints require a Bearer token in the Authorization header. In the browser the app uses session cookies and OAuth flows (Google, GitHub); for scripts you can use an API token.

3 Does QueryWeaver support the Model Context Protocol (MCP)?

Yes, QueryWeaver includes built-in MCP endpoints (list_databases, connect_database, database_schema, query_database). These are enabled by default and can be disabled by setting DISABLE_MCP=true.

4 What are the system requirements for running from source?

You need Python 3.12+, pipenv, a FalkorDB instance, and Node.js with npm (for the TypeScript frontend).

5 How does the streaming response work?

The POST /graphs/{graph_id} endpoint streams JSON objects delimited by the boundary string |||FALKORDB_MESSAGE_BOUNDARY||| containing intermediate reasoning steps, follow-up questions, and the final SQL.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬