About pREST
pREST, short for PostgreSQL REST, is a production-ready service that exposes an existing or new Postgres database as an HTTP API. It delivers CRUD endpoints, custom SQL routes, authentication and access control lists without you having to hand-write a back end, and it adds a read-only endpoint for the Model Context Protocol so AI clients can query data.
It requires PostgreSQL 9.5 or newer and can be obtained with Docker, Homebrew or Go. The documentation covers configuration, an API reference, MCP over HTTP, multi-database setups and the roadmap, plus guidance for AI clients such as Cursor and Claude. Topics list JWT, OpenAPI, TimescaleDB and microservice use, and it is written in Go.
pREST is licensed under MIT and is self-hosted. It suits developers who want a quick, low-code back end on top of Postgres for prototypes, internal tools or microservices, without adopting a larger backend-as-a-service platform.
Key features
- Instant REST API over PostgreSQL
- CRUD endpoints without custom backend code
- Custom SQL routes
- Authentication, JWT and ACL
- Read-only MCP endpoint
- Support for multiple databases
Good fit for
- →Quick APIs for internal tools
- →Exposing Postgres data to AI clients over MCP
- →Low-code backends for prototypes
- Tags
- postgresql
- rest-api
- low-code
- mcp
- golang
- backend
- instant-api
- self-hosted
pREST: questions and answers
- What is pREST used for?
- pREST turns a PostgreSQL database into an instant REST API, with auth, access control, custom SQL routes and a read-only MCP endpoint. It is a good fit for quick APIs for internal tools, exposing Postgres data to AI clients over MCP and low-code backends for prototypes.
- Is pREST open source?
- Yes. pREST is open source under the MIT licence. Its source code is on GitHub at prest/prest and is written mainly in Go.
- Is pREST free?
- Yes. pREST is open source, so the software itself is free to use.
- Can I self-host pREST?
- Yes. pREST can be self-hosted on your own server or infrastructure; there is no official hosted version.
- What is pREST an alternative to?
- pREST is an open-source alternative to Firebase and Xano. Other open-source alternatives to Firebase include PocketBase, Nhost and FastSchema.
- Is pREST actively maintained?
- Yes. The most recent commit to pREST was on 1 October 2026, and the latest release is v2.4.2, published on 11 August 2026. The project has 4.6k stars on GitHub.
Open-source alternatives to pREST
See all
PocketBase
Backend as a Service
Open Source realtime backend in 1 file
MITvs Firebase★ 61k
Nhost
Backend as a Service
The Open Source Firebase Alternative with GraphQL.
MITvs Firebase★ 9.3k
FastSchema
Backend as a Service
All-in-One Backend as a Service with Headless CMS Power
MITvs Firebase★ 575
Appwrite
Backend as a Service
Appwrite is an open-source developer platform with Auth, Databases, Storage, Functions, Me
BSD-3-Clausevs Firebase★ 58k
Supabase
Backend as a Service
The Postgres development platform. Supabase gives you a dedicated Postgres database to bui
Apache-2.0vs Firebase★ 111k
PostgREST
Backend as a Service
REST API for any Postgres database
MITvs Xano★ 28k
SaaS alternatives to pREST
See all
Firebase
Backend as a Service
Firebase is Google's mobile and web app development platform, bundling authentication, databases, hosting, messaging and analytics as a managed backend.
SaaS
Xano
Backend as a Service
No-code backend builder with a database, API editor and business logic
SaaS
Backendless
Backend as a Service
Visual backend platform with a database, user management and API services
SaaS
Back4App
Backend as a Service
Hosted backend built on Parse Server with a database, auth and cloud functions
SaaS
Zoho Catalyst
Backend as a Service
Zoho serverless platform with a database, functions, storage and auth
SaaS
Pusher
Backend as a Service
Hosted WebSocket channels and push notifications for realtime features
SaaS
