PostgreSQL MCP servers

284 tagged PostgreSQL, measured the same way as everything else here.

Browse within: model-context-protocol 30mcp-server 25postgresql 23LLM 14cursor 12cli 8gemini 5supabase 5

steampipe-mcp

49

andrew-kurin/steampipe-mcp-server

MCP server Claude CodeCodexCursor +2

A Python MCP server interacting with PostgreSQL, intended for use with Steampipe. Runs locally from the steampipe-mcp-server Python package.

not rated 4 1y ago A tokens not measured original MIT

age_mcp_server

50

rioriost/age_mcp_server

MCP server Claude CodeCodexCursor +2

Apache AGE MCP Server. Runs locally from the age_mcp_server Python package.

not rated 4 11d ago A tokens not measured original MIT

agemcp

51

veloper/agemcp

MCP server Claude CodeCodexCursor +2

PostgreSQL MCP. Runs locally from the agemcp Python package.

not rated 4 1y ago A tokens not measured original BSD-3-Clause

pg-mcp

52

andre-c-andersen/pg-mcp

MCP server Claude CodeCodexCursor +2

A lightweight, read-only-by-default PostgreSQL MCP server for data analysts and ETL developers. Runs locally from the pg-mcp Python package.

not rated 4 1y ago A tokens not measured original MIT

iamvirul/wso2-docs-mcp-server

MCP server Claude CodeCodexCursor +2

Semantic search over WSO2 docs (APIM, IS, MI, Choreo, Ballerina) via RAG and pgvector. Runs locally from the wso2-docs-mcp-server npm package. Needs 5 environment variables to run.

not rated 4 18d ago A tokens not measured original Apache-2.0

semantic-rails

55

semantic-rails/semantic-rails

MCP server Claude CodeCodexCursor +2

Agent-first semantic layer for governed analytics over DuckDB, Snowflake, Postgres, BigQuery, Databricks, Athena, ClickHouse, MotherDuck, and DuckLake. Runs locally from the semantic-rails Python package.

not rated 4 +1 2d ago A tokens not measured original Apache-2.0

postgres

56

skyengpro/iviss

MCP server Claude CodeCodexCursor +2

One of 5 in .mcp.json

PostgreSQL Tuning and Analysis Tool. Runs locally from the postgres-mcp Python package. Needs 1 environment variable to run.

not rated 4 2mo ago A tokens not measured

virtual-fs

57

lu-zhengda/mcp-virtual-fs

MCP server Claude CodeCodexCursor +2

PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS. Runs locally from the mcp-virtual-fs npm package. Needs 4 environment variables to run.

not rated 3 9mo ago A tokens not measured original MIT

django-mcp-sql

58

thepapermen/django-mcp-sql

MCP server Claude CodeCodexCursor +2

Read-only PostgreSQL surface for an LLM agent over the MCP protocol, with defense-in-depth at parser, executor, DB-role, and transport layers. Runs locally from the django-mcp-sql Python package.

not rated 3 25d ago A tokens not measured original MIT

database-mcp

60

hadi21k/database-mcp

MCP server Claude CodeCodexCursor +2

Model Context Protocol server for multi-database access (PostgreSQL, MySQL, SQLite, Snowflake) with comprehensive introspection and analysis tools. Runs locally from the database-mcp npm package.

not rated 3 4mo ago A tokens not measured original MIT

mcpbridge

61

manulthanura/MCPBridge

MCP server Claude CodeCodexCursor +2

MCP server "mcpbridge" as configured in manulthanura/MCPBridge. Runs /absolute/path/to/mcpbridge/dist/main.js with node. Needs 3 environment variables to run.

not rated 3 4mo ago A tokens not measured original MIT

postgresql-mcp

62

sarmadparvez/postgresql-mcp

MCP server Claude CodeCodexCursor +2

MCP server for PostgreSQL with full read-write support, transactions, and schema inspection. Works with any PostgreSQL instance — local, Supabase, AWS RDS, or self-hosted. Use with Claude, Cursor, Windsurf, and any MCP-compatible AI client. Runs locally from the @sarmadparvez/postgresql-mcp npm package.

not rated 3 8mo ago A tokens not measured copy · 73% ISC

nlqdb

63

nlqdb/nlqdb

MCP server Claude CodeCodexCursor +2

Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command. Remote server at mcp.nlqdb.com.

not rated 3 +1 today A tokens not measured

postgres

64

Eszetael/postgres-mcp-hardened

MCP server Claude CodeCodexCursor +2

Secure read-only PostgreSQL MCP server in Rust — a maintained alternative to the deprecated @modelcontextprotocol/server-postgres. Blocks writes at the AST, not with regexes. Runs locally from the postgres-mcp-hardened npm package. Needs 2 environment variables to run.

not rated 3 5d ago A tokens not measured original MIT

postgres

65

marcbenito/claude_workshop_ensenyament

MCP server Claude CodeCodexCursor +2

One of 2 in .mcp.json

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package.

not rated 2 4mo ago A tokens not measured

postgresql-mcp

66

baselab1008/my-todolist

MCP server Claude CodeCodexCursor +2

MCP server "postgresql-mcp" as configured in baselab1008/my-todolist. Launched with cmd /c npx -y @henkey/postgres-mcp-server.

not rated 2 8mo ago A tokens not measured

postgres

67

m-binimran/dev-pack

MCP server Claude CodeCodexCursor +2

One of 2 in .mcp.json

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package. Needs 1 environment variable to run.

not rated 2 5mo ago A tokens not measured original MIT

mcp-mysql-server

68

81832310/mcp-mysql-server

MCP server Claude CodeCodexCursor +2

MySQL and PostgreSQL MCP Server for Claude Code. Runs locally from the @huangcaiming5913/mcp-mysql-server npm package.

not rated 2 4mo ago A tokens not measured original Apache-2.0

pg-git-mcp

69

kruschdev/pg-git-mcp

MCP server Claude CodeCodexCursor +2

A PostgreSQL-backed Git implementation and semantic memory MCP server for AI IDEs. Runs locally from the pg-git-mcp npm package.

not rated 2 6mo ago A tokens not measured

postgres-mcp

70

mosesliao/postgres-mcp

MCP server Claude CodeCodexCursor +2

PostgreSQL Tuning and Analysis Tool. Runs locally from the postgres-mcp Python package.

not rated 2 2mo ago A tokens not measured original MIT

sebcbi1/mcp-postgresql-server

MCP server Claude CodeCodexCursor +2

A secure, read-only PostgreSQL Model Context Protocol (MCP) server for AI assistant integration with automatic database discovery and connection management. Runs locally from the mcp-postgresql-server Python package.

not rated 2 1y ago A tokens not measured original MIT

mcp-postgresql

72

ferronicardoso/mcp-postgresql

MCP server Claude CodeCodexCursor +2

Simple MCP server for PostgreSQL with query filtering. Runs locally from the mcp-postgresql npm package.

not rated 2 3mo ago A tokens not measured original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: