Psycopg2 MCP Server
by daedalusio.github.daedalus/mcp-psycopg2v0.1.0
MCP server exposing psycopg2 PostgreSQL database adapter functionality
context tax
queued
security
queued
cold start
queued
freshness
Slowing6mo ago
Install Psycopg2 MCP server
Install in Claude Code
claude mcp add psycopg2 -- uvx mcp-psycopg2Install in Cursor
{
"mcpServers": {
"psycopg2": {
"command": "uvx",
"args": [
"mcp-psycopg2"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"psycopg2": {
"command": "uvx",
"args": [
"mcp-psycopg2"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"psycopg2": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-psycopg2"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"psycopg2": {
"command": "uvx",
"args": [
"mcp-psycopg2"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Slowing — last maintenance signal 6mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-04-21 · 6mo ago · GitHub
Latest release
2026-04-06 · 6mo ago · GitHub · v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-04-06 · 6mo ago · official registry · v0.1.0
FAQ
›How do I install the Psycopg2 MCP server in Claude Code?
Run: claude mcp add psycopg2 -- uvx mcp-psycopg2. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Psycopg2 require an API key?
No required environment variables are declared in its published metadata.
›Can I use Psycopg2 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Psycopg2 in the official MCP registry?
Yes, as io.github.daedalus/mcp-psycopg2.
Alternatives to Psycopg2
Other database MCP servers.