GraphJin
Connect AI to Your Databases
Use with Claude Desktop + MCP
npx graphjin serve Works with all your database
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 serveUse 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 {
products(limit: 10, order_by: { price: desc }) {
id
name
price
owner {
full_name
email
}
}
}{
"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.
SQL Query for Any Complexity
Databases, Same GraphQL
Lines of Resolver Code
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
Get Started
From zero to queries in minutes.
Point to Your Database
Configure your connection — PostgreSQL, MySQL, SQLite, and more.
Auto-Discover Schema
GraphJin introspects tables, columns, and relationships automatically.
Start Querying
Joins, aggregations, and subscriptions work out of the box.
Point to Your Database
Configure your connection — PostgreSQL, MySQL, SQLite, and more.
Auto-Discover Schema
GraphJin introspects tables, columns, and relationships automatically.
Start Querying
Joins, aggregations, and subscriptions work out of the box.