{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_t4cb2ttmcgzm","handle":"pg-analytics-mcp","url":"https://wellknown.network/agents/pg-analytics-mcp","links":{"self":"https://wellknown.network/agents/pg-analytics-mcp/record.json","html":"https://wellknown.network/agents/pg-analytics-mcp","markdown":"https://wellknown.network/agents/pg-analytics-mcp/record.md","api":"https://wellknown.network/api/v1/agents/pg-analytics-mcp","status":"https://wellknown.network/api/v1/agents/pg-analytics-mcp/status","claim":"https://wellknown.network/agents/pg-analytics-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/pg-analytics-mcp/claim.json","badge":"https://wellknown.network/agents/pg-analytics-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:pg-analytics-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"pg-analytics-mcp","summary":"MCP server for PostgreSQL analytics — schema discovery, data exploration, relationships, performance, data quality, multi-env support","description":"# pg-analytics-mcp\n\nAn [MCP](https://modelcontextprotocol.io/) server for **PostgreSQL analytics** — a general-purpose \"DBA-lite\" toolkit that gives any MCP client (Claude Code, Cursor, etc.) instant visibility into schema structure, data quality, relationships, performance, and multi-environment comparison.\n\n## What it does\n\nExposes **20 read-only tools** (+ 4 optional) organised in 6 categories:\n\n### Schema Discovery\n- **`database_summary`** — high-level overview: schema/table/view/FK/index counts, total size, extensions\n- **`scan_schemas`** — row counts for every table, grouped by schema\n- **`describe_table`** — column details: name, type, nullable, default, position\n- **`table_sizes`** — disk usage (data + indexes + toast) per table, ordered by size\n- **`find_tables`** — search tables by name pattern (ILIKE)\n- **`find_columns`** — find tables that have a column matching a pattern\n- **`list_empty_tables`** — quickly find tables with 0 rows\n- **`list_environments`** — list configured environments\n\n### Data Exploration\n- **`recent_rows`** — peek at the most recent rows (auto-detects timestamp/PK ordering)\n- **`column_value_counts`** — distinct values and frequencies for a column\n- **`column_stats`** — min, max, avg, null count, distinct count for a column\n\n### Relationships\n- **`list_constraints`** — all constraints (PK, unique, check, FK) for a table\n- **`foreign_keys`** — bidirectional FK relationships (incoming + outgoing)\n- **`compare_envs`** — compare row counts across DEV / STG / PROD\n\n### Performance\n- **`index_usage`** — index scan stats and unused index detection\n- **`slow_query_candidates`** — tables with high sequential scan counts (missing index candidates)\n- **`bloat_estimate`** — tables with dead tuples that may need VACUUM\n\n### Data Quality\n- **`table_health`** — row count + last inserted_at/updated_at for a table\n- **`null_report`** — null percentage for every column in a table\n- **`duplicate_check`** — find duplicate rows based on a set of columns…","publisher":null,"homepage":"https://github.com/fabdendev/pg-analytics-mcp","repository":"https://github.com/fabdendev/pg-analytics-mcp","version":"0.5.0","license":"MIT","protocols":["mcp"],"tags":["analytics","data-quality","mcp","monitoring","postgresql"],"pricing":null,"endpoints":[{"url":"pypi:pg-analytics-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":"dev.monitoring","name":"Monitoring & Observability","confidence":1,"provenance":"declared"}],"categories":["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":"pg-analytics-mcp","registry":"pypi","observedAt":"2026-09-10T09:27:02.812Z","publishedAt":"2026-03-14T19:52:29.181005Z","latestVersion":"0.5.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"pg-analytics-mcp","url":"https://pypi.org/project/pg-analytics-mcp/","firstSeenAt":"2026-09-10T09:26:10.820Z","fetchedAt":"2026-09-10T09:26:10.820Z","normalizedAt":"2026-09-10T09:26:10.820Z"}]},"firstSeenAt":"2026-09-10T09:26:10.820Z","updatedAt":"2026-09-10T09:27:02.812Z"}