Back to Home
uddin-rajaul icon

mcp-sql-optimizer

Verified Safe

by uddin-rajaul

Overview

Analyzes, optimizes, and suggests indexes for SQL queries across multiple dialects.

Installation

Run Command
docker run -i --rm mcp-sql-optimizer

Security Notes

The server primarily performs static analysis and transformation of SQL queries using the `sqlglot` library. It does not execute arbitrary SQL against a database, nor does it make external network requests from its core logic. User-provided `sql` and `explain_plan` inputs are parsed and processed internally without dangerous execution. No 'eval' or direct shell commands are used. The generated DDL for indexes is returned as a string, not executed.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-05

Tags

SQLOptimizerPerformanceAnalysisIndexing