Skip to content
mcp/skillhub

PG Aiguide MCP Server

by timescaleio.github.timescale/pg-aiguidev0.6.1

Comprehensive PostgreSQL documentation and best practices, including ecosystem tools

1.9kNode.jsstdioremoteofficial registry

context tax

~2,719 tok/turn2 tools

security

97/100

cold start

pending

freshness

Active34d ago

Our reading of PG Aiguide, from the data

PG Aiguide is a database MCP server from timescale, listed in the official MCP Registry.

Its 2 tools add about 2,719 tokens to every model turn, heavier than the database median of 1,925 tokens across 101 measured servers (measured 2026-10-19).

Maintenance is active: the last public signal was 34 days ago (2026-10-07). For comparison, 63% of database servers are active or maintained.

With 1,871 GitHub stars it ranks #16 of 1,397 database servers we index.

It runs either locally over stdio or as a hosted endpoint and needs 7 secrets (OPENAI_API_KEY, PGHOST, PGPORT, …); use a scoped, least-privilege key.

Install PG Aiguide MCP server

Install in Claude Code

claude mcp add pg-aiguide -e OPENAI_API_KEY='<openai-api-key>' -e PGHOST='<pghost>' -e PGPORT='<pgport>' -e PGUSER='<pguser>' -e PGPASSWORD='<pgpassword>' -e PGDATABASE='<pgdatabase>' -e DB_SCHEMA='<db-schema>' -- npx -y @tigerdata/pg-aiguide

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test @tigerdata/pg-aiguide --env OPENAI_API_KEY --env PGHOST --env PGPORT

Configuration

VariableRequiredSecretDescription
OPENAI_API_KEYyesyesYour API key for text embeddings via OpenAI
PGHOSTyesyesPostgreSQL host to connect to
PGPORTyesyesPostgreSQL port to connect to
PGUSERyesyesPostgreSQL user to connect as
PGPASSWORDyesyesPostgreSQL password to connect with
PGDATABASEyesyesPostgreSQL database to connect to
DB_SCHEMA—yesPostgreSQL database schema to use

Remote endpoints

  • streamable-httphttps://mcp.tigerdata.com/docs

Context tax

Connecting this server adds ~2,719 tokens of tool definitions to every model turn (moderate, 2 tools). Measured 2026-10-19 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$10.88$0.544
Claude Sonnet 5.5$5.44$0.544
Claude Haiku 5.5$0.272—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (2)

  • view_skill2,349 tok

    Retrieve detailed skills for TimescaleDB operations and best practices. ## Available Skills <available_skills> [11 ]{name description}: design-postgis-tables Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications design-postgres-tables "Use this skill for general PostgreSQL table design.\n\n**Trigger when user asks to:**\n- Design PostgreSQL tables, schemas, or data models when creating new tables and when modifying existing ones.\n- Choose data types, constraints, or ind

  • search_docs370 tok

    Search documentation with hybrid semantic (vector) and keyword (BM25) search. Use semanticWeight to choose keyword-only (0), semantic-only (1), or a blend; mid values fuse rankings with RRF. Supports Tiger Cloud (TimescaleDB), PostgreSQL, and PostGIS.

Security signals

97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

  • No security policy (SECURITY.md)-3

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 34d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-07 · 34d ago · GitHub

  2. Latest release

    2026-09-04 · 2mo ago · GitHub · v0.6.1

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-04 · 2mo ago · official registry · v0.6.1

How it compares in Database

Against the most-starred database servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
PG Aiguide (this)1,87122,719Activelocal + hosted
Screenpipe21,982—not measuredActive—
Genai Toolbox16,679—not measuredActivehosted
Convex Backend12,716—not measuredActive—
Kubeshark12,100—not measuredActivelocal
Baserow6,174—not measuredActive—
All database MCP servers

FAQ

›How do I install the PG Aiguide MCP server in Claude Code?

Run: claude mcp add pg-aiguide -e OPENAI_API_KEY='<openai-api-key>' -e PGHOST='<pghost>' -e PGPORT='<pgport>' -e PGUSER='<pguser>' -e PGPASSWORD='<pgpassword>' -e PGDATABASE='<pgdatabase>' -e DB_SCHEMA='<db-schema>' -- npx -y @tigerdata/pg-aiguide. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does PG Aiguide require an API key?

Yes. It expects OPENAI_API_KEY, PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE, DB_SCHEMA, of which 7 are secrets.

›Can I use PG Aiguide as a remote (hosted) MCP server?

Yes — it offers both a hosted endpoint and a local stdio package.

›Is PG Aiguide in the official MCP registry?

Yes, as io.github.timescale/pg-aiguide.

›How many tokens does PG Aiguide add to my context?

Its tool definitions total about 2,719 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-09-04
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to PG Aiguide

Other database MCP servers.

View all