mcpbeat Sign in
local only

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.

Installs per day peak 11 · avg 4 · +188% w/w
a month agotoday
46
Installs / week
npm · @abhishekmcp/sql
1
Stars
0 open issues
4 Jul 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

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.

Builds a file path from a variable servers/files/src/mutate.ts:93
  const stored = path.join(trashDir, id, path.basename(abs));
Dumps the whole environment servers/sql/src/connections.ts:20
  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.

This code can reach further than it looks

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add sql -- npx -y @abhishekmcp/sql
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "sql": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/sql"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.sql]
command = "npx"
args = ["-y", "@abhishekmcp/sql"]
.cursor/mcp.json
{
  "mcpServers": {
    "sql": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/sql"
      ]
    }
  }
}
.vscode/mcp.json
{
  "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)).

Alternatives to SQL

same job, measured the same way
Sezzlee PostgreSQL
by sezzlee

Explore and query PostgreSQL read-only: catalogue search, schema introspection and bounded queries.

34 installs/wk local only
Elekto MCP for SQL Server
by elekto-com-br

Read-only SQL Server introspection and querying: schema, definitions, dependencies and data.

local only
AI2SQL
by ai2sql

Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema

answering
SqlServerMcp
by nithish1206

MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis

local only
Dbridge MCP
by ugurcl

Query SQLite, PostgreSQL, and MySQL in plain language - read-only, with column masking and limits.

34 installs/wk local only
PostgreSQL (hardened, read-only)
by eszetael

Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.

294 installs/wk local only
IBM Db2 for i
by strom-capital

Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).

1 084 installs/wk local only
Postgres (read-only)
by contextflo

Read-only Postgres: drop-in for the archived server-postgres, with schema context.

285 installs/wk local only

SQL — questions

Answers built from our own checks of this server.

Why is there no uptime for SQL?
SQL runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @abhishekmcp/sql was installed 46 times last week.
How do I connect SQL?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @abhishekmcp/sql straight from npm; nothing to host, nothing to sign up for.
How many people use SQL?
The npm package @abhishekmcp/sql was installed 46 times in the last week. Week over week that is +188%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is SQL open source?
Yes — it is published under the MIT licence, written in TypeScript and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.