get-graphql-schema

JSON →
library 2.1.2 ·javascript maintenance
verified Jun 7, 2026

CLI tool to fetch and print the GraphQL schema from a GraphQL HTTP endpoint. Current stable version is 2.1.2, released in 2018, with low release cadence (no updates since 2019). It outputs schema in IDL syntax by default, with optional JSON output. Alternatives like graphql-cli offer richer workflows. Supports custom headers via --header flag. Suitable for quick schema retrieval, especially for Relay Modern projects.