PostgreSQL MCP
A hosted MCP server that allows AI agents to safely interact with PostgreSQL databases. It provides 8 actions including reading table metadata, schemas, and health reports, as well as executing SQL queries. It supports various AI clients like Claude, ChatGPT, and Cursor without requiring local installation.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://postgresql.insightfulmcp.com/What you can do with it
- Explore unfamiliar database schemas and tables
- Answer business questions by generating and running SQL queries
- Tune slow queries by analyzing EXPLAIN plans and pg_stat_statements
- Report on database health metrics like connections and cache hit rates
Source and maintenance
- Maintenance checked
Tools
Reported by the attributed source; not independently observed by Koskamo.
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 319 ms
- 95th percentile latency
- 319 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 319 ms · metadata changed · refuses unauthenticated initialize (HTTP 401)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http postgresql-mcp https://postgresql.insightfulmcp.com/Codex
codex mcp add postgresql-mcp --url https://postgresql.insightfulmcp.com/Cursor
{
"mcpServers": {
"postgresql-mcp": {
"url": "https://postgresql.insightfulmcp.com/"
}
}
}Cline
{
"mcpServers": {
"postgresql-mcp": {
"type": "streamableHttp",
"url": "https://postgresql.insightfulmcp.com/",
"disabled": false
}
}
}VS Code
{
"servers": {
"postgresql-mcp": {
"type": "http",
"url": "https://postgresql.insightfulmcp.com/"
}
}
}Gemini CLI
gemini mcp add --transport http postgresql-mcp https://postgresql.insightfulmcp.com/Claude Desktop
{
"mcpServers": {
"postgresql-mcp": {
"url": "https://postgresql.insightfulmcp.com/"
}
}
}Windsurf
{
"mcpServers": {
"postgresql-mcp": {
"serverUrl": "https://postgresql.insightfulmcp.com/"
}
}
}Let your agent find its tools
Find servers like PostgreSQL MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run PostgreSQL MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.