PlainQuery turns PostgreSQL and SQLite databases into natural language endpoints for Claude and other MCP clients. It introspects your schema, generates SQL from questions like "which customers spent the most last quarter," validates every query for safety (blocking writes, injecting limits, scanning for dangerous patterns), and returns structured JSON. Failed queries trigger automatic retries with error context fed back to the LLM. The hosted version at plainquery.in handles encryption, multi-tenant isolation, and Stripe billing out of the box. You can also self-host the full stack with Docker. Authentication supports OAuth 2.1 tokens or API keys. Reach for this when you want analysts or support teams querying production data without writing SQL or risking destructive operations.
claude mcp add --transport http jarvis-27-mcp-db-agent https://plainquery.in/mcp/