Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Build a real app from day one with no data modeling. nlqdb infers your schema from how you use it, evolves it, and keeps it optimized β and shows you every change before it lands.
Your app talks to its database in plain English β over HTTP, the SDK, the
nlq CLI, or MCP from Claude, Cursor and Codex. The first insert creates the
shape; later inserts and reads evolve it; the DBA builds the indexes and
places data on the right engine, and every change is previewed, versioned and
one click to undo. The LLM never emits SQL: it returns a typed plan, our
compiler emits the parameterised statement, and you see the exact SQL every time.
No backend to build. You write HTML; each component asks for what it wants in plain English; nlqdb infers the schema, writes the SQL, runs it, and renders the result. There is no backend for you to build.
Two actions. That's the whole product:
That's the entire backend for a live order list β no API to write, no schema to define, no JSON to parse. Engine choice (Postgres / Mongo / Redis / DuckDB / pgvector / β¦), schema inference, indexing, backups, and auto-migration between engines based on your real workload are background concerns you never have to see.
nlqdb is early and built in the open, but fully public β no gate, no
invite code. The marketing site, the /v1/ask pipeline, the <nlq-data> /
<nlq-action> elements, the chat app, the TypeScript SDK, the hosted MCP
server, and the nlq CLI are all live in some form (see the surface table
below). Natural-language β SQL accuracy is still climbing toward our public
bar (BIRD β₯ 0.65, Spider 2.0 β₯ 0.75 on the free model chain), so answers can
be wrong β every response carries a confidence signal and the SQL it ran.
Connecting an agent over MCP? On Claude Code, one marketplace add wires the hosted server and both memory skills in a single step:
On any other MCP host, connect your agent
with one browser-OAuth approval; headless hosts skip the browser with
npx -y @nlqdb/mcp (0.1.1) and an sk_mcp_* MCP key
(MCP setup). @nlqdb/sdk (0.4.0) and
@nlqdb/mcp (0.1.1) are both published and importable from npm.
The 60-second walkthrough β plain HTML, CLI, and ten framework wrappers β
lives at docs.nlqdb.com. Start with the
HTML tutorial or the
CLI tutorial.
You don't generate an API key separately: describe your database at
nlqdb.com, and the chat hands you a
<nlq-data> snippet with the key already inlined.
examples/ β minimal scaffolds in plain HTML, Next.js,
Nuxt, SvelteKit, Astro, plus a CLI-only walkthrough. Each is the smallest
valid integration around one <nlq-data> element or one CLI session.
Four things every release has to move, none allowed to regress
(GLOBAL-025):
The bet: get this right on free, open models and it only gets better on frontier ones β the scaffolding compounds with whatever model is underneath.
The hosted-premium model lane went live 2026-08-14. The full model strategy is in
GLOBAL-026.
| Surface | Status | Where |
|---|---|---|
HTTP API (POST /v1/ask, POST /v1/run) | β shipped | apps/api/src/ask/** |
<nlq-data> + <nlq-action> elements | β shipped (v0.1) | packages/elements/** |
@nlqdb/sdk (TypeScript) | β shipped (incl. runSql + cross-tenant grant + pack-import runner verbs) β installable from npm (0.4.0) | packages/sdk/** |
| Framework wrappers (React / Next / Vue / Nuxt / Svelte / SvelteKit / Astro / Solid + Swift) | ~ built + CI-tested; npm / SPM publish pending | packages/{react,next,β¦}/** |
Chat app nlqdb.com/app | β shipped | apps/web/** |
Hosted MCP server mcp.nlqdb.com/mcp | β shipped (host auto-detect pending) | apps/mcp/**, packages/mcp/** |
Local stdio MCP server @nlqdb/mcp | β shipped (0.1.1) β npx -y @nlqdb/mcp with an sk_mcp_* key | packages/mcp/** |
| Droppable agent artifacts (AGENTS.md Β· Claude Code skill + plugin Β· Cursor rules Β· Codex config) | β shipped β /plugin marketplace add nlqdb/nlqdb installs the server + skills in one step | apps/web/public/agent-artifacts/** |
nlq CLI (Go) | β shipped (core verbs; device-login pending) | cli/** |
Full integration matrix in docs/progress.md.
Published to the public npm registry with build provenance
(SK-CIPERM-003). Version badges
are live from npm; the table itself is generated from the workspace by
scripts/sync-readme-packages.mjs, so it
lists exactly the packages that are un-gated ("private" removed) and nothing
that isn't.
| Package | Version | What it is | Source |
|---|---|---|---|
@nlqdb/cli | Shim that installs the nlq CLI binary for the host platform. | packages/cli-shim | |
@nlqdb/mcp | Analytical-memory MCP server for nlqdb β a real database your AI agent can GROUP BY / JOIN / aggregate over in natural language, not just recall. | packages/mcp | |
@nlqdb/sdk | Typed HTTP client for the nlqdb /v1 API β works in browsers, Node, Bun, Workers. | packages/sdk |
The two sections below are the live focus; the numbered phases after
them are the engine roadmap. Canonical plan + exit gates:
docs/phase-plan.md. Legend:
β shipped Β· ~ in progress Β· β― planned.
This roadmap is yours to shape. Want something added, reprioritised, or dropped? Open a PR editing this section (and
docs/phase-plan.mdif it's engine-facing), or open an issue to float it first. Say why now β which of the four north-star pillars (engine quality, onboarding, UX, performance) it moves. New to the codebase? Point your coding agent at this repo and paste:Setup, branch naming, and the CLA are in CONTRIBUTING.md.
GLOBAL-041)The first insert creates the shape; later inserts and reads evolve it. KPI:
first-insert inference rate β₯ 95 % at Phase A exit on the dogfood workload.
Build order in GLOBAL-041.
kind=extend typed plan β a write naming an unseen table or field widens
the schema in the same transaction as the insert, never a schema_mismatch
(both unseen-table and unseen-column cases merged to main + executor-walked;
awaiting a prod deploy, live rate 0 %)trace.widen live on SDK Β· MCP Β·
<nlq-data>; CLI/web render pendingasks_extend_ok / asks_extend_failed on the /v1/ask write path
(SK-SCHEMA-010; the rate reads on /app/admin)pg_stat_* + EXPLAIN collection β typed proposals (index /
retype / drop / rename / move-to-engine) β /app/dba dashboard with
1-click apply + undoagent_memory_v1 preset, nlqdb_remember / nlqdb_read MCP tools,
per-agent RLS isolation, the Claude Code plugin, /agentsFactual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/nlqdb-analytical-memory-for-ai-agents)<a href="https://allmcps.com/mcp/nlqdb-analytical-memory-for-ai-agents"><img src="https://allmcps.com/api/badge/nlqdb-analytical-memory-for-ai-agents?style=directory" alt="Nlqdb β analytical memory for AI agents on AllMCPs" /></a>