Local Postgres + MCP

Query local Postgres from Claude

Remote MCP server, local database. MCPBundles Desktop tunnels to localhost:5432 so your agent runs SQL without exposing Postgres to the internet.

Desktop tunnel · Schema + SQL tools · Query from Claude

Already have an account? Sign in·Full setup guide

MCP URL
https://mcp.mcpbundles.com/bundle/postgres

Connect in your AI client

Pick your AI client above. Create a free account, then connect the services you need on MCPBundles.

Tools included

List tablesInspect schemaRun SQLExplain plansBatch executeSearch tablesAI descriptionsLocalhost tunnel

Example prompts

After you connect, ask your AI client to run these workflows live.

Schema tour

List tables in the public schema and summarize what each one is for.

Debug a query

Run EXPLAIN on this SELECT and suggest indexes to speed it up.

Ad-hoc analysis

Count signups per week for the last 90 days and flag any anomalies.

4 steps to live tools

1

Open in your AI client

Choose Cursor, Claude.ai, VS Code, or another option above. Your client opens MCPBundles to finish setup.

2

Create your free account

Finish sign-up in the window your client opens. No credit card.

3

Install MCPBundles Desktop

Desktop bridges your AI client to localhost Postgres. Get it at mcpbundles.com/desktop.

4

Enable PostgreSQL and connect

Turn on PostgreSQL in MCPBundles and add your local connection.

Ready to connect?

Get your MCP URL in under 60 seconds. Free to start — no credit card.

Local Postgres MCP — Query localhost from Claude | MCPBundles