Connect a Railway-hosted PostgreSQL database to Claude, Cursor, ChatGPT, Codex, and Windsurf with QueryBear — a secure, read-only MCP server.
Railway is a deployment platform that offers managed PostgreSQL (and MySQL). QueryBear connects over the standard wire protocol, giving your AI clients safe, read-only access through QueryBear’s security gateway.
Railway’s internal *.railway.internal hostnames only resolve inside Railway’s network. QueryBear connects from outside, so use the public TCP proxy host and port.