Build Agentic AI Apps with Postgres
For new and existing databases, from prototype to production
What's in the pgEdge Agentic AI Toolkit?
Everything you need to build enterprise-grade AI-powered applications on PostgreSQL.
pgEdge Postgres MCP Server
Connect AI assistants directly to PostgreSQL
Built-in PostgreSQL knowledge base
Natural language SQL. Default read-only. Optional write mode
Works with any PostgreSQL 14+ (RDS, Aurora, etc.)
OpenAI, Voyage AI, or Ollama embeddings
pgEdge RAG Server
Build AI apps with semantic search and retrieval
Hybrid search — vector + BM25 + Reciprocal Rank Fusion
Streaming responses via Server-Sent Events
Multi-turn conversations with source attribution
LLM providers: OpenAI, Anthropic, Ollama
pgEdge Docloader
Load docs into PostgreSQL for vectorization
HTML, Markdown, reStructuredText, SGML
Clone and load directly from Git repos
Upsert mode for automated sync pipelines
Ready for automatic embedding
AI Extensions
PostgreSQL extensions for AI workloads
pgVector — HNSW & IVFFlat similarity search
VectorChord BM25 — Native keyword ranking
pg_tokenizer — Text tokenization
pgEdge Vectorizer
Automatic embedding generation
intelligently splits text into optimal-sized chunks
handles embedding generation asynchronously using background workers without blocking.
enables easy switching between OpenAI, Voyage AI, and Ollama.
processes embeddings efficiently in batches for better API usage.
automatically retries failed operations with exponential backoff
provides built-in views for queue and worker monitoring.
offers extensive GUC parameters for flexible configuration.
Try pgEdge MCP Server Now
Pick the path that works for you — from zero-install browser walkthroughs to running on your own machine.
Run it in Claude Code or Desktop
Connect to your own database, or try it with a sample Northwind DB.
Open Terminal (Mac: search Spotlight for "Terminal")
Paste this command and press Enter:
curl -fsSL https://raw.githubusercontent.com/pgEdge/pgedge-postgres-mcp/main/examples/claude-try-it/install.sh | bashFollow the prompts (~2 minutes)
Claude Code: start a new conversation. Claude Desktop: quit (Cmd+Q) and reopen.
Ask: "What tables are in my database?"
Docker Compose Demo
Launches a web-based chat agent — no AI coding tool needed. Just Docker.
/bin/sh -c "$(curl -fsSL https://downloads.pgedge.com/quickstart/mcp/pgedge-ait-demo.sh)"MCP Server Live Example
See how AI agents query, analyze, and optimize a PostgreSQL database through the MCP Server.
I just connected to the Northwind database. What tables are here and how are they related?
See how AI agents query, analyze, and optimize a PostgreSQL database through the MCP Server.
RAG Pipeline Live Example
Ask Ellie is a live app built with the pgEdge AI Toolkit. No external vector databases required.
Connecting to Ask Ellie...
Ask Ellie is a live app built with the pgEdge AI Toolkit. No external vector databases required.