Claude Desktop is Anthropic’s macOS/Windows app for Claude. Recent versions support Custom Connectors — Anthropic’s term for adding an MCP server through the UI. QueryBear works as a Custom Connector, so any conversation in Claude Desktop can query your database.Documentation Index
Fetch the complete documentation index at: https://docs.querybear.com/llms.txt
Use this file to discover all available pages before exploring further.
Connect
In Claude Desktop:Verify
In a new Claude Desktop conversation, ask:“What QueryBear tools do you have?”You should see
list_connections, get_schema, and run_query.
Why QueryBear + Claude Desktop
Claude Desktop is the most accessible AI client for non-technical teammates. Wiring up QueryBear means:- Product managers can ask “how many free users have over 1000 events?” and get an answer without bothering an engineer.
- Customer success can look up a user’s account state mid-conversation with a customer.
- Founders can sanity-check headline metrics during board prep.
Per-database setup guides
PostgreSQL + Claude Desktop
Step-by-step Postgres setup, including read-only role SQL.
MySQL + Claude Desktop
Step-by-step MySQL setup, including read-only user SQL.
SQLite + Claude Desktop
Local SQLite file setup.
Tips for using QueryBear in Claude Desktop
- Pin frequently-used connections. In the QueryBear dashboard, mark a connection as default — Claude Desktop uses it without needing to call
list_connections. - Build Projects around specific databases. Claude’s “Project” feature lets you scope context. Create a project per database with a system prompt like “Always use the production connection. Always call get_schema before writing SQL.”
- The audit log is your safety net. When a non-technical user asks Claude to look something up, the SQL is logged. Review periodically.
- For sensitive data, use column blocks. Anything Claude reads goes to Anthropic’s API. Block PII at the QueryBear connection level so it never reaches the model.
Common workflows
- “How many customers downgraded this month and what did they downgrade from?”
- “Show me the 10 most recent failed payments and the user emails.” (If
emailis column-blocked, Claude will return user IDs instead.) - “What’s the average time from signup to first purchase, broken down by referral source?”
Related
- Quickstart — full QueryBear setup
- Security model — what the gateway enforces
- Claude Code — Anthropic’s terminal CLI sibling