Skip to main content
Glama

sql-mcp

npm mcp license

MCP server: format SQL queries. Backed by sql-formatter, supports 14 dialects.

Tool

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, …)

Related MCP server: GoSQLX

Configure

{ "mcpServers": { "sql": { "command": "npx", "args": ["-y", "@mukundakatta/sql-mcp"] } } }

License

MIT.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

  • A
    license
    -
    quality
    -
    maintenance
    Analyzes SQL queries for performance issues, provides optimization suggestions with automated rewriting, and recommends indexes across multiple database dialects (PostgreSQL, MySQL, Oracle, SQL Server).
    1
  • A
    license
    A
    quality
    C
    maintenance
    7 SQL tools (validate, format, parse, lint, security scan, metadata extraction, full analysis) over Streamable HTTP. Supports 6 SQL dialects with 1.25M+ ops/sec.
    7
    110
    Apache 2.0
  • A
    license
    -
    quality
    A
    maintenance
    Deterministic SQL static analysis and query-equivalence checking for Postgres, MySQL, SQLite, and SQL Server. Tokenizes locally before forwarding to the API.
    1
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Run SOQL queries against your Salesforce org to explore and retrieve data. Quickly iterate on filt…

  • Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…

  • Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MukundaKatta/sql-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server