SQL runs on your own machine — the client starts it, so there is no endpoint to ping. 46 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, 5 d ago · rules 995398eba69f
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": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql"
]
}
}
}
[mcp_servers.sql]
command = "npx"
args = ["-y", "@abhishekmcp/sql"]
{
"mcpServers": {
"sql": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql"
]
}
}
}
{
"servers": {
"sql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
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)).
Explore and query PostgreSQL read-only: catalogue search, schema introspection and bounded queries.
Read-only SQL Server introspection and querying: schema, definitions, dependencies and data.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
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.
Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).
Read-only Postgres: drop-in for the archived server-postgres, with schema context.
Answers built from our own checks of this server.