loading…
Search for a command to run...
loading…
Formats SQL queries with support for 14 dialects, keyword casing, and tab width.
Formats SQL queries with support for 14 dialects, keyword casing, and tab width.
MCP server: format SQL queries. Backed by sql-formatter, supports 14
dialects.
format{ "sql": "select id, name from users where age > 21 order by id", "dialect": "postgresql" }
→
SELECT
id,
name
FROM
users
WHERE
age > 21
ORDER BY
id
| Field | Default | Notes |
|---|---|---|
dialect |
sql |
postgresql, mysql, mariadb, sqlite, bigquery, redshift, snowflake, transactsql, db2, plsql, trino, hive, spark |
tab_width |
2 | 0-8 |
uppercase |
true | Uppercase keywords (SELECT, FROM, …) |
{ "mcpServers": { "sql": { "command": "npx", "args": ["-y", "@mukundakatta/sql-mcp"] } } }
MIT.
Run in your terminal:
claude mcp add sql-mcp -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.