Connect your AI to Postgres
UniversalBench lets your AI query and update your database through one connection, using a connection string you store once. It works with any PostgreSQL-compatible database. It works with Claude, ChatGPT, Gemini, and any other MCP-compatible AI through one connection.
Connect Postgres in three steps
Get your connection string
Take your database connection string in the form postgresql://user:password@host:5432/dbname. Any PostgreSQL-compatible database works.
Save it once in the secret vault
Store the connection string in your UniversalBench secret vault under the name DATABASE_URL. That name unlocks the database capability automatically.
Connect and ask
Add the MCP URL to your AI and ask. Your AI runs filtered reads, raw SQL, keyword search, and inserts or updates, and only the rows that matter come back.
What your AI can do
- ✓Structured, filtered reads without writing SQL by hand
- ✓A raw SQL escape hatch when you need full control
- ✓Insert or update rows by key, safely
Is there a Postgres MCP server to install?
No separate server to install or host. UniversalBench is the MCP server, and Postgres is one of the things it does for your AI behind a single connection. Save your credential once in the encrypted secret vault under DATABASE_URL and it is used automatically after that.
The same connection also handles reading and updating your data from your AI and more, so one setup covers far more than Postgres alone.
Frequently asked questions
How do I connect my AI to Postgres?
First, take your database connection string in the form postgresql://user:password@host:5432/dbname. Any PostgreSQL-compatible database works. Then save it in your UniversalBench secret vault under the name DATABASE_URL, which unlocks the capability automatically. Finally, add the one MCP URL to your AI and ask in plain language.
Where do I put the credential?
In your UniversalBench secret vault, under the name DATABASE_URL. It is encrypted, used automatically by the matching capability, and never shown back to you or sent to the model in plain text.
Does this work with ChatGPT and Gemini?
Yes. UniversalBench connects through one standard MCP link, so it works with Claude, ChatGPT, Gemini, and any MCP-compatible AI. You paste one URL and the capability is there.