Home/AI Agents/restheart
restheart logo

restheart

SoftInstigate/restheart

The Agent-Ready Backend for MongoDB

GraphCanon updated 5d · GitHub synced 3w

881 stars177 forksLast push 3w Java AGPL-3.0

Decision brief

RESTHeart provides an HTTP RESTful API for MongoDB, suiting needs that require lightweight data retrieval, GraphQL support and WebSocket capabilities.

Good fit when

  • When integrating with AI agents that need direct access to MongoDB via a RESTful interface
  • For projects requiring both GraphQL and traditional REST endpoints exposing MongoDB data

Avoid when

  • If fine-grained control over database operations beyond simple CRUD is required, as RESTHeart adheres strictly to HTTP methods
  • When proprietary licensing must be avoided since RESTHeart uses AGPL-3.0, which may affect derivative work distribution

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (881) are secondary evidence.

Docker Hub pulls (30d)
1,894,617·Docker Hub API·3w

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of 3w
Provenance
Not a fork · Organization account
As of 3w
Security (OSV)
No lockfile
As of 5d

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/SoftInstigate/restheart

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Provides an HTTP RESTful API for the MongoDB document database system. Supports GraphQL, WebSockets and Docker.

Capability facts

Deploy
Self-host

Source: dockerfile:docker-compose.yml · Jul 27, 2026

Docker
Dockerfile present

Source: dockerfile:docker-compose.yml · Jul 27, 2026

Languages
java

Source: github.language · Jul 27, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

SSE transportSSE

Source: README excerpt (regex_v1, Jul 27, 2026)

- **SSE**: Server-Sent Events for live dashboards, IoT feeds, and event streams
Source link
Works with CursorCursor

Source: README excerpt (regex_v1, Jul 27, 2026)

ssistant**: Chat with the docs in your browser, or connect Claude, Claude Code, Cursor, or VS Code to the MCP server to vibe code and configure your backend
Source link
Works with VS CodeVS Code

Source: README excerpt (regex_v1, Jul 27, 2026)

Chat with the docs in your browser, or connect Claude, Claude Code, Cursor, or VS Code to the MCP server to vibe code and configure your backend
Source link

Tags

README

RESTHeart logo RESTHeart


The Open Source Backend for MongoDB

Instant REST, GraphQL, and WebSocket APIs. No backend code.

Built-in authentication and authorization. Declarative, zero boilerplate.

Need custom logic? Extend it in Java, Kotlin, JavaScript, or TypeScript.

Plus Sophia, the AI assistant: chat with the docs, or vibe code via MCP.

Fully managed, no installation required. Or run it yourself, free and open source, see below.

Core capabilities:

  • REST API: Full CRUD, aggregations, filtering, sorting, pagination
  • GraphQL: Schema-driven mapping to MongoDB queries
  • WebSocket: Real-time change streams and data sync
  • SSE: Server-Sent Events for live dashboards, IoT feeds, and event streams
  • Authentication and Authorization: JWT, OAuth2, LDAP, MongoDB-based users, ACL rules
  • Plugin framework: Extend with Java, Kotlin, JavaScript, or TypeScript for custom business logic
  • Sophia AI assistant: Chat with the docs in your browser, or connect Claude, Claude Code, Cursor, or VS Code to the MCP server to vibe code and configure your backend
  • Metrics & Monitoring: Built-in Prometheus-compatible metrics endpoint with a real-time browser dashboard at /metrics-ui, tracking request rates, latency percentiles, and HTTP status distribution
  • IoT / MQTT: Connect devices and ingest telemetry directly into MongoDB (coming soon)

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


For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.