30 seconds to your first API call

The backend your coding agentinstalls itself.

Run one command. Your agent provisions a sandbox account, creates a project, and wires Amba into your code. Identity, engagement, gamification, economy, social, analytics, infrastructure — one backend, all callable from any MCP-aware agent. No signup form, no console clicking.

Run in your terminal

Headless when an agent runs it — no prompts, no browser. Works with Claude Code, Cursor, Codex, Windsurf.

Or tell your AI agent

If your agent already has the Amba MCP server configured, it provisions everything with one tool call. Otherwise it reads amba.dev/llms.txt and runs the CLI for you. Works in Claude Code, Cursor, Codex, Windsurf.

cursor — claude · amba-mcp
you ▸
amba.streaks.create ( key: "daily_open", grace: "1d" )
amba.push.schedule ( cron: "0 9 * * *", message: "your daily ritual" )
amba.segments.upsert ( id: "lapsed_7d", rule: "no:open in 7d" )
amba.campaigns.create ( segment: "lapsed_7d", trigger: "+0,+3,+7" )
✓ wired in 4.2s · 4 MCP tools called

What Amba is, in three lines

01

One backend.

Auth, push, segments, content, gamification, economy, social, payments — all coherent, all in one place.

02

Built for agents.

A hosted MCP server with 200+ tools across every domain. Your agent does the wiring. You ship the app.

03

Mobile-first abstractions.

Streaks, segments, daily content, leaderboards — abstractions that actually match how mobile apps work.

01
< 30s
first push notificationfrom npx init to phone buzz
02
0×
fewer vendorsreplaces Firebase + RC + OneSignal + …
03
0
prompt to wire a campaignstreaks, push, segments — one ask
04
0
dashboards openedagent does the clicking
live MCP demo · scroll

Your agent types.
Your backend wires itself up.

cursor — claude · amba-mcp connectedMCP online
you ▸
amba.streaks.create ( key: "daily_open", grace_period: "1d" )
✓ ok · 120ms
amba.push.schedule ( cron: "0 9 * * *", body: "your daily ritual" )
✓ ok · 160ms
amba.segments.upsert ( id: "lapsed_7d", rule: "no:open in 7d" )
✓ ok · 200ms
amba.campaigns.create ( segment: "lapsed_7d", cadence: "+0,+3,+7" )
✓ ok · 240ms
amba.events.track ( event: "opened_app", user: "usr_3kx2" )
✓ ok · 280ms
7 categories · one backend · click any card to flip

What you used to stitch together.
Now one backend.

Mobile-engagement abstractions out of the box. Every domain is a first-class API, an MCP tool, a typed SDK method, and a docs page — organized under seven canonical categories.

01

Identity

Users, sessions, auth flows, roles, api_keys.

Mobile auth & identity

Drop-in mobile authentication: anonymous sessions, email magic links, Sign in with Apple, Sign in with Google. Link providers post-hoc so a guest user becomes a real user without losing data. Roles, scopes, refresh tokens, device-bound sessions. Replaces Firebase Auth and Auth0 for mobile-first apps.

Sign in with Apple, Google, anonymous, sessions, JWT

02

Engagement

Push, email, segments, onboarding, content schedules, referrals, deep-links, tracked-links.

Mobile push notifications, hosted

A production push notification service for iOS and Android apps. Token-based auth handled for you, automatic dead-token eviction, scheduled cron sends, segment targeting, A/B variants. Replace OneSignal, Airship, or your custom push service. Available worldwide; data residency in US, EU, and APAC regions.

push notifications, cron, iOS, Android, scheduled sends

Live user segmentation

Live user segmentation defined as JSON rules over events and tags. "Lapsed 7d", "finished onboarding & on Pro", "opened app in last hour" — all auto-evaluated and queryable. Power lifecycle CRM, push targeting, paywall logic, and cohort analysis from a single source of truth. No second segmentation vendor like Customer.io, Iterable, or Braze.

segments, cohorts, CRM, lifecycle, JSON rules

Daily content & curriculum delivery

A content layer purpose-built for "one item per user per day" apps — meditation, journaling, language, fitness, devotionals. Libraries, tags, cron schedules, locale routing, and per-user delivery tracking so users never see the same item twice.

daily content, curriculum, CMS, per-user delivery, localization

Deep links, media, moderation

Universal links and deferred deep links the agent attaches to push and email automatically. Validated media uploads with image transforms and a per-bucket retention model. A moderation queue with keyword + regex rules and an auto-approve-trusted policy for user-generated content.

Branch alternative, deferred deep links, media uploads, moderation, CDN

Transactional + lifecycle email

Send transactional and lifecycle email from the same Amba project: verified senders, versioned templates with locale variants, and segment-targeted sends that share rules with push. Inbound webhooks for bounces, complaints, and opens; outbound webhooks downstream of any send.

email, transactional, templates, lifecycle, segment sends

Structured onboarding flows with branching

Define multi-step onboarding flows — goal selection, skill level, notification opt-in — as a JSON step sequence. Each user carries their own completion state and answers. Branch by step result to personalize the rest of the app from day one. Completion analytics (funnel, drop-off, time-to-complete) included. No third-party onboarding tool required.

onboarding, user activation, branching, completion tracking, personalization

Referral programs with two-sided rewards

Create referral programs: generate a code, attach a reward for the referrer (currency, item, premium days) and a reward for the referee, set a max-use cap. Track redemptions, conversion rates, and top referrers from the same dashboard or via MCP. Replace a separate referral-program vendor with one backend primitive.

referrals, promo codes, growth, viral loops, word-of-mouth, rewards

03

Gamification

XP, achievements, streaks, leaderboards, challenges.

Habit streaks & retention loops

Declarative streaks for habit, fitness, language, and learning apps. Define a streak as a rule — "user fired event X today" — and Amba handles increments, freezes, grace periods, and timezone-aware day boundaries. Power Duolingo-style streak loops, Headspace-style daily check-ins, and Strava-style consecutive-day badges without writing or operating a streak service.

streaks, retention, gamification, habit, Duolingo-style

Gamification — XP, badges, leaderboards

Production-grade gamification: declarative XP rules, achievement unlocks, weekly/monthly/all-time leaderboards on a configurable cadence, friend-scoped boards, anti-cheat hooks. A PlayFab/GameSparks alternative built for habit, fitness, education, and consumer-social apps — not just games.

XP, achievements, leaderboards, badges, PlayFab alternative

Weekly leagues with auto-promotion and relegation

Define league tiers (Bronze, Silver, Gold — or any name). Every week Amba splits eligible users into cohorts, runs a competition window, then auto-promotes top performers and demotes the bottom. Configure cohort size, promote/demote counts, and activity requirements. A Duolingo-style competitive loop that requires zero weekly operations.

leagues, cohorts, competitive, Duolingo-style, tier promotion, gamification

04

Economy

Currencies, catalog, stores, inventory, subscriptions, entitlements.

In-app subscriptions & entitlements

First-class integrations with RevenueCat and Superwall. Server-side webhook validation, entitlement caching, trial state, churn signals, and refunds — all reflected in your user record. Check `user.entitled("pro")` in one line from any tool, segment, or push trigger.

RevenueCat, Superwall, StoreKit, Play Billing, entitlements

Virtual economy & in-app store

A virtual economy: SKU catalog, hard and soft currencies, consumables, recharges, inventory, time-limited stores, and grant rules. Full admin controls for support and moderation — grant, spend, or revoke across currencies, inventory, XP, achievements, and streaks from a single call. Power coins-and-gems gameplay, paid streak shields, premium template unlocks, and seasonal storefronts.

virtual currency, IAP, inventory, consumables, time-limited offers, admin controls

05

Social

Friendships, groups, messaging, feeds, reviews, moderation.

Social graph, group chat & activity feeds

A social graph (friends, follows, blocks), groups, an activity feed with fan-out, and conversations. Direct messages and group chat with dynamic membership — add and remove participants as a conversation grows, so a circle or match group can fill up over time. A GetStream / Sendbird alternative bundled with your auth and analytics — no second vendor for social-shaped products.

social graph, friends, groups, group chat, activity feed, DMs, Stream alternative

In-app ratings and reviews

Attach star ratings and review text to any item in your app — content, products, courses, or workouts. Aggregate stats (average rating, distribution, total count) with a single API call. New reviews enter the existing moderation queue — approve, reject, or auto-approve trusted users. Export all reviews to CSV for analysis.

reviews, ratings, UGC, moderation, star ratings, marketplace

Realtime updates for chat and data

Subscribe to live changes instead of polling on a timer. `Amba.messaging.conversation(id).subscribe()` streams new and deleted messages to the participants of that conversation; the same model applies to collection rows. Authorization is enforced at subscribe time — a user only receives changes they can see. One SDK call, automatic reconnect, no second realtime vendor.

realtime, live updates, subscriptions, chat, collections, presence

06

Analytics

Events, sessions, retention.

Product analytics, built in

Track any event from client or server. Tail the live feed. Count, group, funnel, retain, and export — without a second vendor like Mixpanel, Amplitude, or PostHog. Every event is queryable for years, addressable from segments, and accessible to your agent over MCP for ad-hoc analysis.

events, product analytics, Mixpanel alternative, Amplitude, tail

A/B testing with built-in significance

Run A/B experiments end to end: define weighted variants, get sticky per-user assignment (deterministic, consistent across every platform), log exposures, then read per-variant conversion rates with a built-in two-proportion z-test and p-value. The first variant is the control; every other variant is measured against it. No Optimizely or LaunchDarkly Experiments bill — it ships in the same SDK and MCP server as your analytics.

A/B testing, experiments, split testing, significance, conversion

07

Infrastructure

Collections (typed data + vector search), functions, sites, queues, media, secrets, configs, integrations, AI prompts.

Remote config & feature flags

Versioned remote config with per-key, per-segment overrides, instant rollback, and a kill-switch model. A LaunchDarkly / Firebase Remote Config alternative that ships in the same SDK as your auth, push, and analytics.

feature flags, remote config, A/B, LaunchDarkly alternative, kill switch

Agent-native developer experience

A hosted Model Context Protocol (MCP) server, a typed TypeScript SDK, a CLI, and copy-as-markdown docs. Paste mcp.amba.dev into Cursor, Claude Code, Windsurf, or Zed — your agent maps natural language to typed tools and ships features without you reading a docs site.

MCP, Model Context Protocol, SDK, CLI, TypeScript, Cursor, Claude Code

Trust, isolation, and reliability

Each Amba project gets a dedicated database — no noisy-neighbor risk and clean GDPR/CCPA delete semantics. Provider preflights against your push, payment, and subscription integrations before going live. Compensating sagas so a half-failed campaign rolls back cleanly. SOC 2 in progress; data residency in US, EU, and APAC.

data isolation, compliance, SOC 2, GDPR, data residency, sagas

Serverless functions for mobile backends

Write a TypeScript handler, run `amba functions dev` for a local server with hot reload, then `amba functions deploy` to ship. Each function gets a stable URL, typed bindings to your project (DB, secrets, queues), and can be invoked from the SDK, a webhook, a cron schedule, or a queue consumer. Replaces Lambda + API Gateway glue for app-backend work.

serverless, functions, TypeScript, hot reload, edge, queue consumers

AI prompts and LLM gateway

Define prompts once, version them, and call `Amba.ai.prompts.invoke({ id, vars })` from any SDK. Anthropic-backed today; bring your own API key so usage is on your bill, not ours. Includes streaming, per-prompt rate limits, and per-tenant key rotation through the AI gateway.

AI, LLM, prompts, Anthropic, BYOK, prompt versioning

Static + dynamic site hosting

Static and dynamic website hosting on a free Amba subdomain or your own custom domain. Deploy with `amba sites deploy` from any directory; assets go to global edge, dynamic routes call into your Amba functions. Ideal for referral landings, web companions, and onboarding flows that share auth with the mobile app.

hosting, static sites, CDN, subdomain

Background jobs and queues

Producer/consumer queues built into the SDK. `Amba.queue.send(name, payload)` from a function, the API, or your app. A function declares itself as a consumer; Amba handles concurrency, retries with backoff, and a dead-letter queue. Replaces a separate job system for app-backend work.

queues, background jobs, workers, retries, DLQ

Typed collections with vector search

Define a typed schema (columns, indexes, vector column), store rows through the admin or client SDK, then query by exact match or semantic similarity via `Amba.collections.findNearest()`. Evolve a live collection in place — change a column's type or rename a column without dropping data. Per-user row isolation by default — rows are automatically scoped to the authenticated user — with a shared mode for global data. Amba's vector search is built into the same project, same SDK, no extra vendor to provision.

collections, vector search, semantic search, typed data, schema, schema migration, embeddings

Feature flags with variant support

First-class feature flags as a distinct surface from remote config: boolean on/off flags and multi-variant flags with typed payloads. `Amba.flags.isEnabled(key)` returns synchronously from the last-known state; a background fetch keeps it fresh. Define flags in the dashboard or via MCP; toggle without a redeploy. A LaunchDarkly alternative bundled in the same SDK as your auth and analytics.

feature flags, A/B variants, kill switch, LaunchDarkly alternative, boolean flags

Environment promotion for project config

Stand up a fresh project from another's configuration in a single operation instead of replaying dozens of create calls. Export a declarative bundle — remote config, collection schemas, content libraries, currencies, achievements, streaks, challenges, leaderboards, XP rules — then import it into the target with skip-existing or merge semantics. Configuration only: no secrets, no end-user data. Diff it in a pull request or hand it to your agent.

environment promotion, dev to prod, config as code, seeding, migrations

amba vs. the weekend

Firebase + RevenueCat + OneSignal + AppsFlyer + a database + a weekend.

That stack works. It's also six vendors, six consoles, six sets of credentials, and a bespoke streak service nobody loves. Amba collapses the lot.

capability
Amba
Firebase
Supabase
PlayFab
RevenueCat
OneSignal
AppsFlyer
Identity
Auth (Apple, Google, anonymous, link)
partial
Engagement
Push (iOS + Android, scheduled cron)
partial
Live segments from JSON rules
partial
partial
Daily content scheduling
Deep links / media / moderation
partial
partial
partial
Mobile attribution (deferred deep link)
partial
Enhanced app campaigns (multi-step CRM)
partial
Gamification
Streaks (declarative, grace, timezone)
partial
Leaderboards & XP
Economy
Virtual economy (catalog, currencies)
partial
Subscriptions (RC + Superwall webhooks)
Social
Social graph + feed + group chat
Analytics
Product analytics (events, funnels)
partial
partial
partial
partial
Real-time analytics & live tail
partial
partial
Customer journeys & funnels
partial
partial
partial
Conversion API (server-to-server)
partial
Infrastructure
Remote config / feature flags
partial
Observability (logs, traces, alerts)
partial
partial
Hosted MCP for agents
Project-isolated DB by default
optional
pricing

One backend. Honest pricing.

Pricing is per project — one project, one app, one subscription. Start free in your AI coding agent. We never reject traffic; overages are linear and posted. No surprise bills, no per-seat tax, no hidden egress.

Started in your AI agent? Your sandbox is already running. Verify your email to unlock Free — see setup docs.
Free
$0

Ship a prototype. Verify your email and you are in.

  • MAU1,000
  • Events / mo10K
  • Push / mo1K
  • Database100 MB
  • Media100 MB

All 7 categories included. Sleeps after 14 days of inactivity, wakes on next request. Max 2 free projects per account.

Start free — verify email
popularPro
$20/mo per project
$16/mo annual

Indie devs and small teams shipping production apps.

  • MAU25K
  • Events / mo250K
  • Push / mo50K
  • Database1 GB
  • Media1 GB

All 7 categories included. Email support · 7-day backups.

Get started — $20/mo
Scale
$200/mo per project
$160/mo annual

Growth-stage apps with real traffic.

  • MAU250K
  • Events / mo2.5M
  • Push / mo500K
  • Database5 GB
  • Media25 GB

All 7 categories included. Priority support · 30-day backups.

Get started — $200/mo
Enterprise
Contact

Compliance, residency, dedicated tenancy, custom terms.

  • MAUCustom
  • Events / moCustom
  • Push / moCustom
  • DatabaseCustom
  • MediaCustom

All 7 categories included. BAA · SSO · dedicated region · audit log · SLA.

Talk to us
overage at every tier
$0.50per 1K MAU$0.50per 10K events$0.50per 10K push deliveries$1.50per GB-mo database storage$0.10per GB-mo media storage

Pricing is per project. Each project (one app) has its own subscription. Invite unlimited teammates at every tier.

start in 30 seconds

Hand the docs to your agent.
Ship by lunch.

Read the docs