AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompareGuides
Submit Tool
ToolsCategoriesTrendingNewCompareGuides
Home/
Code Assistant/
pg-aiguide
pg-aiguide logo

pg-aiguide

Active·★ 1.9k·Apache-2.0·Updated 2026-10-07
★ Code Assistant★ Dev Tooling

pg-aiguide aims to make AI coding tools write better PostgreSQL. The README says assistants often produce outdated SQL, miss constraints and indexes and ignore modern Postgres features, and offers three things: semantic search over the official PostgreSQL manual that is scoped to a version, curated and opinionated best-practice skills, and documentation for extensions, starting with TimescaleDB (pgvector and PostGIS are listed as coming soon). The skills cover schema design, indexing, data types, constraints, naming conventions, performance tuning and modern features.

It can be used as a public MCP server at `https://mcp.tigerdata.com/docs`, which any MCP client can add with a URL, or as a Claude Code plugin with `claude plugin marketplace add timescale/pg-aiguide` and `claude plugin install pg@aiguide`. One-click installs are listed for Cursor, VS Code, Goose and LM Studio. The tools are `semantic_search_postgres_docs`, `semantic_search_tiger_docs` and `view_skill`. The README includes a before-and-after demo of an e-commerce schema generated with and without the server, which is the project's own example. It is Apache 2.0 licensed.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-11.

License
Apache-2.0
Latest release
v0.6.1 · 2026-09-04
Last commit
2026-10-07
Contributors
18
Forks
113
Open issues and PRs
10
First published
2025-07-23

Source: GitHub, npm and PyPI public APIs.

#PostgreSQL#AI Assistant#Code Generation#Database Schema#Best Practices#Semantic Search#TimescaleDB#Developer Tools
$ Install
$ claude plugin marketplace add timescale/pg-aiguide && claude plugin install pg@aiguide
↗ Visit site★ GitHub
01

Features

01Performs semantic search across the official PostgreSQL manual, with results scoped to a specific Postgres version.
02Provides AI-optimized "skills" that offer curated, opinionated PostgreSQL best practices for AI agents.
03Supports documentation for the PostgreSQL extension ecosystem, starting with TimescaleDB.
04Improves AI-generated database schemas with more constraints, indexes, and modern PostgreSQL features.
05Offers guidance on schema design, indexing strategies, data types, and performance tuning.
02

Why choose it

+Version-aware semantic search over the official PostgreSQL manual
+Curated best-practice skills for schema design, indexing, constraints and performance
+Connect with just a URL, or install as a Claude Code plugin
+One-click installs for Cursor, VS Code, Goose and LM Studio
03

Trade-offs

!The default setup uses a public hosted MCP server, so queries go to an external service
!Extension coverage is limited: TimescaleDB today, with pgvector and PostGIS listed as coming soon
!The skills are opinionated, so they reflect one team's view of best practice
!The before-and-after demo is the project's own example, not an independent benchmark
04

Compatibility

AI Coding Agents
Target Audience
Verified via docs
Claude Code
Plugin
Verified via docs
Cursor
IDE Integration
Verified via docs
VS Code
IDE Integration
Verified via docs
VS Code Insiders
IDE Integration
Verified via docs
Visual Studio
IDE Integration
Verified via docs
05

Quick start

1
$ claude plugin marketplace add timescale/pg-aiguide
2
$ claude plugin install pg@aiguide
06

Use cases

↳Improving the quality and robustness of PostgreSQL code generated by AI coding assistants.
↳Designing optimal and performant PostgreSQL database schemas with AI assistance.
↳Accessing version-aware PostgreSQL documentation and best practices via AI semantic search.
↳Integrating advanced PostgreSQL expertise into various AI coding agents and IDEs.
↳Leveraging modern PostgreSQL features and best practices in AI-assisted development for better data integrity and performance.
07

Alternatives

Context7 logo
Context7★ 63.0k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
Gemini CLI logo
Gemini CLI★ 107.3k
An open-source AI agent that brings the power of Gemini directly into your terminal. Supports native MCP.
GitHub MCP Server logo
GitHub MCP Server★ 33.6k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
CopilotKit logo
CopilotKit★ 38.0k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
chrome-devtools-mcp logo
chrome-devtools-mcp★ 53.5k
Chrome DevTools for coding agents
Figma-Context-MCP logo
Figma-Context-MCP★ 16.0k
MCP server to provide Figma layout information to AI coding agents like Cursor
Cherry Studio logo
Cherry Studio★ 52.6k
A powerful desktop client for multiple LLMs. Supports local and cloud models.
E2B logo
E2B★ 14.3k
Open-source infrastructure for running AI-generated code in secure, isolated cloud sandboxes, with SDKs for code execution and desktop computer use.
See all alternatives →

Featured in these lists

  • Best MCP Servers for Databases
  • Best MCP Servers for Up-to-Date Docs and Code Context

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07Alternatives
Stats
GitHub Stars★ 1.9k
Last commit1w ago
StatusActive
LicenseApache-2.0
CategoryCode Assistant
Trend (30d)
+0k↑ 1.6%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.