PostgreSQL MCP servers

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

Browse within: model-context-protocol 26mcp-server 22postgresql 21LLM 12cursor 10cli 7agentic-workflow 5ai-coding-assistant 5gemini 5

age_mcp_server

49

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 today A tokens not measured original MIT

agemcp

50

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

51

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 11mo ago A tokens not measured original MIT

postgres-mcp

52

az-coder-123/postgres-mcp

MCP server Claude CodeCodexCursor +2

A blazing fast, type-safe MCP Server for AI Agents to interact with multiple PostgreSQL databases. Runs locally from the postgres-mcp npm package.

not rated 4 7mo ago A tokens not measured

django-mcp-sql

54

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 4 4d ago A tokens not measured original MIT

postgres

55

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 1mo ago A tokens not measured

iamvirul/wso2-docs-mcp-server

MCP server Claude CodeCodexCursor +2

Semantic search over WSO2 docs (APIM, 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 3 yesterday A tokens not measured original Apache-2.0

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 8mo ago A tokens not measured original MIT

database-mcp

59

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 3mo ago A tokens not measured original MIT

mcpbridge

60

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 2mo ago A tokens not measured original MIT

postgresql-mcp

61

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 7mo ago A tokens not measured copy · 73% ISC

postgres

62

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 2d ago A tokens not measured original MIT

db

63

stucchi/db-mcp-server

MCP server Claude CodeCodexCursor +2

Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support. Runs locally from the db-mcp-server Python package. Needs 13 environment variables to run.

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

postgres

64

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 3mo ago A tokens not measured

postgresql-mcp

65

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 7mo ago A tokens not measured

postgres

66

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 4mo ago A tokens not measured original MIT

mcp-mysql-server

67

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 3mo ago A tokens not measured original Apache-2.0

pg-git-mcp

68

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 4mo ago A tokens not measured

postgres-mcp

69

mosesliao/postgres-mcp

MCP server Claude CodeCodexCursor +2

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

not rated 2 15d 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

71

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 2mo ago A tokens not measured original MIT

postgres-mcp

72

SaadRiaz99/postgres-mcp-server

MCP server Claude CodeCodexCursor +2

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

not rated 2 15d ago A tokens not measured

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: