Basic information
About pg-aiguide MCP Server
pg-aiguide — Version-aware PostgreSQL docs and best practices tailored for AI coding assistants. Improve queries, migrations, and model integrations.
pg-aiguide is a MCP server in the Databases category listed in the AddMCP.net directory, published by timescale. It exposes 3 tools, including semantic_search_postgres_docs, semantic_search_tiger_docs, view_skill. Supported transport: streamable-http. Runtime: Python. License: Apache-2.0. The repository has 1,590 GitHub stars. Source code is hosted on github.com. Related topics: ai, ai-agents, ai-coding, ai-coding-assistant, claude-code-plugin.
Connection details
https://mcp.tigerdata.com/docs
Setup
claude mcp add pg-aiguide --transport http https://mcp.tigerdata.com/docs
[mcp_servers.pg-aiguide] url = "https://mcp.tigerdata.com/docs"
{
"mcpServers": {
"pg-aiguide": {
"url": "https://mcp.tigerdata.com/docs"
}
}
}
{
"servers": {
"pg-aiguide": {
"type": "http",
"url": "https://mcp.tigerdata.com/docs"
}
}
}
pg-aiguide MCP Server — by timescale config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pg-aiguide": {
"url": "https://mcp.tigerdata.com/docs",
"env": null
}
}
}
pg-aiguide MCP Server — by timescale tools
- semantic_search_postgres_docs — This retrieves relevant PostgreSQL documentation entries based on a natural language query.
- semantic_search_tiger_docs — This retrieves relevant documentation entries based on a natural language query. The content covers Tiger Cloud and TimescaleDB topics.
- view_skill — Retrieve detailed skills for TimescaleDB operations and best practices. Available Skills: **design-postgres-tables** - Comprehensive PostgreSQL-specific table design reference covering data types, indexing, constraints, performance patterns, and advanced features **find-hypertable-candidates** - Analyze an existing PostgreSQL database to identify tables that would benefit from conversion to TimescaleDB hypertables **migrate-postgres-tables-to-hypertables** - Comprehensive guide for migrating PostgreSQL tables to TimescaleDB hypertables with optimal configuration and performance validation **setup-timescaledb-hypertables** - Step-by-step instructions for designing table schemas and setting up TimescaleDB with hypertables, indexes, compression, retention policies, and continuous aggregates. Instructions for selecting: partition columns, segment_by columns, order_by columns, chunk time interval, real-time aggregation.
Overview
What is pg-aiguide?
Postgres Ai Guide is an MCP server that helps AI coding tools write better PostgreSQL code. It provides semantic search across the official PostgreSQL manual (version-aware), AI-optimized best-practice “skills” automatically used by AI agents, and extension ecosystem documentation starting with TimescaleDB. It is available as a public MCP server or as a Claude Code plugin.
How to use pg-aiguide?
Use as a public MCP server by configuring your client with URL https://mcp.tigerdata.com/docs. One-click installs exist for Cursor, VS Code, and other editors. For Claude Code, install the plugin with claude plugin marketplace add timescale/pg-aiguide then claude plugin install pg@aiguide. Ask Postgres questions or design schemas in natural language.
Key features of pg-aiguide
- Semantic search over the official PostgreSQL manual, scoped to a specific version
- AI-optimized skills covering schema design, indexing, data types, and performance
- Extension documentation, starting with TimescaleDB
- Version-aware results that use modern PostgreSQL features (e.g., PG17 patterns)
- Works with any MCP-compatible AI coding agent
Use cases of pg-aiguide
- Designing robust PostgreSQL schemas with proper constraints, indexes, and modern syntax
- Getting version-specific guidance on PostgreSQL features and best practices
- Learning recommended naming conventions and performance tuning patterns
- Generating optimized queries using TimescaleDB documentation
Frequently asked questions
1 How does Postgres Ai Guide improve AI-generated PostgreSQL code?
It provides AI agents with deep, versioned PostgreSQL knowledge and proven patterns, solving issues like outdated code, missing constraints, and unawareness of modern PG features.
2 What skills does Postgres Ai Guide include?
Skills cover schema design, indexing strategies, data types, data integrity and constraints, naming conventions, performance tuning, and modern PostgreSQL features.
3 What extensions are currently supported?
TimescaleDB is supported today; pgvector and PostGIS are coming soon.
4 How do I install Postgres Ai Guide as a Claude Code plugin?
Run claude plugin marketplace add timescale/pg-aiguide then claude plugin install pg@aiguide. It uses the skills in the skills directory and the publicly hosted MCP server.
5 What transport does Postgres Ai Guide use?
It uses HTTP; the MCP server URL is https://mcp.tigerdata.com/docs. No authentication is mentioned in the README.
Videos
Tutorials, guides, and showcases related to pg-aiguide MCP Server — by timescale. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In