SQL Builder AI MCP

AI-powered SQL query builder — natural language to SQL, schema introspection, query optimization, multi-dialect support by MEOK AI Labs

sql-builder-ai-mcp MCP server MCP Registry PyPI

sql-builder-ai-mcp MCP server

Sql Builder Ai

By MEOK AI Labs — MEOK AI Labs MCP Server

SQL Builder AI MCP Server

Installation

pip install sql-builder-ai-mcp

Usage

# Run standalone
python server.py

# Or via MCP
mcp install sql-builder-ai-mcp

Tools

build_select

Build a SELECT SQL query from structured parameters.

Parameters:

  • table (str)
  • columns (str)
  • where (str)
  • order_by (str)
  • limit (int)
  • joins (str)

build_insert

Build an INSERT SQL query from a list of row dicts.

Parameters:

  • table (str)
  • rows (str)
  • on_conflict (str)

explain_query

Analyze and explain a SQL query's structure and components.

Parameters:

  • sql (str)

optimize_query_hints

Suggest optimizations for a SQL query.

Parameters:

  • sql (str)

Authentication

Free tier: 15 calls/day. Upgrade at meok.ai/pricing for unlimited access.

Links

License

MIT — MEOK AI Labs

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension