graphjin
One governed graph for AI agents — GraphQL + MCP over your databases, files, APIs, and code
GraphJin is an MCP server that provides AI agents with governed GraphQL access to databases, files, APIs, and source code through a unified graph interface. It compiles GraphQL queries into optimized SQL, supports multiple database backends (PostgreSQL, MySQL, MongoDB, SQLite, Snowflake, BigQuery, and more), and exposes catalog-first discovery tools that guide agents to explore schema, relationships, and capabilities before executing queries. GraphJin includes built-in security with query allow-lists, role-based access control, and audit trails, while offering real-time subscriptions, file storage integration, and JavaScript workflows for multi-step operations.
Key Features
Use Cases
- 01AI agents querying operational databases and data warehouses through natural language converted to GraphQL
- 02Multi-database analytics where agents need to join data across PostgreSQL, Snowflake, and MongoDB in one query
- 03Code and data correlation allowing agents to trace which handlers touch specific database tables
- 04Standing questions and monitoring with durable watches that alert when invoice failures or customer churn signals appear
- 05Enterprise agent workflows with governed access where agents discover schema capabilities before attempting mutations
- 06Training custom models on company-specific database schemas using the agent evaluation environment
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
graphjin — FAQ
What is GraphJin?+
GraphJin is an MCP server and GraphQL compiler that gives AI agents governed access to databases, files, source code, and APIs through a unified graph interface. It automatically generates GraphQL schemas from database schemas and exposes catalog-first discovery tools for safe, auditable agent operations.
How do I connect GraphJin to Claude Code or other MCP clients?+
Run 'graphjin mcp add codex http://localhost:8080' or 'graphjin mcp add claude http://localhost:8080' to auto-configure the MCP connection. For hosted servers with OAuth, use 'codex mcp add graphjin --url https://graphjin.example.com/api/v1/mcp' which handles authentication automatically.
Which AI clients work with GraphJin?+
GraphJin works with any MCP-compatible client including Claude Code (Codex), Claude Desktop, and custom clients via the Streamable HTTP transport at /api/v1/mcp. It also provides a built-in server-side agent accessible via POST /api/v1/agent.
Do I need API keys or database credentials?+
You need database connection credentials (configured in GraphJin's config file). For the built-in server-side agent feature, you need an LLM API key (OPENAI_API_KEY, ANTHROPIC_API_KEY, or GOOGLE_APIKEY) in .env. MCP clients connect to GraphJin itself, not directly to databases.
Is GraphJin free and open source?+
Yes, GraphJin is open source under the Apache 2.0 license and free to use. It can be installed via npm, Homebrew, Docker, or platform-specific packages.
What databases does GraphJin support?+
GraphJin supports PostgreSQL, MySQL, MariaDB, SQLite, MongoDB, MSSQL, Oracle, Snowflake, Redshift, BigQuery, Cassandra/Keyspaces, and cloud-managed variants (Aurora, Cloud SQL, YugabyteDB). It also integrates S3, GCS, and local filesystems as queryable tables.
How do I install graphjin?+
Open the source repository on GitHub and follow its README. graphjin is a mcp server — MCP Agents Market links you directly to the official repo.
Is graphjin free?+
graphjin is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.