Open Source Radar
dosco/

graphjin

GitHubWebsite

GraphJin provides a Go-based compiler and runtime exposing GraphQL + MCP over multiple data sources for AI agents, with demos, MCP tooling, and CodeSQL indexing. It supports server, CLI, and demo modes and ships with multiple installation paths.

graphjin website
3.1kstars
+724h
187forks
22issues
Apache-2.0license
2019since
Star historydaily snapshots by VibeCrowd

Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (2 so far).

Alternatives & relatedmatched by topic overlap
Reviewgenerated from repository data · Jul 20, 2026

What it is

GraphJin is a compiler and runtime that gives AI agents a single governed graph over databases, warehouses, files, source code, workflows, metadata, and security policy via GraphQL + MCP. It also functions as a high-performance GraphQL-to-database compiler, Go library, standalone API service, REST/OpenAPI gateway, and real-time subscription server. It supports PostgreSQL, MySQL, MongoDB, SQLite, Oracle, MSSQL, Snowflake, Redshift, BigQuery, Cassandra/Amazon Keyspaces, S3/GCS/local files, CodeSQL sources, and models from Claude, GPT-4 to local models.

How it works

  • Connects to databases by reading schemas automatically.
  • Discovers relationships via foreign keys.
  • Exposes metadata through gj_* tables when feature capabilities are enabled.
  • Indexes source code with CodeSQL into a managed SQLite database.
  • Exposes MCP tools to teach LLMs the query syntax.
  • Runs JS workflows to chain MCP tools.
  • Compiles each request into a single optimized SQL query.

CodeSQL details: a managed source kind indexing files via tree-sitter, with a SQLite cache at config/codesql/. It watches for changes in development and disables watching in production. See examples for configuring sources and tables, and using gj_code and gj_catalog.

Getting started

Install options include:

  • npm: "npm install -g graphjin"
  • macOS: "brew install dosco/graphjin/graphjin"
  • Windows: commands under Scoop as shown, including adding the graphjin bucket and installing graphjin
  • Docker: "docker pull dosco/graphjin"

Run the built-in demo with:

graphjin serve --demo

The demo state is under ./graphjin-demo. Use the MCP and agent endpoints as indicated in output.

To add GraphJin to an AI client locally:

graphjin mcp add claude
graphjin mcp add codex

Defaults are client=codex, server=http://localhost:8080, and project scope. The server/mcp endpoint is at /api/v1/mcp.

Recent releases

Latest releases show version updates and changelog entries, e.g., v3.19.1 (2026-07-20) and v3.19.0 (2026-07-20), with notes like version bumps and internal refactors.

Traction

Stars: 3121; Forks: 186; Open issues: 22.

Behind the repo

The project is named GraphJin, with the repository under dosco/graphjin. It is licensed Apache-2.0 and created in 2019-03-24.

Caveats

License: Apache-2.0. Created: 2019-03-24. Last push: 2026-07-20. Open issues: 22.

SharePost on XLinkedIn
All trending reposRevenue-verified startups →