MCP server · Org-owned · Audited from source
Pg Aiguide MCP server
by timescale/pg-aiguideApache-2.0 licenceAudited 23 Sep 2026 · source e82db42ae9f9
Is it safe? With care — CAUTION, grade B (85/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 10 findings (0 critical, 1 high, 0 medium, 9 low). Maintainer's description: MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
Cite
Cite this page
ModelsAtlas. “Pg Aiguide MCP server (timescale/pg-aiguide)”. Retrieved 23 Sep 2026. https://modelsatlas.com/mcp/timescale/pg-aiguide
Trust audit
Audit 0.4.1 · full source read 23 Sep 2026
10 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared2 observations
- ShellDeclared5 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 6 findings |
L1 Static source | Secrets, path traversal, supply chain | FAIL 3 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
timescaleOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@tigerdata/pg-aiguideat version 0.6.1 - LicenceApache-2.0From the repository, as read at the audited commit.
- Last push6 days agoActivity of the repository when we read it.
- Source commit reade82db42ae9f9The audit covers exactly this commit, read on 23 Sep 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory1 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (10)
Sorted by severity
HIGHHard-coded secretssecret.db_uri · ingest/utils/db.py:18
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.symlink · skills/postgres/references/backfill-strategies.md
skills/postgres/references/backfill-strategies.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · skills/postgres/references/complete-example.md
skills/postgres/references/complete-example.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · skills/postgres/references/design-postgis-tables.md
skills/postgres/references/design-postgis-tables.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · skills/postgres/references/design-postgres-tables.md
skills/postgres/references/design-postgres-tables.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · skills/postgres/references/find-hypertable-candidates.md
skills/postgres/references/find-hypertable-candidates.md
- Why
- link not followed
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · ingest/tiger_docs.py:1067
hash_suffix = hashlib.md5(path.encode()).hexdigest()[:8]
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@opentelemetry/api, dotenv, gray-matter, migrate, pg, zod, @biomejs/biome, @types/bun
- Why
- 13 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.authority_framing · README.md:256
> You are a senior software engineer. You are given a task to generate a Postgres schema for an IoT device company.
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
1 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
view_skill | read | Retrieve detailed skills for TimescaleDB operations and best practices. |
Install
Package version 0.6.1 · audited commit e82db42
Read the findings first. The most severe is Hard-coded secrets (high) at ingest/utils/db.py.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.6.1. The audit covers commit e82db42 only.
claude mcp add pg-aiguide --env OPENAI_API_KEY=${OPENAI_API_KEY} --env PGPASSWORD=${PGPASSWORD} -- npx -y @tigerdata/[email protected]{
"mcpServers": {
"pg-aiguide": {
"command": "npx",
"args": [
"-y",
"@tigerdata/[email protected]"
],
"env": {
"OPENAI_API_KEY": "${OPENAI_API_KEY}",
"PGPASSWORD": "${PGPASSWORD}"
}
}
}
}The command pins the package version recorded in the source (0.6.1); the audit covers commit e82db42ae9f9. Transport: streamable-http. Reads these environment variables: OPENAI_API_KEY, PGPASSWORD. Give it the narrowest token it needs.
Audit history
- !CAUTION B 85 / 100
Source changed, verdict held ·
e82db42ae9f9
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/timescale/pg-aiguide/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Pg Aiguide MCP server
What is the Pg Aiguide MCP server?
What tools does Pg Aiguide expose?
Is Pg Aiguide safe to connect to an agent?
What credentials does Pg Aiguide need?
How does Pg Aiguide run?
How current is this page?
Sources
- timescale/pg-aiguide on GitHub — the source we read, its licence, stars and activityObserved · 23 Sep 2026
- ModelsAtlas trust audit — CAUTION verdict for commit e82db42ae9f9Observed · 23 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Pg Aiguide MCP server?
- What tools does Pg Aiguide expose?
- Is Pg Aiguide safe to connect to an agent?