build_selectLABSCO SUMMARY
It writes the query; it never runs it.
Because it holds no connection and no credentials, the worst outcome of a bad call is a wrong string you can read before executing it — which is a very different risk profile from a server that has your database handle. Treat it as a composition and review step in front of whatever actually runs the SQL.
What it is
A SQL composition helper exposed as tools. It builds statements from structured input and explains a query back in plain terms, which keeps the query-writing step inspectable rather than buried inside a model's free-text output.
What you get
- A SELECT statement composed from the parts you supply —
build_select - An INSERT statement composed the same way —
build_insert - A query explained —
explain_query
Requirements
Python, and no account or key — nothing here connects to a database, so there are no connection strings to hand over. Install with pip install sql_builder_ai_mcp; your client then starts it with the sql_builder_ai_mcp command, over stdio.
Setup effort
One command — pip install sql_builder_ai_mcp
USE CASES
Getting a SELECT right before running it anywhere
Build the statement from named parts and read it back, rather than pasting a model's free-text SQL straight into a console.
Understanding a query someone else wrote
Have an unfamiliar statement explained before you change it or approve it.
Drafting an insert without touching production
Compose the statement in a server that holds no credentials, then run it yourself under whatever review your team requires.
3 tools
Listed in project docs. Your client may show a different list.
build_insertexplain_queryBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
Python 3.10 or later
INSTALLATION
Connect your client
Add the block to your client, or run the command directly.
Server setup
Configuration file
{
"mcpServers": {
"sql-builder-ai-mcp": {
"command": "sql_builder_ai_mcp"
}
}
}pip
pip install sql_builder_ai_mcp