Installation
Choose your preferred installation methodnpm / pnpm / bun
npm install -g qcp
Homebrew (macOS/Linux)
brew tap moduna-ai/qcp && brew install qcp
curl (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/Moduna-AI/qcp/main/scripts/install.sh | sh
PowerShell (Windows)
irm https://raw.githubusercontent.com/Moduna-AI/qcp/main/scripts/install.ps1 | iex
Quick Start Guide
Get up and running in minutes after installation$ qcp auth
Set up your AI provider (Gemini is free and default)$ qcp connect
Connect to your PostgreSQL database$ qcp schema scan
Index your schema locally (data never leaves your machine)$ qcp ask "What were our top customers last month?"
Ask a question in plain English$ qcp chat
Start an interactive multi-question sessionBuilt on Three Principles
Safety, trust, and privacy are non-negotiableSafety
Trust
Privacy
Supported AI Providers
Use your preferred AI modelGemini
DefaultOpenAI
PopularAnthropic
AdvancedOllama
PrivateWhy Choose qcp?
Compare qcp to other database query tools| Feature | qcp | Vanna AI (2.0) | Wren AI | Postgres MCP | GUI BI Tools |
|---|---|---|---|---|---|
| Interface | CLI binary | Python lib + web chat | Web UI + CLI | MCP server only | Web dashboard |
| Setup | brew/curl/npm | pip + vector DB | Docker Compose | Server binary | Deploy server + config |
| Schema Understanding | Auto scan (no manual step) | Manual training required | Manual MDL modeling | None - re-reads each time | Manual data modeling |
| LLM Choice | BYOK - Gemini default | Any LLM | OpenAI/Anthropic | Depends on client | Usually fixed vendor |
| Multi-DB Routing | Built-in supervisor agent | Single connection | 20+ connectors | One DB per instance | One connection per source |
| Safety Model | Read-only by default | Executes directly | Executes queries | Inconsistent | Varies by tool |
| Performance Diagnostics | EXPLAIN ANALYZE + suggestions | Not a focus | Not a focus | Query execution only | Limited in most tools |
| MCP Support | Ships MCP server | None | None | This is the product | None |
| License/Cost | Open source, BYOK | Open source (MIT) | Open source core | Open source | Free + paid tiers |
| Best For | Terminal-native devs | Custom chat products | Data warehouse teams | Claude/Cursor users | Analysts/dashboards |