The agent never writes SQL: queries compile from a semantic layer you control, PII refused first.
Connect Runs on your machine
claude mcp add sql-steward -e SQL_STEWARD_DB_URL=<SQL_STEWARD_DB_URL> -e SQL_STEWARD_LAYER=<SQL_STEWARD_LAYER> -- uvx sql-steward==0.4.0
{
"mcpServers": {
"sql-steward": {
"command": "uvx",
"args": [
"sql-steward==0.4.0"
],
"env": {
"SQL_STEWARD_DB_URL": "<SQL_STEWARD_DB_URL>",
"SQL_STEWARD_LAYER": "<SQL_STEWARD_LAYER>"
}
}
}
}
{
"mcpServers": {
"sql-steward": {
"command": "uvx",
"args": [
"sql-steward==0.4.0"
],
"env": {
"SQL_STEWARD_DB_URL": "<SQL_STEWARD_DB_URL>",
"SQL_STEWARD_LAYER": "<SQL_STEWARD_LAYER>"
}
}
}
}
{
"servers": {
"sql-steward": {
"type": "stdio",
"command": "uvx",
"args": [
"sql-steward==0.4.0"
],
"env": {
"SQL_STEWARD_DB_URL": "<SQL_STEWARD_DB_URL>",
"SQL_STEWARD_LAYER": "<SQL_STEWARD_LAYER>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
SQL_STEWARD_DB_URLRequired, secret | SQLAlchemy URL of the database to read (read-only account recommended) |
SQL_STEWARD_LAYEROptional | Path to the semantic layer YAML (default: semantic.yaml) |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 18 Jul 2026 |
| Last updated | 18 Jul 2026 |
| Registry name | io.github.Pawansingh3889/sql-steward |
More databases servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
