# SurrealDB

> A multi-model database built in Rust that unifies document, graph, relational, time-series, geospatial and key-value data

Source: https://talira.ai/catalog/surrealdb-b82sjdwt
Every listing: https://talira.ai/catalog.md

- Kind: Source available
- Types: Database, Infrastructure, Command-line tool
- Categories: [databases / multi model](https://talira.ai/categories/databases/multi-model), [databases / graph](https://talira.ai/categories/databases/graph), [databases / document](https://talira.ai/categories/databases/document), [databases / vector](https://talira.ai/categories/databases/vector), [databases / realtime](https://talira.ai/categories/databases/realtime)
- Platforms: linux, macos, windows, docker, kubernetes, web[^6]
- Licence: BUSL-1.1 (source-available)[^2][^3]
- Pricing: Free tier, from $15/month[^5]
- Pricing notes: SurrealDB Earth (serverless on Cloudflare): Free $0 (3M requests, 10 GB, 100 database hours a month; pauses at its limits); Pro $15/month launch price (10M requests, 25 GB, 1,000 database hours; then $0.65 per 1M requests, $0.25/GB, $0.05 per active hour). SurrealDB Cloud (nodes on AWS or Azure): from $0.021 per node hour. Enterprise self-hosted: custom. Annual commitments are discounted. The database itself is free to self-host under BSL 1.1.
- Free tier: yes[^5]
- Self-hostable: yes[^4][^6]
- Cloud hosted: yes[^5][^6]
- SOC 2: yes[^5]
- HIPAA: yes[^5]
- SSO: yes[^5]
- SSO tax: SSO only in plans priced by sales (an enterprise plan)
- API: yes[^6]
- MCP server: yes[^6][^7]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^6][^7]
- Made by: [SurrealDB](https://talira.ai/orgs/surrealdb.md)
- Funding: Series A, 2025[^8]

SurrealDB is a multi-model database written in Rust: one engine stores documents, graph edges, relational tables (schemaful or schemaless), time-series, geospatial and key-value data, with full-text, vector and hybrid search, queried through SurrealQL, a SQL-like language, or GraphQL. It doubles as an API backend, with record- and field-level permissions, live queries that push changes to clients over WebSockets, and ACID transactions across rows and tables. It runs embedded in an app (in memory or on SurrealKV), as a single server, or as a distributed multi-node cluster, and has official SDKs for Rust, JavaScript, Python, Go, Java, [.NET](https://talira.ai/catalog/net-9p8d54vj.md), Kotlin, PHP, Swift and Mojo, plus an MCP server. The core is source-available under the Business Source License 1.1, which allows any use except offering it as a database service to third parties and turns each version into Apache-2.0 after four years. SurrealDB Ltd also sells SurrealDB Cloud (Earth, serverless on [Cloudflare](https://talira.ai/catalog/cloudflare-01k5h588.md), and Cloud, node-based on AWS or Azure) and a self-hosted Enterprise edition.

## Links

- Website: https://surrealdb.com/
- GitHub: https://github.com/surrealdb/surrealdb
- Docs: https://surrealdb.com/docs
- Pricing: https://surrealdb.com/pricing

## Ways to install

### Hosted for you

- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/surrealdb>[^1]

## Problems it solves

- we run Postgres, MongoDB and Neo4j side by side and spend our time keeping them in sync
- store documents and graph relationships in one database instead of two
- query relationships between records without writing chains of JOINs
- push database changes to the browser in real time without building a separate websocket server
- let the frontend query the database directly with per-record permissions instead of writing an API layer
- one database for vector search, full-text search and the application data behind our AI agent
- give our AI agent long-term memory stored as a knowledge graph with sources
- an embedded database for a Rust or edge app that can later grow into a cluster
- a database for a knowledge graph that also handles normal app tables
- a serverless database that scales to zero for lots of small apps
- store time-series and geospatial data in the same database as everything else
- enforce row- and field-level access rules inside the database itself
- a managed graph-and-document database on AWS or Azure in a region we choose
- a database our security team can approve with SOC 2 Type 2 and ISO 27001 on the hosted service
- let Claude or Cursor query and manage our database over MCP
- run a recommendation engine or fraud detection on graph data without a separate graph store
- a single binary database we can start with one command on a laptop
- self-host a multi-model database for internal use without paying for a licence

## Features

- document, graph, relational, time-series, geospatial and key-value data in one engine
- SurrealQL, a SQL-like query language, plus GraphQL, ISO GQL and the PostgreSQL and MySQL dialects over their wire protocols
- full-text, vector and hybrid search indexes
- record links and directed, typed graph edges without JOINs
- multi-row, multi-table ACID transactions
- live queries that stream changes to clients
- row-, table- and field-level permissions and custom access methods
- embedded mode (in memory or SurrealKV), single node or distributed cluster
- incrementally computed views
- embedded JavaScript functions
- MCP server, hosted at mcp.surrealdb.com and embedded in SurrealDB 3.1 and later
- official SDKs for Rust, JavaScript, Python, Go, Java, .NET, Kotlin, PHP, Swift and Mojo
- Studio: query, explore and design the schema in the browser
- Agent Memory: stores what an agent learns with its source and time
- SurrealDB Earth: serverless on Cloudflare, scales to zero
- SurrealDB Cloud: single-node or clustered on AWS or Azure with daily backups
- Enterprise: audit logging, FIPS-compliant cryptography and priority security patching

## Ways to run it

### SurrealDB (self-hosted)

You run it, BUSL-1.1 (source-available). Price: free.[^2][^3][^4]

Only in this edition:

- the full database: embedded, single-node or multi-node cluster
- production use, except offering it as a database service to third parties

Not included:

- audit logging, FIPS-compliant cryptography and priority security patching, which are Enterprise features[^5]

You arrange:

- servers, Docker or Kubernetes
- storage on SurrealKV or in memory with persistence
- backups and monitoring
- a commercial licence to offer SurrealDB as a database service

Self-hosting docs: https://surrealdb.com/license

### SurrealDB Earth

Hosted by SurrealDB. Price: Free $0; Pro $15/month launch price plus usage.[^5]

Only in this edition:

- serverless on Cloudflare's network in 330+ regions
- scales to zero when idle
- pay per request

Pricing: https://surrealdb.com/pricing

### SurrealDB Cloud

Hosted by SurrealDB. Price: from $0.021 per node hour.[^5]

Only in this edition:

- always-on nodes on AWS or Azure in the region you choose
- single node or highly available clusters of up to hundreds of nodes
- automated daily backups

Pricing: https://surrealdb.com/pricing

### SurrealDB Enterprise

You run it, under a commercial licence. Price: custom, through sales.[^5]

Only in this edition:

- clustered fault-tolerant deployments with distributed storage
- audit logging and FIPS-compliant cryptography
- priority security patching
- enterprise SSO and HIPAA
- enterprise support and custom SLAs

You arrange:

- your own infrastructure

Pricing: https://surrealdb.com/pricing

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Has official SDKs: plan not known
- Has single sign-on: SurrealDB Earth: every plan, free; SurrealDB Cloud: every plan, $0.021/node_hour; SurrealDB Enterprise; add-on: Enterprise single sign-on, priced by sales; add-on: Enterprise single sign-on, priced by sales[^5]

## Trust

Overall: 0.65 out of 1.
Signals: backing 0.85, extensibility 0.60.

- funding: Series A, 2025
- used by Samsung, Nvidia, Verizon, Tencent
- has an MCP server for agents
- security: SOC 2, ISO 27001, HIPAA

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [ArangoDB](https://talira.ai/catalog/arangodb-7q5p0ph2.md): A scalable multi-model database for graphs, documents, key-values and search
- [ArcadeDB](https://talira.ai/catalog/arcadedb-4anw74xv.md): Open source multi-model database for graphs, documents, key/value, search, vectors and time series, with a built-in MCP server
- [Neo4j](https://talira.ai/catalog/neo4j-76zxhxgj.md): The knowledge layer that makes AI accurate
- [MongoDB](https://talira.ai/catalog/mongodb-bnayk648.md): The free, source-available version of MongoDB
- [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md): A powerful, open source object-relational database system
- [Supabase](https://talira.ai/catalog/supabase-524j51hm.md): The Postgres development platform

## Sources

[^1]: https://railway.com/deploy/surrealdb (checked 20 Nov 2026)
[^2]: https://github.com/surrealdb/surrealdb/blob/main/LICENSE (checked 20 Nov 2026)
[^3]: https://surrealdb.com/license (checked 20 Nov 2026)
[^4]: https://surrealdb.com/docs/surrealdb/installation/running (checked 20 Nov 2026)
[^5]: https://surrealdb.com/pricing (checked 20 Nov 2026)
[^6]: https://github.com/surrealdb/surrealdb/blob/main/README.md (checked 20 Nov 2026)
[^7]: https://surrealdb.com/mcp (checked 20 Nov 2026)
[^8]: https://surrealdb.com/about (checked 20 Nov 2026)
