Postgres + Memtro

Read-only SQL over your warehouse or application database, written by the model from the schema.

Give Memtro a read-only role and the model can read the schema and run SELECT queries. In agent mode it looks at the schema first, then queries by the identifiers it found in a ticket or a CRM record.

In Memtro

What you can do with Postgres in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right Postgres tool, reads what it needs, and answers with the source cited.

Reads

  1. 01List tables and columns across the schemas you expose
  2. 02Run one read-only SELECT or WITH query at a time, rows capped, 20 second timeout
  3. 03Every query runs inside a READ ONLY transaction
  4. 04Works with warehouses, reporting replicas and application databases
In practice

Ask it like you would a colleague

Once Postgres is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.

Postgres + Memtro
  • What did Sam Lee order in the last 90 days?

  • Revenue by segment for Q3 from the warehouse

  • Check the warehouse for duplicate payments on order 4411

01

Questions, not dashboards

Ask how many orders shipped late last week; Memtro reads the schema, writes the SQL, runs it read-only and shows the query.

02

Safe by construction

Every statement runs in a READ ONLY transaction with a timeout and a row cap, through an SSH tunnel if the database is private.

Teams

Where it fits

The teams that lean on Postgres most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in Postgres is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.

Setup

How to connect

Connect withConnection string, optional SSH tunnel
  1. 1

    Create a read-only role and grant SELECT on the schemas to expose

  2. 2

    Allow Memtro's server IP in your database firewall; use sslmode=require

  3. 3

    Paste the connection string on Dashboard → Connections → Postgres and name it (e.g. warehouse)

Step-by-step guide
Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The Postgres tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in Postgres?+

Not yet. Today every Postgres tool reads, searches or lists. When the connector gains actions, each is marked, granted by name per team and used only when a person asks for exactly that, so nothing is created, sent, updated or deleted until you say so.

Who can use a Postgres connection?+

A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.

Does Memtro store my Postgres data?+

Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded.

How do I connect Postgres?+

Connection string, optional SSH tunnel. Create a read-only role and grant SELECT on the schemas to expose.

Connect Postgres in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time