{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_63m5gzqszw7u","handle":"postgresql-mcp","url":"https://wellknown.network/agents/postgresql-mcp","links":{"self":"https://wellknown.network/agents/postgresql-mcp/record.json","html":"https://wellknown.network/agents/postgresql-mcp","markdown":"https://wellknown.network/agents/postgresql-mcp/record.md","api":"https://wellknown.network/api/v1/agents/postgresql-mcp","status":"https://wellknown.network/api/v1/agents/postgresql-mcp/status","claim":"https://wellknown.network/agents/postgresql-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/postgresql-mcp/claim.json","badge":"https://wellknown.network/agents/postgresql-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:postgresql-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"postgresql-mcp","summary":"MCP server for PostgreSQL database operations - query, explore schemas, and analyze tables","description":"# postgresql-mcp (Python)\n\n<!-- mcp-name: io.github.JaviMaligno/postgresql -->\n\nMCP server for PostgreSQL database operations. Works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.\n\nThis is the **Python** implementation. A TypeScript implementation with the same\ntool set lives in [`/typescript`](https://github.com/JaviMaligno/postgres_mcp/tree/main/typescript)\nand is published to npm as `postgresql-mcp`.\n\n> This file used to be a symlink to the repository root README. That made the\n> published source distribution carry a dangling link, which broke the wheel\n> build — so it is a real file now, deliberately kept short. **The full\n> documentation is in the [repository README](https://github.com/JaviMaligno/postgres_mcp#readme).**\n\n## Install\n\n```bash\npipx install postgresql-mcp\n```\n\n## Configure\n\n```bash\nclaude mcp add postgres -s user \\\n  -e POSTGRES_HOST=localhost \\\n  -e POSTGRES_USER=your_user \\\n  -e POSTGRES_PASSWORD=your_password \\\n  -e POSTGRES_DB=your_database \\\n  -- postgresql-mcp\n```\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `POSTGRES_HOST` | | `localhost` | Database host |\n| `POSTGRES_PORT` | | `5432` | Database port |\n| `POSTGRES_USER` | ✅ | | Database user |\n| `POSTGRES_PASSWORD` | ✅ | | Database password |\n| `POSTGRES_DB` | ✅ | | Database name |\n| `POSTGRES_SSLMODE` | | `prefer` | SSL mode |\n| `ALLOW_WRITE_OPERATIONS` | | `false` | Enable INSERT/UPDATE/DELETE |\n| `QUERY_TIMEOUT` | | `30` | Query timeout in seconds |\n| `MAX_ROWS` | | `1000` | Maximum rows returned per query |\n\n## What it provides\n\n- **15 tools** — query execution, schema exploration, table analysis, EXPLAIN plans\n- **4 prompts** — guided workflows for exploration, query building, performance analysis and documentation\n- **Named databases** — select a configured connection per tool call without exposing credentials\n- **Resources** — browsable database structure as markdown\n- **Read-only by default**, with SQL …","publisher":null,"homepage":"https://github.com/JaviMaligno/postgres_mcp#readme","repository":"https://github.com/JaviMaligno/postgres_mcp/issues","version":"1.1.0","license":"MIT","protocols":["mcp"],"tags":["ai","claude","database","llm","mcp","postgres","postgresql"],"pricing":null,"endpoints":[{"url":"pypi:postgresql-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"declared"},{"slug":"code.documentation","name":"Code Documentation","confidence":0.848,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.825,"provenance":"derived"},{"slug":"ai.prompting","name":"Prompt Management","confidence":0.791,"provenance":"derived"}],"categories":["ai","code","data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"postgresql-mcp","registry":"pypi","observedAt":"2026-09-10T10:25:31.876Z","publishedAt":"2026-08-03T09:04:36.836504Z","latestVersion":"1.1.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"postgresql-mcp","url":"https://pypi.org/project/postgresql-mcp/","firstSeenAt":"2026-09-10T10:23:38.318Z","fetchedAt":"2026-09-10T10:23:38.318Z","normalizedAt":"2026-09-10T10:23:38.318Z"}]},"firstSeenAt":"2026-09-10T10:23:38.318Z","updatedAt":"2026-09-10T10:25:31.876Z"}