Why Remix and Cosmic Work So Well Together
Remix was built around the concept of server-side data loading. Every route has a function that fetches data before rendering — and Cosmic fits that model perfectly. The Cosmic REST API returns structured JSON in milliseconds, so your loaders stay lean and your pages stay fast.
No client-side waterfalls. No hydration mismatches. Just clean data in, clean HTML out.
What You Get
- REST API with sub-100ms response times — Cosmic's globally cached API delivers content fast, wherever your users are.
- TypeScript SDK — Fully typed client with . Works seamlessly in Remix loaders and actions.
- AI Agents — Built-in AI agents that generate, update, and manage content autonomously.
- MCP Server — Connect Cosmic to your AI toolchain via the Model Context Protocol.
- CLI — Scaffold projects, manage buckets, and push content models from the terminal.
Fetching Cosmic Content in a Remix Loader
Install the SDK:
Then use it in your Remix route loader:
Nested routes? No problem. Each nested route can have its own loader, each calling Cosmic independently — keeping data fetching co-located with the component that needs it.
Key Features
REST API Built for Speed
Cosmic's API is globally distributed and returns sub-100ms responses on cached requests. Perfect for Remix's server-first architecture where every request matters.
TypeScript SDK
The package ships with full TypeScript types. You get autocomplete, type safety, and a clean chainable query API — no hacks required.
AI Agents
Cosmic includes built-in AI Agents that can create and update content on a schedule, respond to triggers, and integrate with your workflow tools.
MCP Server
Connect Cosmic to any MCP-compatible AI tool. Build content pipelines that work with Claude, GPT, and other LLMs out of the box.
CLI
Scaffold new projects, sync content models, and manage your buckets directly from the terminal.
Pricing
| Plan | Price | Buckets | Team Members | Objects |
|---|---|---|---|---|
| Free | $0/month | 1 | 2 | 1,000 |
| Builder | $49/month | 2 | 3 | 5,000 |
| Team | $299/month | 3 | 5 | 20,000 |
| Business | $499/month | 5 | 10 | 50,000 |
| Enterprise | Custom | Custom | Custom | Custom |
Additional users: $29/user/month. The Free plan is forever free — no credit card required.
Related Resources
Get Started Free
Sign up free — no credit card required
Want a guided walkthrough? Book a demo with Tony.