Sql Analyzer MCP Server

A Model Context Protocol (MCP) server that provides SQL analysis, linting, and dialect conversion capabilities using

Local serverstdio

What is the Sql Analyzer MCP Server?

Sql analyzer mcp server connects Sql Analyzer to AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that provides SQL analysis, linting, and dialect conversion capabilities using SQLGlot.

What Sql Analyzer does

A Model Context Protocol (MCP) server that provides SQL analysis, linting, and dialect conversion capabilities using SQLGlot.

The SQL Analyzer MCP server provides tools for analyzing and working with SQL queries. It helps with:

Practical notes

  • Maintained by j4c0bs.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Input:sql (string): SQL query to analyze
dialectstring, optional): SQL dialect
ReturnsColumnReferencesResult containing:
positionobject, optional): Line and column of error if present
Inputs:sql (string): SQL statement to analyze

How to install the Sql Analyzer MCP Server

{
  "mcpServers": {
    "sql-analyzer": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/j4c0bs/mcp-server-sql-analyzer.git",
        "mcp-server-sql-analyzer"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Sql Analyzer to Input.”
  • “Use Sql Analyzer to Returns.”
  • “Use Sql Analyzer to Inputs.”

Frequently asked questions

A Model Context Protocol (MCP) server that provides SQL analysis, linting, and dialect conversion capabilities using [SQLGlot](https://sqlglot.com/sqlglot.html). Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.