MCP ConfigsMay 12, 2026·2 min read

pg-aiguide — Postgres Skills + MCP Search

pg-aiguide upgrades AI coding assistants for PostgreSQL: install best-practice skills via `npx skills` and add an MCP server for semantic doc search.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 1f3f5922-e19e-5a72-8d15-ec582f1af179 --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

pg-aiguide upgrades AI coding assistants for PostgreSQL: install best-practice skills via npx skills and add an MCP server for semantic doc search.

  • Best for: Teams writing production Postgres schemas and migrations with AI help
  • Works with: npx skills; public MCP server at https://mcp.tigerdata.com/docs (per README)
  • Setup time: 5–20 minutes

Practical Notes

  • GitHub: 1,723 stars · 89 forks; pushed 2026-04-28 (verified via GitHub API).
  • README quickstart includes npx skills add timescale/pg-aiguide --skill postgres and an interactive install mode.
  • README provides a manual MCP config snippet and a public endpoint: https://mcp.tigerdata.com/docs.

Main

Make the “skills” measurable:

  • Before you add skills, run your agent on one real migration task and keep the output.
  • Add postgres skills, then repeat the same task and compare: naming, constraints, indexing, and clarity of comments.
  • Treat the MCP doc search as a backstop: ask the agent to cite which manual section it relied on when generating non-trivial SQL.

This is a low-effort way to prevent “AI SQL roulette” from reaching production.

FAQ

Q: Is it only for Claude Code? A: No—README says it works with multiple agents via npx skills and also offers an MCP server endpoint.

Q: Do I need to self-host the MCP server? A: Not necessarily—README provides a public server URL for doc search.

Q: How do I avoid overfitting? A: Use skills as defaults, but still review migrations and require citations for risky changes.

🙏

Source & Thanks

Source: https://github.com/timescale/pg-aiguide > License: Apache-2.0 > GitHub stars: 1,723 · forks: 89

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets