# graph-gophers/graphql-go

GraphQL server with a focus on ease of use

Repository: https://github.com/graph-gophers/graphql-go
Canonical: https://ross.abutalabs.com/products/graphql-go
Language: Go
License: BSD-2-Clause
License Family: permissive
Topics: graphql, go, golang
Last push: 2026-08-04T02:54:32+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 84, longevity 100
- inputs: {"age_days": 3606, "days_push": 29, "days_rel": 106, "gap_med": 7.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4759, forks 494 (observed 2026-08-28T04:08:59.035804+00:00)

## What it is
A GraphQL server library for Go focused on ease of use, with schema parsing, type-checked resolvers, and an HTTP relay handler. It supports context, OpenTelemetry/OpenTracing, parallel resolver execution, and subscriptions.

## Use cases
- build a GraphQL API server in Go
- serve GraphQL queries over HTTP
- resolve GraphQL schemas with Go structs or interfaces
- add subscriptions to a Go GraphQL server
- avoid N+1 queries by inspecting selected fields
- add tracing to GraphQL resolvers with OpenTelemetry

## When to choose
- you want a minimal, idiomatic Go GraphQL server library
- you prefer schema-first development with type-checked resolvers
- you need context support and parallel resolver execution

## When to avoid
- you need a full GraphQL framework with code generation
- you are not building a Go backend
- you need built-in dataloader batching rather than manual prefetching

## Facets
- artifact type: library
- maturity: active
- function: graphql, http-server, middleware, tracing
- domain: web-development, backend, apis
- platform: go, cross-platform
- tags: graphql-server, schema-first, resolvers, subscriptions

## Member repositories
- graph-gophers/graphql-go (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:59.035804+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:51.786085+00:00, confidence not recorded.
  - readme: https://github.com/graph-gophers/graphql-go (fetched 2026-08-28T04:08:59.035804+00:00, sha 8a97388a918a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
