Spica documentation
Guides, API reference and examples for buckets, functions, authentication, storage, the CLI, devkit and self-hosting.
Start Spica locally
# Install the CLI (requires Docker and Node.js)
npm install -g @spica/cli
# Start a project with the API, panel and database
spica project start my-app --open
Build with Spica
Everything a backend needs, available through one API and one admin panel.
BucketsModel data with JSON schemas and get REST, GraphQL and realtime APIs with rules, history and localization.FunctionsRun Node.js code on HTTP requests, data changes, schedules, system events, gRPC or RabbitMQ messages.Authentication & accessIdentities, end users, API keys, OAuth/SAML strategies, 2FA and fine-grained policies.StorageUpload, transform and serve files from local disk, Amazon S3 or Google Cloud Storage.PlatformWebhooks, dashboards, activity stream, environment variables, secrets, mailer and observability.Admin panelA back office for developers and content editors: data entry, function editor, policies and more.
Tools & operations
Automate your workflow and run Spica wherever you deploy.
CLIStart local projects with Docker and manage buckets, functions and policies as code.DevkitTyped packages for buckets, auth, identity, storage, database, sync and e2e testing.Self-hostingRun Spica with Docker or Kubernetes using the Helm chart, on MongoDB or PostgreSQL.RecipesEnd-to-end scenarios: a headless CMS, sign-up flows, scheduled jobs, CI/CD and testing.
Built for AI agents
Connect Claude, Cursor or VS Code to your instance with the Spica MCP server, so agents can design buckets, write functions and read logs for you. Every page here also has a Copy page button and a .md version, and llms.txt indexes them all.