claudeers.
// Data & Analytics

restheart

The Open Source Backend for MongoDB

Actively maintained
100/100
last commit 13 days ago
last release 8 days ago
releases 261
open issues 19
// star history

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up restheart (release-binary project) into my current project.
Found on https://claudeers.com/restheart
Repo: https://github.com/SoftInstigate/restheart
Homepage/docs: https://restheart.org
Detected install method: release-binary → inspect the README
Category: data. Platforms: api, web.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (release-binary)

Grab the latest release asset from GitHub.

# download a build from https://github.com/SoftInstigate/restheart/releases
// or clone
git clone https://github.com/SoftInstigate/restheart

// compatibility

Platformsapi, web
Operating systems—
AI compatibilityclaude
LicenseAGPL-3.0
Pricingopen-source
LanguageJava

Get your FREE $2.50 API credits to access TickAtlas financial data ↗

RESTHeart logo RESTHeart

CLA assistant


What RESTHeart is

RESTHeart turns a MongoDB database into a REST, GraphQL, WebSocket, and SSE API, with authentication, authorization, and real-time change streams already wired in.

Point it at a MongoDB instance and the API is there: no routes to write, no permission checks to hand-code, no pagination or filtering logic to duplicate across endpoints. Permissions and behavior are configured declaratively. Custom logic goes into plugins, written in Java, Kotlin, JavaScript, or TypeScript, only for what a data API cannot express.

RESTHeart logical architecture

Example

curl "https://demo.restheart.org/messages?filter={\"from\":\"Bob\"}&pagesize=1"

No route was written for /messages. It is a MongoDB collection, and the query parameters (filter, pagesize, sorting) map directly to MongoDB's query language.

Core capabilities

  • REST API: full CRUD, aggregations, filtering, sorting, pagination, generated from the database schema
  • GraphQL: schema-driven mapping to MongoDB queries
  • WebSocket: change streams exposed as real-time data sync
  • SSE: Server-Sent Events for dashboards, IoT feeds, and event streams
  • Authentication and Authorization: JWT, OAuth2, LDAP, MongoDB-based users, ACL rules defined as data, not code
  • Plugin framework: custom services, interceptors, and initializers in Java, Kotlin, JavaScript, or TypeScript, for the logic a declarative API cannot cover
  • Metrics and monitoring: a Prometheus-compatible endpoint plus a browser dashboard at /metrics-ui, tracking request rates, latency percentiles, and HTTP status distribution
  • IoT / MQTT: ingest device telemetry directly into MongoDB (coming soon)

Distributed as a Docker image and a GraalVM native binary. Built on Java 25, Undertow, and virtual threads.

Running it

Fully managed, no installation required, and including Sophia, an MCP server and browser assistant that exposes RESTHeart's docs and plugin API to AI coding assistants such as Claude Code, Cursor, or VS Code:

Or self-hosted, since the core is free and open source:

curl https://raw.githubusercontent.com/SoftInstigate/restheart/master/docker-compose.yml \
  --output docker-compose.yml && docker compose up --attach restheart

curl http://localhost:8080/ping

Full documentation: https://restheart.org/docs/


License

RESTHeart core is licensed under the GNU AGPL v3.

restheart-commons, the Maven artifact plugins depend on to reach the Approved Interfaces, is licensed under the Apache License 2.0. Plugins that depend only on restheart-commons, without linking against RESTHeart's AGPL-licensed core, can be distributed under any license, including proprietary ones. See PLUGIN_EXCEPTION.md for the exact terms of this permission.


// faq

What is restheart?

The Open Source Backend for MongoDB. It is open-source on GitHub.

Is restheart free to use?

restheart is open-source under the AGPL-3.0 license, so it is free to use.

What category does restheart belong to?

restheart is listed under data in the Claudeers registry of Claude-compatible tools.

6 views
★ 889 stars
unclaimed
updated 29 days ago

// embed badge

restheart on Claudeers
[![Claudeers](https://claudeers.com/api/badge/restheart.svg)](https://claudeers.com/restheart)

// retro hit counter

restheart hit counter
[![Hits](https://claudeers.com/api/counter/restheart.svg)](https://claudeers.com/restheart)

// reviews

// guestbook

0/500

// related in Data & Analytics

🔓

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 P…

// datarouter-for-me/⟨Go⟩★ 54,158◷ MIT[ claude ]
🔓

Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.

// datacoreyhaines31/⟨JavaScript⟩★ 52,036◷ MIT[ claude ]
🔓

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

// dataapache/⟨Python⟩★ 47,013◷ Apache-2.0[ claude ]
🔓

CLI tool for configuring and monitoring Claude Code

// datadavila7/⟨Python⟩★ 32,352◷ MIT[ claude ]

// built by

→ see how restheart connects across the ecosystem