Home › Databases & Data › pg-aiguide
pg-aiguide
Comprehensive PostgreSQL documentation and best practices, including ecosystem tools
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Remote (streamable-http)
https://mcp.tigerdata.com/docs Reachable (checked 2026-09-24)
Claude Code:
claude mcp add --transport http pg-aiguide https://mcp.tigerdata.com/docs
Or add to your MCP client config:
{
"mcpServers": {
"pg-aiguide": {
"url": "https://mcp.tigerdata.com/docs"
}
}
}
Package (npm 0.6.1)
npx -y @tigerdata/[email protected]
Or add to your MCP client config:
{
"mcpServers": {
"pg-aiguide": {
"command": "npx",
"args": [
"-y",
"@tigerdata/[email protected]"
],
"env": {
"OPENAI_API_KEY": "<YOUR_VALUE>",
"PGHOST": "<YOUR_VALUE>",
"PGPORT": "<YOUR_VALUE>",
"PGUSER": "<YOUR_VALUE>",
"PGPASSWORD": "<YOUR_VALUE>",
"PGDATABASE": "<YOUR_VALUE>",
"DB_SCHEMA": "<YOUR_VALUE>"
}
}
}
}
OPENAI_API_KEYrequired secret — Your API key for text embeddings via OpenAIPGHOSTrequired secret — PostgreSQL host to connect toPGPORTrequired secret — PostgreSQL port to connect toPGUSERrequired secret — PostgreSQL user to connect asPGPASSWORDrequired secret — PostgreSQL password to connect withPGDATABASErequired secret — PostgreSQL database to connect toDB_SCHEMAsecret — PostgreSQL database schema to use
Package (oci)
docker run -i --rm ghcr.io/timescale/pg-aiguide:0.6.1
Or add to your MCP client config:
{
"mcpServers": {
"pg-aiguide": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/timescale/pg-aiguide:0.6.1"
],
"env": {
"OPENAI_API_KEY": "<YOUR_VALUE>",
"PGHOST": "<YOUR_VALUE>",
"PGPORT": "<YOUR_VALUE>",
"PGUSER": "<YOUR_VALUE>",
"PGPASSWORD": "<YOUR_VALUE>",
"PGDATABASE": "<YOUR_VALUE>",
"DB_SCHEMA": "<YOUR_VALUE>"
}
}
}
}
OPENAI_API_KEYrequired secret — Your API key for text embeddings via OpenAIPGHOSTrequired secret — PostgreSQL host to connect toPGPORTrequired secret — PostgreSQL port to connect toPGUSERrequired secret — PostgreSQL user to connect asPGPASSWORDrequired secret — PostgreSQL password to connect withPGDATABASErequired secret — PostgreSQL database to connect toDB_SCHEMAsecret — PostgreSQL database schema to use
Related servers
dbx
Query databases from AI agents using connections configured in DBX.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
baserow
Baserow database integration with table search, list, and row create, read, update, and delete capabilities.
mcp-server-chart
A Model Context Protocol server for generating charts using AntV.
vizro
Tools and templates to create validated and maintainable data charts and dashboards.
DBHub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
Data from the Official MCP Registry