1. Conduid
  2. Data
  3. Pgbot
MCP server · Data

Pgbot

Postgres intelligence for ai agents

84Strong

Scored 19 hours ago · breakdown

About Pgbot

Pgbot is an MCP server published by pgrundev in the Data category: postgres intelligence for ai agents. Conduid read 9 tools from its source: compare_to_baseline, explain_finding, explain_plan, index_code_correlation, inspect, record_index_verdict and 3 more. No package is published for it, so it installs from a source checkout.

The repository has 1.5K stars and 74 forks, and its last commit was on 30 Nov 2026. The latest release is v0.11.1 (24 Nov 2026): Changelog 851393159ed2089dbf0dde13bc2df4326644b33f docs(changelog): 0.11.1 — re-release to publish npm packages. It follows v0.11.0 (23 Nov 2026), and the 5 most recent releases go back to v0.8.1 (6 Sep 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include autovacuum, cli, database, dba, diagnostics and index-advisor.

Install

From source
git clone https://github.com/pgrundev/pgbot

Tools (9)

compare_to_baselinethe `diff`, with its interval-honesty and reset caveats
explain_findingpgbot's catalogue page for a finding, so the agent explains
explain_planthe planner's plan for a SELECT (plain EXPLAIN, never executed),
index_code_correlationgrades each unused/redundant/invalid index
inspectfull findings as JSON
record_index_verdictstore what the repo search found, so a later run over a
schema_ofa table's columns/indexes/constraints + row estimate, no data
suggest_indexesplanner-validated index recommendations (hypopg)
whythe causal chains from stored history (symptom ← mechanism ←

Security checks

  • ✓README presentThe repository's README runs to about 9.8K words.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by flake.lock and go.sum.
  • ✓No dynamic code executionScanned 155 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
16 callsinternal/monitor/notifier_app_darwin.go:94, internal/monitor/notifier_app_darwin.go:108, internal/monitor/notifier_app_darwin.go:115
Outbound network calls
5 callsinternal/ai/anthropic.go:112, internal/ai/gemini.go:114, internal/ai/openai.go:144
Writes or deletes files
36 callscmd/pgbot/config_cmd.go:175, cmd/pgbot/monitor.go:528, cmd/pgbot/monitor.go:622
Lockfile
flake.lock and go.sum

Pattern matches on the source text of 155 files: places to read, not proof of what the code does at run time.

Releases

v0.11.1v0.11.1 · 24 Nov 2026Changelog 851393159ed2089dbf0dde13bc2df4326644b33f docs(changelog): 0.11.1 — re-release to publish npm packages
v0.11.0v0.11.0 · 23 Nov 2026Changelog a4584ee467d2528704ea99d66a8954375d0ba8ea Land contributor fixes: #124 #71 #101 #97 #95 #102 #146 (+ #98) (#168) 3903257bac295e948f398af011eb9af63c969489 Merge PR #101 fb6818895315468caad7efaef584842f0c9ab915 Merge PR #102…
v0.10.0v0.10.0 · 16 Nov 2026Changelog ee87f580b8d0309acfd7f57df2927397d889c109 build(deps): bump actions/setup-node from 7.0.0 to 7.1.0 (#132) c062efd8a2bc745a46ab7ad7643add26992144fe build(deps): bump anchore/sbom-action/download-syft (#126)…
v0.9.0v0.9.0 · 19 Oct 2026Changelog 14b7543d74a973dbdb241bdc453cf736b66373c5 Integrate nixpks build (#45) 44c253f4515e7722b11816ed3a8bce556405f968 Merge pull request #36 from bluzername/pgservice-fallback 2e06f8c7ad0b7af689befa61b6717041cb5f51e7 Merge pull request…
v0.8.1v0.8.1 · 6 Sep 2026Changelog e3834c11d75e81eeeb4140b5e06d396071fa166a release: sign the checksum with the cosign bundle only; cut 0.8.1

README

The repository's README runs to about 9.8K words, fetched 3 days ago. The original in the repository is authoritative.

Read full README
Questions

About Pgbot

How do I install Pgbot?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Pgbot safe to use with an AI agent?

Its trust score is 84 out of 100 (strong). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 155 source files found that it starts other programs (16 calls), makes outbound network calls (5 calls) and writes or deletes files (36 calls). Its dependencies are pinned by flake.lock and go.sum. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Pgbot still maintained?

Yes — the latest release is v0.11.1 (24 Nov 2026), and the last commit was yesterday. The repository has 1.5K stars and 7 open issues.

What tools does Pgbot provide?

Conduid read 9 tools from the source: compare_to_baseline, explain_finding, explain_plan, index_code_correlation, inspect, record_index_verdict, schema_of, suggest_indexes and 1 more.