Two More Databases Land on Workers
Developers building on Cloudflare Workers have been clear about what they need next: better access to the data layer. The platform’s strategy for data has three tracks: first-party storage built for global scale, HTTP-friendly NoSQL connections plus TCP-based connectors for existing databases, and partnerships with data platforms developers already use.
That third track is expanding. Cloudflare Workers now supports MongoDB Atlas and Prisma, joining existing partners Fauna and Macrometa. Both integrations were heavily requested — Prisma’s ORM covers a range of relational databases, while MongoDB topped user demand.
You can start using each immediately. MongoDB’s integration ships via the Realm SDK, and Prisma works through the Prisma client. Both are available directly from their authors and can be imported straight into a Worker script.
MongoDB Atlas: Document Model at the Edge

MongoDB’s appeal is its document model, which keeps initial development simple while its transactional and scale-out architecture grows with an application. On Workers, MongoDB brings its full query language (MQL) to the edge, so rich aggregations run inside the database rather than in your Worker code.
The Realm SDK connects Workers to MongoDB Atlas, MongoDB’s managed platform. Atlas Global Clusters are a natural fit for Workers, letting you place a geo-distributed, low-latency database behind your globally deployed compute. MongoDB has published a demo application on its blog that you can experiment with.
Prisma: Type-Safe Database Access
Prisma is an object-relational mapper that turns database entries into typed objects in code. It abstracts the messy parts of database work: type-safety, schema migrations, query optimization, and the communication between your application and the database. The relationship mirrors Workers’ own value proposition — handling the hard infrastructure so you can focus on the application.
Prisma supports Postgres, MySQL, SQL Server, SQLite, and MongoDB. These databases can be hosted with any provider or spun up on service like Heroku. On Workers, Prisma routes through the Prisma Data Proxy. Once that proxy is configured, you import the client, define a schema, and begin querying supported databases.
A Growing Data Ecosystem
The MongoDB and Prisma integrations add to the existing network of data partnerships on Workers. If there is a data platform you want to use with Workers, the team is taking requests — the pattern for partner integrations is now established.



