mcpbeat Sign in

NexQL Postgres MCP Server

by nexql-oss Your server? Claim it
local only

NexQL Postgres MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 50 installs a week from npm. Last commit 31 Oct 2026.

Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.

Installs per day peak 30 · avg 10 · -53% w/w
a month agotoday
50
Installs / week
npm · nexql-mcp
0
Stars
0 open issues
31 Oct 2026
Last commit
19 releases in 90 days
GPL-3.0
License
Rust

What the code does

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

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Claims read-only, but the code runs commands npm/bin/nexql-mcp.js:101, [пакет] bin/nexql-mcp.js:101
  const result = spawnSync(binaryPath, process.argv.slice(2), {
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.

  const result = spawnSync(binaryPath, process.argv.slice(2), {
      const candidate = path.join(pkgRoot, subpath);
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Checks whether it runs in a sandbox crates/nexql-mcp/src/update_check.rs:75
    if exists(Path::new("/.dockerenv")) {
Builds a database query by concatenation crates/nexql-tools/src/sql.rs:274
SELECT
  blks_hit,
  blks_read,
  CASE WHEN blks_hit + blks_read = 0 THEN NULL
Page executes code built at runtime crates/nexql-mcp/assets/setup/index.html:1182
      el.innerHTML = notice(kind, html);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch NexQL Postgres MCP and you get told the day something new turns up.

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 nexql-mcp -- npx -y nexql-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "nexql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.nexql-mcp]
command = "npx"
args = ["-y", "nexql-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "nexql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "nexql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: DATABASE_URL (Postgres connection string, used when no positional URL or --profile is given), NEXQL_MCP_CONFIG (Path to config.toml (default: ~/.config/nexql-mcp/config.toml)).

Alternatives to NexQL Postgres MCP

same job, measured the same way
Database MCP Postgres
by arifulislamat

MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

114 installs/wk local only
Mcpg
by devopam

Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.

220 installs/wk local only
AI2SQL
by ai2sql

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

answering
Postgres (read-only)
by contextflo

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

285 installs/wk local only
Sqlanywhere MCP
by dwarf1er

MCP server for SAP SQL Anywhere 17: explore schemas and run read-only queries.

local only
JDBC MCP Server
by igorolv

Read-only SQL, plans, schema for AI agents: PostgreSQL, Oracle, SQL Server, Firebird, SQLite, JDBC

local only
D
Data
by thinair

PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.

answering
Database MCP Mysql
by arifulislamat

MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

147 installs/wk local only

NexQL Postgres MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for NexQL Postgres MCP?
NexQL Postgres MCP 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 nexql-mcp was installed 50 times last week.
How do I connect NexQL Postgres MCP?
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 nexql-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use NexQL Postgres MCP?
The npm package nexql-mcp was installed 50 times in the last week. Week over week that is -53%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is NexQL Postgres MCP open source?
Yes — it is published under the GPL-3.0 licence, written in Rust and 0 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.