#5656th of 102 in Backends, databases and hosting

graphjin

GraphQL-to-SQL compiler that exposes databases to AI agents over MCP

Stars
3.2k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Go
Stars, last 29 weeks+203
21 Apr 2026: 3,032 stars28 Apr 2026: 3,035 stars5 May 2026: 3,036 stars12 May 2026: 3,042 stars19 May 2026: 3,047 stars26 May 2026: 3,053 stars2 Jun 2026: 3,062 stars9 Jun 2026: 3,063 stars16 Jun 2026: 3,065 stars23 Jun 2026: 3,067 stars30 Jun 2026: 3,067 stars7 Jul 2026: 3,068 stars14 Jul 2026: 3,069 stars21 Jul 2026: 3,113 stars28 Jul 2026: 3,119 stars4 Aug 2026: 3,121 stars11 Aug 2026: 3,126 stars18 Aug 2026: 3,134 stars25 Aug 2026: 3,137 stars1 Sept 2026: 3,148 stars8 Sept 2026: 3,153 stars15 Sept 2026: 3,158 stars22 Sept 2026: 3,164 stars29 Sept 2026: 3,164 stars6 Oct 2026: 3,167 stars13 Oct 2026: 3,206 stars20 Oct 2026: 3,218 stars27 Oct 2026: 3,225 stars3 Nov 2026: 3,232 stars10 Nov 2026: 3,235 stars

3,032 on 21 Apr 20263,235 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

GraphJin compiles GraphQL queries into single SQL statements and serves them as a Go library or standalone service with REST, WebSocket/SSE subscriptions and an MCP endpoint. It connects to Postgres, MySQL, MongoDB, SQLite, Snowflake, BigQuery and others, plus S3/GCS files and indexed source code. A built-in agent endpoint answers instructions using the caller's permissions.

Who it is for: Engineers exposing databases to apps or AI agents via GraphQL and MCP

Strengths

  • Supports many sources: Postgres, MySQL, MongoDB, SQLite, Oracle, MSSQL, Snowflake, BigQuery, S3/GCS
  • Subscriptions batch many subscribers into one database query
  • Built-in demo runs with `graphjin serve --demo` on SQLite, no Docker
  • Installs via npm, Homebrew, Scoop, deb/rpm or Docker

Weaknesses

  • Broad scope (agent, workflows, CodeSQL, watches) makes the config surface large
  • Built-in agent needs an OpenAI, Anthropic or Google API key
  • Subscriptions unsupported on dialects without batched polling
  • Analytics directives error on MongoDB and older database versions

What it needs

  • no GPU
  • Docker
  • Needs PostgreSQL, MySQL, MongoDB, SQLite or other supported database, Model API key for built-in agent (optional)
  • Models: OpenAI, Anthropic, Google
  • port 8080

Quick answers

Is graphjin open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Can you run graphjin with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100