Pg Aiguide logo

Pg Aiguide

Search versioned PostgreSQL, TimescaleDB, and PostGIS documentation from AI coding tools.

Install Pg Aiguide

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
https://mcp.tigerdata.com/docs

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The pg-aiguide MCP server gives AI coding assistants semantic search across official PostgreSQL, TimescaleDB, and PostGIS documentation. It runs as a public remote MCP endpoint at https://mcp.tigerdata.com/docs, so clients can connect without a local database or package installation. Use it when an agent needs version-aware PostgreSQL guidance, schema design help, or extension documentation. Separate repository skills add curated PostgreSQL practices and schema exploration workflows.

Use cases

  • Search version-specific PostgreSQL documentation
  • Design PostgreSQL schemas with agent guidance
  • Look up TimescaleDB and PostGIS features
  • Install curated PostgreSQL skills for coding agents

Key features

  • Semantic search across PostgreSQL manuals
  • Version-aware PostgreSQL references
  • TimescaleDB documentation search
  • PostGIS documentation search
  • Curated PostgreSQL best-practice skills
  • Schema exploration skill

Tools2

What Pg Aiguide lets your agent do. Expand a tool for its parameters.

Verified live~2.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

12/12 checks healthy over the last 44d

What it can do

From the 2 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 1Makes network requests · 1Read-only tools · 1
Tool definitions changed on 2026-10-22. Review them if you approved this server earlier.

Observed 2026-10-22 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.9kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.

How Pg Aiguide works

What the pg-aiguide MCP server does

The pg-aiguide MCP server exposes searchable PostgreSQL documentation to AI coding assistants through the Model Context Protocol. Its documentation sources include the official PostgreSQL manual, TimescaleDB material, and PostGIS material. PostgreSQL content is version-aware, which helps an agent distinguish guidance for different database releases.

The repository also contains AI-oriented skills that provide curated PostgreSQL practices. These skills are distributed separately through the npx skills command and can be used with supported coding agents. They are not the same as the remote MCP endpoint, but they can complement it when an agent is generating or reviewing database code.

Reach for this server when an assistant needs authoritative reference material while writing SQL, planning a schema, or working with PostgreSQL extensions. It is also relevant when generated code needs current PostgreSQL features, constraints, indexes, or established design patterns.

How it works

The hosted endpoint uses a remote HTTP MCP connection:

config.json
{
  "mcpServers": {
    "pg-aiguide": {
      "url": "https://mcp.tigerdata.com/docs"
    }
  }
}

After the connection is added to an MCP-capable client, the agent can use the server to search the available manuals. The pg-aiguide MCP server does not require a connection to the user’s PostgreSQL database for the documented search workflow.

The repository additionally offers a schema exploration skill for investigating an existing PostgreSQL database. That workflow is installed as an agent skill rather than described as an MCP database connection.

Setup and configuration

Use the public endpoint at https://mcp.tigerdata.com/docs. A client can be configured manually with the JSON shown above, or through client-specific commands and installation links in the repository. The documented setup includes Cursor, VS Code, VS Code Insiders, Visual Studio, Goose, Claude Code, Codex, Gemini CLI, OpenCode, Windsurf, and LM Studio.

Claude Code can install the repository plugin with:

Terminal
claude plugin marketplace add timescale/pg-aiguide
claude plugin install pg@aiguide

That plugin combines the repository’s skills with access to the public documentation endpoint. Codex, Gemini CLI, and VS Code also have documented commands for adding the remote server. OpenCode uses a remote MCP entry with the same URL.

For the separate skills, install the standard PostgreSQL guidance with:

Terminal
npx skills add timescale/pg-aiguide --skill postgres

The schema exploration skill is installed with --skill schema-exploration; omitting the skill name opens the interactive selection flow.

Tools and capabilities

The pg-aiguide MCP server supports:

  • Semantic search over the official PostgreSQL manual.
  • Version-aware PostgreSQL documentation lookup.
  • Search across TimescaleDB documentation.
  • Search across PostGIS documentation.
  • Retrieval of reference material for PostgreSQL questions and schema design.

Repository skills extend the setup with curated PostgreSQL best practices and a schema exploration workflow. The PostgreSQL skill is intended to guide coding agents toward practices such as appropriate constraints, indexes, naming, documentation, and modern PostgreSQL features, while the schema exploration skill is intended for examining an existing database.

Limitations and notes

The MCP service is public and remote, so client access depends on the configured endpoint being reachable. The repository describes the documentation corpus as starting with TimescaleDB and expanding over time; no complete list of future sources is specified.

The repository’s examples demonstrate schema generation and PostgreSQL guidance, but they do not establish that generated SQL is automatically validated or applied to a database. Review agent-produced schemas and queries before using them in development or production.

The MCP endpoint and the agent skills are related but distinct delivery methods. Connecting the endpoint provides semantic documentation search; installing the skills adds curated instructions and, optionally, schema exploration behavior.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pg Aiguide

pg-aiguide is an MCP server that connects AI coding assistants to searchable official PostgreSQL, TimescaleDB, and PostGIS documentation. Its main capability is semantic, version-aware documentation search, while the repository separately provides PostgreSQL best-practice and schema exploration skills for supported coding agents.

Add the remote URL https://mcp.tigerdata.com/docs to your MCP client. The README provides client-specific instructions for Cursor, VS Code, Claude Code, Codex, Gemini CLI, Windsurf, LM Studio, and other clients, plus a JSON configuration example.

Yes, pg-aiguide works with Cursor through the documented remote MCP URL. Add https://mcp.tigerdata.com/docs to .cursor/mcp.json or use Cursor’s one-click installation link provided in the repository.

The documented MCP setup does not connect directly to a user-managed PostgreSQL database. It searches PostgreSQL, TimescaleDB, and PostGIS documentation; a separate schema exploration skill is provided for investigating an existing PostgreSQL database.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPg Aiguide AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pg-aiguide?style=directory)](https://allmcps.com/mcp/pg-aiguide)
HTML Embed
<a href="https://allmcps.com/mcp/pg-aiguide"><img src="https://allmcps.com/api/badge/pg-aiguide?style=directory" alt="Pg Aiguide on AllMCPs" /></a>