Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Cayley

cayley.io

  • Free plan
  • macOS
  • Linux
  • Web
  • API
  • Self-hosted
7.4 Club score Visit cayley.io

What Cayley is

Cayley is an open-source graph database for connected data. It supports RDF and linked-data formats, including NQuads and JSON-LD, and can use SQL, NoSQL, or key-value storage underneath. Query options include Gizmo, a Gremlin dialect, MQL, and a GraphQL dialect. The project can be extended with additional formats, backends, query languages, or custom logic. Cayley includes a query editor, visualizer, and REPL, plus HTTP query endpoints for Gizmo, GraphQL, and MQL. Its visualizer can show query results as a graph when results include source and target tags. Listed integrations include LevelDB, Bolt, MongoDB, Elasticsearch, CouchDB, PouchDB, PostgreSQL, CockroachDB, MySQL, MariaDB, and SQLite. Installation guidance covers Ubuntu through Snap, macOS through Homebrew, Docker, and source builds. Cayley runs on Linux, macOS, web, API, and self-hosted deployments. It uses the Apache 2.0 license and is free to use in any project.

Who it suits

Cayley suits developers and teams building graph-based applications or linked-data workflows. It is relevant when self-hosting and choosing among several database backends or query styles.

Good to know, and what to watch

  • Open-source Apache 2.0 license
  • Supports RDF, NQuads, and JSON-LD
  • Multiple query languages available
  • Many storage backends listed
  • Includes editor, visualizer, and REPL
  • In-memory storage is not persistent
  • Large datasets are directed to Bolt
  • Self-hosted setup is required

Open-source CayleyGraph

Free

Open source

The verdict

Cayley combines linked-data support, several query languages, and broad backend choices in a self-hosted graph database. Its tooling and extensibility fit teams that want to adapt storage, formats, or query behavior.

What the maker publishes

API
Cayley's documentation describes HTTP query endpoints for Gizmo, GraphQL, and MQL. source
Database integrations
The configuration guide lists LevelDB, Bolt, MongoDB, Elasticsearch, CouchDB, PouchDB, PostgreSQL, CockroachDB, MySQL, MariaDB, and SQLite backends. source
Data size guidance
The guide says the default in-memory store is best for datasets that fit in machine memory and workloads that do not require persistence; it recommends Bolt for large datasets or persistent workloads. source
Extensibility
Cayley can be extended with new formats, backends, query languages, or custom logic. source
Installation
The installation guide gives instructions for Ubuntu via Snap, macOS via Homebrew, Docker, and building from source. source
License
Cayley is developed under the Apache 2.0 license and is free to use in any project. source
Linked data
Cayley supports RDF and linked data formats including NQuads and JSON-LD. source
Query languages
Cayley supports Gizmo, described as a Gremlin dialect, MQL, and a GraphQL dialect. source
Query tools
Cayley includes a query editor, visualizer, and REPL. source
Storage
Cayley works on top of SQL, NoSQL, or key-value databases. source
Support and community
The project invites users to join its community on Slack or Discourse. source
Visualization
The UI overview says the visualizer can display query results as a graph when results are tagged with source and target. source
What it does
Cayley is an open-source graph database inspired by the graph database behind Freebase and Google's Knowledge Graph. source

Checked against the maker's pages on 4 Oct 2026.