Query PostgreSQL databases with natural language and retrieve best practices from comprehensive Postgres documentation. Built for developers who want AI-assisted database exploration and guidance without writing SQL.
io.github.timescale/pg-aiguide
https://mcp.tigerdata.com/docs
HTTP
12 required env vars
How models use it and what it is built for.
Query PostgreSQL databases with natural language and retrieve best practices from comprehensive Postgres documentation. Built for developers who want AI-assisted database exploration and guidance without writing SQL.
Hosted endpoint — paste into any MCP client.
Configuration this server reads at startup.
Your API key for text embeddings via OpenAI
PostgreSQL host to connect to
PostgreSQL port to connect to
PostgreSQL user to connect as
PostgreSQL password to connect with
PostgreSQL database to connect to
Your API key for text embeddings via OpenAI
PostgreSQL host to connect to
PostgreSQL port to connect to
PostgreSQL user to connect as
PostgreSQL password to connect with
PostgreSQL database to connect to
PostgreSQL database schema to use
PostgreSQL database schema to use
Where to find authoritative docs and source for Timescale Pg Aiguide.
Paste any of these into Agent Studio after connecting Timescale Pg Aiguide.
Common questions about connecting and running Timescale Pg Aiguide.
What PostgreSQL versions does this MCP server support?
The server connects to any PostgreSQL instance via standard host/port/user/password credentials. Compatibility depends on your PostgreSQL version; consult the hosted documentation at https://mcp.tigerdata.com/docs for version-specific guidance.
Do I need an OpenAI API key to use this server?
Yes. The OPENAI_API_KEY environment variable is required for text embeddings, which power natural-language queries against your database and documentation. You'll incur OpenAI API costs for embedding requests.
Can I use this server with a remote PostgreSQL database?
Yes. Set PGHOST, PGPORT, PGUSER, PGPASSWORD, and PGDATABASE to point to any accessible PostgreSQL instance. Ensure your network allows outbound connections to your database and to OpenAI's API.
What happens if I don't set the DB_SCHEMA environment variable?
The DB_SCHEMA variable is optional. If not set, the server will likely query across all schemas in your database. Set it to restrict queries to a specific schema if needed.
How does this differ from just asking ChatGPT about PostgreSQL?
This server combines live access to your actual database schema with embeddings-based retrieval of Postgres best practices and ecosystem documentation. You get answers tailored to your real data and production-ready guidance, not generic examples.
Connect Timescale Pg Aiguide to Claude, GPT, Gemini, DeepSeek and 60+ AI models in MCP Agent Studio. Compare answers side-by-side, save reusable agent presets, share runs — all in your browser, no install required.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams