A NEW KIND OF COMPILER

GraphJin

Connect AI to Your Databases

Use with Claude Desktop + MCP

$ npx graphjin serve

Works with all your database

PostgreSQL
PostgreSQL
MySQL
MySQL
MariaDB
MariaDB
MongoDB
MongoDB
SQLite
SQLite
SQL Server
SQL Server
Oracle
Oracle
CockroachDB
CockroachDB
AWS Aurora
AWS Aurora
Google Cloud SQL
Google Cloud SQL
YugabyteDB
YugabyteDB

LLMs struggle with databases, diverse SQL dialects, custom query methods like MongoDB, complex joins. GraphJin is a compiler that auto-learns your entire schema and generates efficient queries from simple GraphQL. Even smaller models can describe exactly what data they need, and GraphJin handles the rest. Nothing like this exists for AI, works with Claude Desktop or any MCP client.

Quick Start

$npx graphjin serve

Use with Node.js projects

Works on macOS, Windows, and Linux. Supports PostgreSQL, MySQL, SQLite, MongoDB, and more.

Simple & Powerful

Write GraphQL, get optimized SQL. Queries, mutations, subscriptions, and aggregations — all in one query.

query.graphql
query {
  products(limit: 10, order_by: { price: desc }) {
    id
    name
    price
    owner {
      full_name
      email
    }
  }
}
result.json18ms
{
  "products": [
    {
      "id": 104,
      "name": "Mechanical Keyboard",
      "price": 149.99,
      "owner": {
        "full_name": "Alice Dev",
        "email": "alice@example.com"
      }
    }
  ]
}

Why GraphJin?

Built for the AI era. No resolvers, no ORMs, no N+1 problems.

0

SQL Query for Any Complexity

0+

Databases, Same GraphQL

0

Lines of Resolver Code

MCP

Works with Any AI

Production Security

RBAC, JWT auth, row-level security, query allow-lists

Auto Discovery

Introspects tables, columns, relationships automatically

Live Subscriptions

Real-time data with cursor-based pagination

50+ Features
Remote API Joins
Recursive Queries

Get Started

From zero to queries in minutes.

1

Point to Your Database

Configure your connection — PostgreSQL, MySQL, SQLite, and more.

2

Auto-Discover Schema

GraphJin introspects tables, columns, and relationships automatically.

3

Start Querying

Joins, aggregations, and subscriptions work out of the box.