MCP App Store
by KeenEthics
QueryBear icon

QueryBear MCP Server for ChatGPT

By SPENCER DAVID PAULY

Overview

Talk to your database with MCP. Securely. Securely query your PostgreSQL, MySQL, or SQLite database from ChatGPT or Codex. QueryBear sits between your AI agents and your database, giving them read-only access with a security layer you control. Ask questions in plain English, inspect your schema, debug customer issues, and analyze your data. Connect PostgreSQL, MySQL, or SQLite. Choose which tables and columns your agents can access. Every query passes through table allowlists, column privacy controls, row limits, and timeouts, with a full audit trail. Database credentials are never exposed to the assistant. Requires a QueryBear account and a connected database or demo database. This hosted plugin cannot write, delete, or modify data. Local and VPN-only databases require the separate local CLI and are outside this hosted plugin's capabilities. Query results are returned to the assistant in your conversation.

How to connect

  1. ChatGPT: Open the QueryBear listing in the ChatGPT app directory and choose Connect. ChatGPT listing QueryBear exposes 3 tools here.

Tools

get_schema

ChatGPT
Return tables and columns for a QueryBear database. Call this once before writing SQL. The connection argument is OPTIONAL — omit it to auto-use the only connection, or pass a connection id or name (case-insensitive). Returns the resolved connection id so you can reuse it.

list_connections

ChatGPT
List the user's QueryBear database connections (id, name, type, host). Only call this when the user has multiple databases and you can't tell which to use — if there's only one, skip this and call get_schema/run_query directly.

run_query

ChatGPT
Execute a read-only SELECT against the user's database. Validated through QueryBear's security pipeline (read-only enforcement, table allow-list, blocked columns, row-limit, timeout) — do not attempt INSERT/UPDATE/DELETE/DDL. The connection argument is OPTIONAL — omit it to auto-use the only connection, or pass an id or name. Call get_schema first if you don't know the table layout.

Capabilities

Discover Connected DatabasesInspect Tables, Columns, And RelationshipsAnswer Questions With Read-Only SqlAnalyze Data Within Your Access Controls

Example Prompts

Click any prompt to copy it.

Similar Apps

Listed on MCP App Store

Listed on MCP App Store

Add this badge to your site or README. It links to this page.

HTML

<a href="https://mcp-app-store.keenethics-labs.com/app/querybear"><img src="https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg" alt="Listed on MCP App Store" width="220" height="44"></a>

Markdown

[![Listed on MCP App Store](https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg)](https://mcp-app-store.keenethics-labs.com/app/querybear)