Postgresql Sharp MCP
by @codegiveness
Discover PostgreSQL databases, inspect schemas, run bounded SQL, review plans, analyze indexes, and check database health over MCP.
Install Postgresql Sharp MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"codegiveness-postgresql-sharp-mcp": {
"command": "npx",
"args": [
"-y",
"--allow-scripts=@codegiveness/postgresql-sharp-mcp",
"@codegiveness/postgresql-sharp-mcp@0.7.1"
],
"env": {
"POSTGRES_DATABASE_LOCK_MODE": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env POSTGRES_DATABASE_LOCK_MODE=YOUR_VALUE_HERE --transport stdio codegiveness-postgresql-sharp-mcp -- npx -y --allow-scripts=@codegiveness/postgresql-sharp-mcp @codegiveness/postgresql-sharp-mcp@0.7.1Run in your terminal. Add --scope project to share it with your team through .mcp.json.
We couldn’t confirm it starts correctly
We hit an unexpected error while testing this listing automatically.
npx -y --allow-scripts=@codegiveness/postgresql-sharp-mcp @codegiveness/postgresql-sharp-mcp@0.7.1Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Browse accessible PostgreSQL databases and schemas
- Inspect table columns, indexes, constraints, and triggers
- Run parameterized read-only SQL queries
- Investigate slow queries with execution plans
- Review index usage and database health
Key features
- Live PostgreSQL database and schema discovery
- Bounded, paginated tool results
- Parameterized SQL with read-only default behavior
- Query plans with optional HypoPG indexes
- Index, query-statistics, and health analysis
- Bundled .NET runtime for npm installation
Tools9
What Postgresql Sharp MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 6d ago via OSV.dev · @codegiveness/postgresql-sharp-mcp@0.7.1 (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Postgresql Sharp MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Postgresql Sharp MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/codegiveness-postgresql-sharp-mcp)<a href="https://allmcps.com/mcp/codegiveness-postgresql-sharp-mcp"><img src="https://allmcps.com/api/badge/codegiveness-postgresql-sharp-mcp?style=directory" alt="Postgresql Sharp MCP on AllMCPs" /></a>