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
- 01You ask“Which customers churned last month?”
- 02Your AI appPicks tools:
search_schema, thenrun_select. - 03nexql-mcp, on your computerFinds the real tables in its schema index, checks the SQL is allowed, masks personal data.
- 04Your databaseRuns the query read-only, under a time limit and a row cap.
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.
Find the right tables before any SQL is written, so the assistant works from what exists, not from guesses.
Run read-only queries, get results in the shape you need, and understand why a query is slow.
Add databases, move between them, and find which one holds the data, with passwords kept out of the chat.
See how the database is doing, what's slow, what's stuck, and which indexes help or hurt.
Plan schema changes safely, and, only when you allow it, change data and run maintenance.
Look after the schema index, check the setup, and load more tools when the assistant needs them.