Postgres MCP
Postgres MCP: ask Claude or ChatGPT about your Postgres tables.
PostgresYour data
- MammothCleans and calculates
Your AI assistantClaude, ChatGPT, VS Code
Your two options
Two ways to connect Postgres to your AI assistant
Mammoth answers questions about Postgres and your other data. Other Postgres MCP servers query Postgres directly.
Mammoth
Ask about Postgres and your other data. Mammoth calculates the answer, so the numbers are exact. Included on every plan.
“How many signups did we get each week this quarter?”
Other Postgres MCP servers
Queries your database directly. You install and look after it yourself.
“Show the 10 newest rows in the orders table.”
Option 1 · Mammoth
What you can ask about your Postgres tables
Pick a question to see what your assistant gets back.
| Week of | Signups |
|---|---|
| Oct 6 | 1,184 |
| Oct 13 | 1,302 |
| Oct 20 | 1,247 |
Shown on sample data. Your questions run on your own data.
More questions, by team
Pick your team, then copy a question into Claude or ChatGPT.
- CountHow many users signed up each day this month?
- TopWhich features were used most last month?
- CountHow many accounts were active each week?
- AverageWhat's the average number of projects per account, by plan?
- TotalHow much revenue did each plan bring in each month?
- CountHow many paying accounts do we have in each country?
- AverageWhat's the average order value each month?
- CountHow many refunds did we issue each week?
- CountHow many orders did we ship each day?
- CountHow many support tickets are open in each category?
- AverageWhat's the average delivery time by carrier?
- CountHow many orders are waiting in each warehouse?
Copy a question and paste it into your assistant once Mammoth is connected.
Ask about Postgres and your other data together
Connect PostgreSQL and any of Mammoth’s 100+ other sources, like Stripe, Jira or Salesforce. Join them once in Mammoth, and your assistant can answer questions that cover all of them.
See all 100+ sourcesExample: Postgres with Stripe
Which features do our highest-paying customers use most?
Your database holds product usage and Stripe holds the payments. Mammoth matches them on the customer.
Option 1 · Mammoth
Set up Postgres with Mammoth in three steps
- Step 1
Connect Postgres to Mammoth
Choose PostgreSQL from Mammoth's connectors and sign in. Then pick the data you want.
https://mcp.mammoth.io/mcpStep 2Add Mammoth to your assistant
Paste this address into Claude, ChatGPT or VS Code, then sign in with your Mammoth account.
- Step 3
Ask your question
Ask in Claude or ChatGPT, in plain words. Mammoth works out the numbers and your assistant replies with the answer.
What Mammoth reads from Postgres
You give Mammoth a database login. It shows every table that login can see, and you pick the ones to bring in.
Step-by-step setup for each assistant is in our MCP docs.
Option 2 · Other servers
How other Postgres MCP servers are set up
There's no single official Postgres MCP server. Most are community projects you install and run yourself, with a database login in their settings.
- Step 1
Pick a server
Choose a community Postgres MCP server and install it with its command.
- Step 2
Add your database login
Put your connection string in your assistant's MCP settings.
- Step 3
Ask questions
The server queries your database with that login.
Common questions about Postgres MCP
What other PostgreSQL MCP servers are there?
Does my AI assistant get my database password?
How does my assistant get to my PostgreSQL data?
Are the numbers right?
Which AI assistants work with it?
What does it cost?
Do I paste a password or API key into the chat?
Can my assistant change things by mistake?
Ask your AI assistant about your Postgres tables.
Start free, connect PostgreSQL, and add Mammoth to Claude or ChatGPT.
- ✓ 14-day Pro trial
- ✓ No credit card
- ✓ Viewers always free