GraphiQL

The reference in-browser IDE for exploring, writing, and debugging GraphQL queries

Tool
npm
v5.2.4
16,894stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
93/100Excellent
Development Activity92
Maintenance96
Community84
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
83/100Excellent
Architecture88
Code Quality85
Innovation80
Learning Curve78

GraphiQL is the official reference implementation of an in-browser GraphQL IDE, providing syntax highlighting, intelligent type-ahead completion for fields/arguments/types, real-time query and variable validation, and a searchable documentation explorer generated from the connected schema. It’s maintained as part of a larger monorepo, the GraphQL IDE ecosystem, which also ships the underlying language service, an LSP server and CLI for editor integrations, CodeMirror and Monaco editor modes, and VS Code extensions — all built on the same shared graphql-language-service core.

Most users encounter GraphiQL embedded in a GraphQL server’s /graphql endpoint, but it’s also distributable as a standalone React component (<GraphiQL />) with a plugin API for adding custom panels, and is used as the foundation for framework-specific and desktop GraphQL IDE experiences across the ecosystem.

What You Get

  • Full GraphQL-spec syntax highlighting and real-time error reporting for queries and variables
  • Intelligent autocompletion for fields, arguments, types, and automatic leaf-node insertion
  • A searchable documentation explorer generated from introspecting the connected schema
  • An embeddable <GraphiQL /> React component with a plugin API for adding custom panels
  • Persisted editor state via localStorage so queries and settings survive page reloads

Common Use Cases

  • Mounting a /graphql playground endpoint on a GraphQL server for developers to explore and test the schema
  • Embedding an interactive query editor inside internal admin tools or API documentation sites
  • Building a custom GraphQL IDE or framework plugin on top of GraphiQL’s React component and plugin API
  • Debugging query variables and real-time validation errors during GraphQL API development

Under The Hood

Architecture - GraphiQL is the flagship package of a large monorepo (17+ packages under packages/) that layers cleanly: graphql-language-service provides the spec-compliant parsing/validation/completion core shared across every tool; codemirror-graphql and cm6-graphql wrap that core for CodeMirror 5/6 editors; graphiql-react supplies the shared React UI primitives (editors, schema explorer panels) that both graphiql and monaco-graphql consume; and graphiql itself (packages/graphiql/src/GraphiQL.tsx) composes these into the final IDE component, with a plugin system (graphiql-plugin-explorer, graphiql-plugin-history, graphiql-plugin-doc-explorer) so consumers can extend or trim the UI. graphql-language-service-server/-cli and the vscode-graphql* packages reuse the same language-service core to power LSP-based editor integrations outside the browser. Tech Stack - TypeScript and React throughout, built and tested via a Yarn/Lerna-style monorepo with Vite for the graphiql package’s dev/build tooling; CSS is authored per-package (style.css/graphiql.css) and shipped as separate exports so consumers can theme or override styling. Security-sensitive parsing (introspection-based schema handling) has a documented history of XSS advisories, addressed and tracked in an in-repo docs/security directory. Code Quality - The package includes component-level tests (GraphiQL.spec.tsx) alongside the shared language-service’s own extensive test suite; CI badges for build status and Codecov coverage are prominently tracked in the README, and the project holds a CII Best Practices badge, reflecting a formal quality/security bar for a project under the GraphQL Foundation’s stewardship. Activity is very high (100 releases, ~34 commits/month, 317 contributors), indicating an actively reviewed, well-maintained codebase. API Design - The primary consumption path is a single <GraphiQL fetcher={...} /> React component with sensible defaults, while a documented plugin API (GraphiQLPlugin interface) lets consumers add custom sidebar panels without forking the component; separate CSS exports (graphiql/style.css) keep styling decoupled from the component logic, and CDN/UMD builds are provided for non-bundler embedding directly on a GraphQL server’s HTML response.

Used by 9 apps in this directory

Go
55%
Apache 2.0

Authgear

Authentication

1,989

Open-source, self-hostable authentication platform with passkeys, biometric login, SSO, MFA, and GraphQL admin API — a full Auth0/Clerk/Firebase alternative for SaaS and mobile apps.

View details
88
Repo Health
81
Technical
72
Dependency
Built with
Go55%
HTML26%
TypeScript17%
Updated yesterday
PHP
78%
Other

Craft CMS

CMS

3,601

A developer-first PHP CMS with clean-slate content modeling, auto-generated GraphQL API, and a four-tier edition system that scales from solo projects to enterprise deployments.

View details
96
Repo Health
83
Technical
63
Dependency
Built with
PHP78%
JavaScript14%
Updated today
Ruby
67%
Other

GitLab

Devops · Developer Tools

24,533

The complete DevOps platform that unifies Git hosting, CI/CD, issue tracking, and security scanning into a single self-hostable application.

View details
87
Repo Health
86
Technical
70
Dependency
Built with
Ruby67%
JavaScript20%
Updated today
TypeScript
98%
MIT

GraphQL Hive

Developer Tools · Devops · Monitoring

485

Open-source GraphQL schema registry and observability platform with breaking change detection, federation support, and CI/CD integration for teams of any size.

View details
90
Repo Health
81
Technical
70
Dependency
Built with
TypeScript98%
Updated today
TypeScript
88%
Apache 2.0

Medplum

Developer Tools · Databases · Authentication

2,614

An open-source, FHIR-native healthcare platform that gives developers a compliant backend, authentication, a React component library, and serverless bots to build clinical applications in weeks instead of years.

View details
93
Repo Health
90
Technical
72
Dependency
Built with
TypeScript88%
MDX10%
Updated today
TypeScript
84%
MIT

Plasmic

CMS · Low Code Platforms · No Code Platforms

6,961

The open-source visual builder that lets teams design React apps and websites with drag-and-drop while integrating seamlessly with your codebase.

View details
81
Repo Health
78
Technical
65
Dependency
Built with
TypeScript84%
Updated today
TypeScript
71%
Apache 2.0

Supabase

Developer Tools · Databases · Search

108,148

The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.

View details
90
Repo Health
91
Technical
66
Dependency
Built with
TypeScript71%
MDX26%
Updated today
TypeScript
98%
Apache 2.0

TinaCMS

CMS

13,732

An open-source, Git-backed headless CMS that gives editors a live visual editing UI over Markdown, MDX, JSON, and YAML content while developers keep everything in version control.

View details
92
Repo Health
74
Technical
64
Dependency
Built with
TypeScript98%
Updated today
TypeScript
79%
Other

twenty

CRM

55,120

The open-source CRM you build, ship, and version like the rest of your stack — with customizable objects, AI agents, and a TypeScript SDK.

View details
92
Repo Health
82
Technical
67
Dependency
Built with
TypeScript79%
MDX17%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search