SQL runs on your own machine — the client starts it, so there is no endpoint to ping. 45 installs a week from npm. Last commit 4 Jul 2026.
Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
We read the source, 21 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const stored = path.join(trashDir, id, path.basename(abs));
for (const [key, val] of Object.entries(process.env)) {
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add sql -- npx -y @abhishekmcp/sql
{
"mcpServers": {
"sql": {
"args": [
"-y",
"@abhishekmcp/sql"
],
"command": "npx"
}
}
}
[mcp_servers.sql]
command = "npx"
args = ["-y", "@abhishekmcp/sql"]
{
"mcpServers": {
"sql": {
"args": [
"-y",
"@abhishekmcp/sql"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"sql": {
"args": [
"-y",
"@abhishekmcp/sql"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
DB_CONN_default (Connection URL for the 'default' connection (postgres://… or sqlite:/abs/path). Additional connections use DB_CONN_<name>. Carries credentials — treated as secret.), DB_WRITABLE (Set to 1 or true to enable the write tools (execute, execute_script).).
The author declared them in the registry entry; get the values from the project itself.
MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis
Query SQLite, PostgreSQL, and MySQL in plain language - read-only, with column masking and limits.
Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
Database management — query, schema inspection, migrations for PostgreSQL, MySQL, SQLite.
Read-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe querying
Python MCP server for PostgreSQL database inspection and querying
MCP server for one MySQL database: schema, read-only queries and guarded writes.
Answers built from our own checks of this server.