graphql /graphiql
GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
★ 16,936⑂ 1,863👁 228⑃ 3,259● 1,318▤ 1,272
More from this author
+0
Daily
+7
Weekly
+21
Monthly
16,936
stars
1,863
forks
228
watchers
3,259
prs
1,318
issues
1,272
releases
README
GraphQL IDE Monorepo Security Notice: All versions of graphiql XSS attack in cases where the GraphQL server to which the GraphiQL web app connects is not trusted. Learn more in the graphiql security docs directory Looking for the GraphiQL Docs?: This is the root of the monorepo! The full GraphiQL docs are located at packages/graphiql !GitHub top language !GitHub language count Overview GraphiQL (pronounced like "graphical") is the reference implementation of this monorepo, GraphQL IDE, an official project under the GraphQL Foundation. The code uses the permissive MIT license. Whether you want a simple GraphiQL IDE instance for your server, or a more advanced web or desktop GraphQL IDE experience for your framework or plugin, or you want to build an IDE extension or plugin, you've come to the right place! The purpose of this monorepo is to give the GraphQL Community: - a to-specification official language service (see: API Docs) - a comprehensive LSP server and CLI service for use with IDEs - a codemirror mode - a monaco mode (in the works) - an example of how to use this ecosystem with GraphiQL. - examples of how to implement or extend GraphiQL. graphiql !jsDelivr hits (npm) !npm downloads !Snyk Vulnerabilities for npm package !npm bundle size (version) !npm bundle size (version) !Screenshot of GraphiQL with Doc Explorer Open _/ˈɡrafək(ə)l/_ A graphical interactive in-browser GraphQL IDE. Try the live demo. We also have a demo using our latest netlify build for the main branch. The GraphiQL IDE, implemented in React, currently using GraphQL mode for CodeMirror & GraphQL Language Service. Learn more about GraphiQL in packages/graphiql/README.md monaco-graphql !jsDelivr hits (npm) !npm downloads !Snyk Vulnerabilities for npm package Provides monaco editor with a powerful, schema-driven graphql language mode. Uses the graphql-language-servicedirectly. See the webpack example for a plain javascript demo using GitHub API codemirror-graphql !jsDelivr hits (npm) !npm downloads !Snyk Vulnerabilities for npm package !Animated Codemirror GraphQL Completion Example Provides CodeMirror 5 with a parser mode for GraphQL along with a live linter and typeahead hinter powered by your GraphQL Schema. Uses the graphql-language-service. cm6-graphql !jsDelivr hits (npm) !npm downloads !Snyk Vulnerabilities for npm package Provides CodeMirror 6 with a full-featured language mode for GraphQL. Uses the graphql-language-service. graphql-language-service !npm downloads !Snyk Vulnerabilities for npm package Provides language services for graphql-language-service-server codemirror-graphql and monaco-graphql. Previously published separately as the now-retired graphql-language-service-interface, graphql-language-service-parser, graphql-language-service-utils and graphql-language-service-types. graphql-language-service-server !npm downloads !Snyk Vulnerabilities for npm package Provides language services for LSP
Top issues
#3516[lsp-server] 🐞 Error: Cannot find module 'astrojs-compiler-sync'28 comments · 2024-01-25#1635Allow to run multiple operations (for query batching)26 comments · 2020-08-07#3415[lsp-server] 🐞 The language server throws "could not parse the TypeScript file" error for every TS file when `documents` field is used24 comments · 2023-08-28#1956Lead Maintainer needed!!!19 comments · 2021-09-26#2293Multi-project config file not working for schema introspection16 comments · 2021-08-25#2347Language features not working with multi projects15 comments · 2020-08-28#1704GraphiQL not screen-reader friendly15 comments · 2020-10-31#631Sort the mutations after name to make it easier to read14 comments · 2017-11-13
Discussions
#4616Multi-project graphql-config for the LSP: schema, documents, include, exclude, and fast startup1 comments · 2026-10-02#4562`.env` loading quirks across the VS Code extensions (dotEnvPath, cwd, missing babel.cjs)0 comments · 2026-09-21#4286Document Registry plugin2 comments · 2026-05-15#4219GraphiQL Modernization4 comments · 2026-04-28#4191Visual Studio Marketplace version not being updated1 comments · 2026-04-17#4150How to test a react component that calls graphiql ?1 comments · 2026-01-16#4075vite-plugin-monaco-editor is abandoned?1 comments · 2025-07-15#4056Programmatically changing query in v51 comments · 2025-07-07
Latest release
[email protected] [email protected] 2026-11-07Patch Changes - 4617 e6c67f6 Thanks @lazerg! - Bind the textDocument/didClose handler to the message processor. It was passed as an unbound method, so every file close failed with Cannot read properties of undefined (reading '_isInitialized') and closed documents were never removed from the cache. - 4618 7c7baaa Thanks @lazerg! - Pass the project through when caching schema files, so their object types are indexed under the project that declared them. Previously the project was looked up again by file path, which could pick the first project in a multi-project config or fail with doesn't mat