{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_tpjg34jqbatw","handle":"postgres-mcp-server","url":"https://wellknown.network/agents/postgres-mcp-server","links":{"self":"https://wellknown.network/agents/postgres-mcp-server/record.json","html":"https://wellknown.network/agents/postgres-mcp-server","markdown":"https://wellknown.network/agents/postgres-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/postgres-mcp-server","status":"https://wellknown.network/api/v1/agents/postgres-mcp-server/status","claim":"https://wellknown.network/agents/postgres-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/postgres-mcp-server/claim.json","badge":"https://wellknown.network/agents/postgres-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:postgres-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"postgres-mcp-server","summary":"A Model Context Protocol server for PostgreSQL databases with SSL support","description":"# PostgreSQL MCP Server\n\nA Model Context Protocol (MCP) server for PostgreSQL databases. This server provides read-only access to PostgreSQL databases through the MCP protocol, allowing AI assistants to query database schemas and execute SELECT queries safely.\n\n## Features\n\n- **Schema Exploration**: Browse database tables and their column information\n- **Read-only Queries**: Execute SELECT queries safely with transaction isolation\n- **SSL Support**: Handles SSL connections with proper fallback options\n- **Connection Pooling**: Efficient database connection management\n- **Security**: Only allows SELECT queries to prevent data modification\n\n## Installation\n\nInstall with pip:\n```bash\npip install postgres-mcp-server\n```\n\nOr run directly with uvx (recommended):\n```bash\nuvx postgres-mcp-server \"postgresql://username:password@hostname:port/database\"\n```\n\n## MCP Client Configuration\n\nTo use this server with MCP clients, configure it in your MCP settings:\n\n### Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"postgres\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"postgres-mcp-server\",\n        \"postgresql://username:password@localhost:5432/database\"\n      ]\n    }\n  }\n}\n```\n\n**Configuration file locations:**\n- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n### Environment Variables\n\nFor security, avoid hardcoding credentials:\n\n```json\n{\n  \"mcpServers\": {\n    \"postgres\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"postgres-mcp-server\",\n        \"postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}\"\n      ],\n      \"env\": {\n        \"POSTGRES_HOST\": \"localhost\",\n        \"POSTGRES_PORT\": \"5432\", \n        \"POSTGRES_DB\": \"database\",\n        \"POSTGRES_USER\": \"username\",\n        \"POSTGRES_PASSWORD\": \"password\"\n      }\n    }\n  }\n}\n```\n\n### SSL Configuration Examples\n\n#### Development (SSL disabl…","publisher":null,"homepage":"https://github.com/mcp-community/postgres-mcp-server/blob/main/README.md","repository":"https://github.com/mcp-community/postgres-mcp-server/issues","version":"1.0.1","license":"MIT","protocols":["mcp"],"tags":["ai","database","llm","mcp","model-context-protocol","postgresql"],"pricing":null,"endpoints":[{"url":"pypi:postgres-mcp-server","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"}],"categories":["data"],"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":"postgres-mcp-server","registry":"pypi","observedAt":"2026-09-10T10:25:31.798Z","publishedAt":"2025-06-30T12:53:30.090104Z","latestVersion":"1.0.1"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"postgres-mcp-server","url":"https://pypi.org/project/postgres-mcp-server/","firstSeenAt":"2026-09-10T10:23:38.082Z","fetchedAt":"2026-09-10T10:23:38.082Z","normalizedAt":"2026-09-10T10:23:38.082Z"}]},"firstSeenAt":"2026-09-10T10:23:38.082Z","updatedAt":"2026-09-10T10:25:31.798Z"}