Koskamo

NexQL Postgres MCP

A standalone Postgres MCP server that provides schema-aware, read-only by default access to database models. It features an offline schema index with TF-IDF, join graphs, and value profiles to prevent hallucinations. The server exposes 55 tools across Schema, Query, Context, Perf, Write, and Admin categories, allowing AI agents to safely interact with Postgres databases.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

NexQL Postgres MCP logo, by NexQL-OSSCommunity listingLocal stdioSource reviewed; not executedPublished by NexQL-OSS
Vendor documentation

What you can do with it

  • Read and understand data models from Postgres databases
  • Execute safe, schema-aware SQL queries
  • Analyze database performance and structure
  • Manage database objects within a connected database

Source and maintenance

Community listingRegistry 0.2.4
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

nexql-mcp 0.2.4

npmnpx
nexql-mcp package definition
{
  "version": "0.2.4",
  "transport": "stdio",
  "identifier": "nexql-mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "packageArguments": [
    {
      "type": "positional",
      "valueHint": "connection_string",
      "description": "Postgres connection string (postgres://user:pass@host:5432/dbname). Omit to use a saved --profile or DATABASE_URL."
    }
  ],
  "environmentVariables": [
    {
      "name": "DATABASE_URL",
      "description": "Postgres connection string, used when no positional URL or --profile is given."
    },
    {
      "name": "NEXQL_MCP_CONFIG",
      "description": "Path to config.toml (default: ~/.config/nexql-mcp/config.toml)."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "nexql-postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp@0.2.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "NEXQL_MCP_CONFIG": "<YOUR_NEXQL_MCP_CONFIG>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "nexql-postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp@0.2.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "NEXQL_MCP_CONFIG": "<YOUR_NEXQL_MCP_CONFIG>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "nexql-postgres-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp@0.2.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "NEXQL_MCP_CONFIG": "<YOUR_NEXQL_MCP_CONFIG>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "nexql-postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp@0.2.4"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "NEXQL_MCP_CONFIG": "<YOUR_NEXQL_MCP_CONFIG>"
      }
    }
  }
}

Let your agent find its tools

Find servers like NexQL Postgres MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.