dosco/graphjin

One governed graph for AI agents — GraphQL + MCP over your databases, files, APIs, and code

What it solves

GraphJin provides a unified, governed interface for AI agents to interact with a company's existing fragmented data and systems. Instead of giving agents raw credentials to various databases, warehouses, and files, it creates a single governed graph that allows agents to discover, validate, and execute queries across multiple sources with built-in auditing and security policies.

How it works

GraphJin acts as a compiler and runtime that translates GraphQL and Model Context Protocol (MCP) requests into optimized queries for various backends. It automatically reads database schemas, discovers relationships, and indexes source code using CodeSQL (via tree-sitter). It exposes these systems through a single surface where agents can perform discovery (using a catalog), run queries, and observe runtime status. Every action is checked against an execution ledger before leaving the server.

Who it’s for

It is designed for developers building AI agents that need secure, auditable access to operational databases, data warehouses, object stores (S3/GCS), and source code. It also serves as a high-performance GraphQL-to-database compiler for traditional applications.

Highlights

  • Unified Data Surface: Supports PostgreSQL, MySQL, MongoDB, SQLite, Oracle, MSSQL, Snowflake, Redshift, BigQuery, Cassandra, and object stores (S3/GCS).
  • Built-in Server-Side Agent: Offers a dedicated endpoint that runs the discovery and execution loop internally to return evidence-backed answers.
  • CodeSQL: Indexes source code as a queryable database, allowing agents to link production data to the code that operates it.
  • Governed Access: Implements query allow-lists, read-only boundaries, and policy-aware MCP tools to prevent raw, unguarded access.
  • Real-time Subscriptions: Efficiently handles thousands of concurrent subscribers using batched polling to reduce database load.
  • Durable Memory: Stores saved queries, fragments, and workflows in owner-scoped artifacts.

Related

  • Project
  • Project
  • Project
  • Project
  • Project