What does the `lint_sql` tool do?
It validates SQL query syntax and returns any errors, including the line and column position of the issue.
@j4c0bs
基本情報
MCP server for SQL static analysis.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-sql-analyzer": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"uv",
"--directory",
"/path/to/mcp-server-sql-analyzer",
"run",
"mcp-server-sql-analyzer"
]
}
}
}sql (string): SQL query to analyze
ParseResult containing:
sql (string): SQL statement to transpile
TranspileResult containing:
sql (string): SQL statement to analyze
TableReferencesResult containing:
sql (string): SQL statement to analyze
ColumnReferencesResult containing:
mcp-server-sql-analyzer is a Model Context Protocol (MCP) server that provides SQL analysis, linting, and dialect conversion using SQLGlot. It is designed for AI assistants like Claude to validate, convert, and analyze SQL queries.
Install the server by adding it to claude_desktop_config.json using uvx (recommended) or uv. Invoke its tools—lint_sql, transpile_sql, get_all_table_references, get_all_column_references—with SQL statements and optional dialect parameters.
It validates SQL query syntax and returns any errors, including the line and column position of the issue.
Use the `transpile_sql` tool, specifying the source dialect with `read_dialect` and the target dialect with `write_dialect`.
Use the `dialects://all` resource to retrieve a complete list of all supported SQL dialects.
The server requires SQLGlot and is installed via `uvx` from a git repository or `uv` from a local clone. No other runtime dependencies are mentioned.
Add the server to your `claude_desktop_config.json` under `mcpServers` with either the `uvx` or `uv` command, as shown in the README.
MCP server for interacting with Neon Management API and databases
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.

Access millions of official legal and regulatory source documents from 155+ jurisdictions via MCP. Lawstronaut supports AI agents with structured legal research, legal data, laws, regulations, cases, guidance, official s
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
コメント