Docs

The map of everything NexQL does.

NexQL MCP gives your AI assistant 55 tools for your Postgres database, plus the guardrails that decide what they're allowed to do. Read a guide to understand a feature, or open a tool to see exactly how it behaves.

One question, four stops

  1. 01You ask“Which customers churned last month?”
  2. 02Your AI appPicks tools: search_schema, then run_select.
  3. 03nexql-mcp, on your computerFinds the real tables in its schema index, checks the SQL is allowed, masks personal data.
  4. 04Your databaseRuns the query read-only, under a time limit and a row cap.

Follow the whole route →

Tools, by line

Grouped by what you'd use them for. All but seven work in the default read-only mode; those seven, on the Changes line, need write or admin mode.

Explore the schema

Find the right tables before any SQL is written, so the assistant works from what exists, not from guesses.

Ask with SQL

Run read-only queries, get results in the shape you need, and understand why a query is slow.

NexQL itself

Look after the schema index, check the setup, and load more tools when the assistant needs them.

Guides