{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_trmyc7qjj7sr","handle":"mapeg-postgres-mcp","url":"https://wellknown.network/agents/mapeg-postgres-mcp","links":{"self":"https://wellknown.network/agents/mapeg-postgres-mcp/record.json","html":"https://wellknown.network/agents/mapeg-postgres-mcp","markdown":"https://wellknown.network/agents/mapeg-postgres-mcp/record.md","api":"https://wellknown.network/api/v1/agents/mapeg-postgres-mcp","status":"https://wellknown.network/api/v1/agents/mapeg-postgres-mcp/status","claim":"https://wellknown.network/agents/mapeg-postgres-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mapeg-postgres-mcp/claim.json","badge":"https://wellknown.network/agents/mapeg-postgres-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mapeg-postgres-mcp/history","tools":"https://wellknown.network/api/v1/agents/mapeg-postgres-mcp/tools"},"ard":{"identifier":"urn:air::server:mapeg-postgres-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mapeg-postgres-mcp","summary":"PostgreSQL MCP server for Model Context Protocol","description":"# PostgreSQL MCP Server\n\n[![Python](https://img.shields.io/badge/python-3.10+-blue?logo=python&logoColor=white)](https://python.org)\n[![MCP](https://img.shields.io/badge/MCP-2026--07--28-purple)](https://modelcontextprotocol.io)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/mapeg-postgres-mcp)](https://pypi.org/project/mapeg-postgres-mcp/)\n\nA Model Context Protocol (MCP) server for PostgreSQL databases. Query, explore, and analyze your PostgreSQL databases directly from any MCP-compatible AI client.\n\n## Features\n\n- **Execute SQL** — Run any SQL query with automatic result formatting\n- **Natural Language Queries** — Ask questions in plain English or Turkish\n- **Schema Exploration** — List tables, describe columns, view statistics\n- **Execution Plans** — EXPLAIN / EXPLAIN ANALYZE with buffer stats\n- **Query History** — Review past queries scoped to your database and workspace\n- **Read-Only Mode** — Optional write protection via `READ_ONLY=true`\n- **Zero Install** — Works with `uvx`, no virtual environment needed\n- **Structured Output** — Results come back as typed JSON (`columns`, `rows`, `row_count`,\n  `duration_ms`), not an ASCII table you have to parse back\n- **Write Confirmation** — Any INSERT/UPDATE/DELETE/DROP is confirmed with the user before it\n  runs, with an extra warning for the irreversible ones\n- **Prompts** — `analyze_table` and `optimize_query` as ready-made investigation flows\n\n## Quick Start\n\n### Claude Code\n\n```bash\nclaude mcp add postgres \\\n  -e DB_HOST=localhost \\\n  -e DB_PORT=5432 \\\n  -e DB_NAME=mydb \\\n  -e DB_USER=postgres \\\n  -e DB_PASSWORD=secret \\\n  -- uvx mapeg-postgres-mcp\n```\n\n### Claude Desktop\n\nAdd to your config file:\n\n- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"postgres\": {\n      \"command\": \"uvx\",\n      \"args\": [\"mapeg-postgres-mcp\"],\n  …","publisher":{"name":"mytsx","url":null},"homepage":"https://github.com/mytsx/mcp-servers","repository":"https://github.com/mytsx/mcp-servers","version":"2.0.0","license":"MIT","protocols":["mcp"],"tags":["mcp","model-context-protocol","postgresql","database","claude"],"pricing":null,"endpoints":[{"url":"pypi:mapeg-postgres-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","publisherName":"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":"mapeg-postgres-mcp","registry":"pypi","observedAt":"2026-10-28T09:23:07.018Z","publishedAt":"2026-09-08T13:23:03.836985Z","latestVersion":"2.0.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mapeg-postgres-mcp","url":"https://pypi.org/project/mapeg-postgres-mcp/","firstSeenAt":"2026-09-09T23:26:42.467Z","fetchedAt":"2026-10-28T09:21:52.659Z","normalizedAt":"2026-10-28T09:21:52.659Z"}]},"firstSeenAt":"2026-09-09T23:26:42.467Z","updatedAt":"2026-10-28T09:23:07.018Z"}