mcpbeat Sign in
local only

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.

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

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

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": {
      "args": [
        "-y",
        "@abhishekmcp/sql"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.sql]
command = "npx"
args = ["-y", "@abhishekmcp/sql"]
.cursor/mcp.json
{
  "mcpServers": {
    "sql": {
      "args": [
        "-y",
        "@abhishekmcp/sql"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "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.

Alternatives to SQL

same job, measured the same way
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.

159 installs/wk local only
PostgreSQL MCP Server
by yawlabs

PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants

4 335 installs/wk local only
Berth
by seayniclabs

Database management — query, schema inspection, migrations for PostgreSQL, MySQL, SQLite.

91 installs/wk local only
I
Mssql Reader
by connorbritain

Read-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe querying

544 installs/wk local only
PostgreSQL MCP Server
by musaddiq-dev

Python MCP server for PostgreSQL database inspection and querying

77 installs/wk local only
MySQL MCP
by gistrec

MCP server for one MySQL database: schema, read-only queries and guarded writes.

27 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 45 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 with the file path 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 45 times in the last week. Week over week that is +47%. 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.