pg-aiguide
MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
claude mcp add --transport http timescale-pg-aiguide https://mcp.tigerdata.com/docs
How to use
pg-aiguide provides AI-augmented PostgreSQL expertise via a public MCP endpoint. It offers semantic search across the PostgreSQL documentation (version-aware), AI-optimized “skills” that encode best practices for schema design, indexing, constraints, and modern PostgreSQL features, and an extension ecosystem reference set starting with TimescaleDB. You can query the server to obtain version-aware guidance, recommended patterns, and concrete implementation details that you can apply directly in your SQL or migrations. The service is designed to be used by any AI coding agent or as a Claude Code plugin, enabling improved accuracy and maintainability of PostgreSQL code produced by AI assistants.
To use it, point your MCP client or integration at the pg-aiguide endpoint. The server returns knowledge-backed responses, including schema suggestions, indexing strategies, constraint recommendations, and notes on modern features like identity columns, NULLS NOT DISTINCT, partial indexes, and extension usage. You can leverage the included “skills” to enforce proven Postgres patterns across your AI-generated queries and schemas, ensuring consistency with real-world best practices across versions.
If you’re using Claude Code or another plugin-enabled environment, you can install or enable the pg-aiguide MCP server to power code-completion, schema design prompts, and documentation lookups within your editor or assistant workflows. The combination of semantic search and curated skills helps AI agents generate safer, more optimal PostgreSQL code.
How to install
Prerequisites
- Access to the public MCP server at https://mcp.tigerdata.com/docs
- A client or plugin that can consume MCP endpoints (any MCP-compatible client)
Installation steps
- Verify network access to the MCP endpoint:
- Ensure your environment can reach https://mcp.tigerdata.com/docs
- Configure your MCP client to use pg-aiguide:
- If your client expects a mcpServers.json or equivalent, add: { "mcpServers": { "pg-aiguide": { "url": "https://mcp.tigerdata.com/docs" } } }
- Start or refresh your MCP session in your client/editor/plugin according to its instructions.
- Validate connectivity by sending a simple prompt like: “What are best practices for indexing a user_login table in PostgreSQL 14+?”
Notes
- No local installation is required for using the public endpoint. You interact with the server over HTTP/S via your MCP client.
Additional notes
Tips and considerations:
- The pg-aiguide server provides version-aware PostgreSQL knowledge, so specify the target PostgreSQL version in prompts when possible to get the most relevant guidance.
- Use the semantic search capability to locate exact sections of the PostgreSQL manual or to compare different feature recommendations across versions.
- If you plan to rely on the TimescaleDB extension guidance, ensure you mention any extension version and compatibility concerns in your prompts.
- When integrating with Claude Code or other plugins, you can leverage the provided plugin installation commands in the README to connect to the MCP endpoint.
- Common issues: network restrictions blocking access to https://mcp.tigerdata.com/docs, or misconfigured mcpServers.json leading to connection errors. Double-check the server URL and JSON structure in your client configuration.
Related MCP Servers
claude-code-plugins-plus-skills
270+ Claude Code plugins with 739 agent skills. Production orchestration patterns, interactive tutorials (11 Jupyter notebooks), and CCPI package manager. 4.13.0
rulesync
A Utility CLI for AI Coding Agents
claude-codex-settings
My personal Claude Code and OpenAI Codex setup with battle-tested skills, commands, hooks, agents and MCP servers that I use daily.
daymon
Daymon puts your favorite AI to work 24/7. It schedules, remembers, and orchestrates your own virtual team. Free.
claude-emporium
🏛 [UNDER CONSTRUCTION] A (roman) claude plugin marketplace
robloxstudio
Create agentic AI workflows in ROBLOX Studio