# ExpediaGroup/graphql-kotlin

Libraries for running GraphQL in Kotlin

Repository: https://github.com/ExpediaGroup/graphql-kotlin
Canonical: https://ross.abutalabs.com/products/graphql-kotlin
Homepage: https://opensource.expediagroup.com/graphql-kotlin/
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: graphql, graphql-java, kotlin, graphql-server, schema-generator, federation, graphql-client, graphql-plugin, oss-portal-featured
Last push: 2026-08-21T15:16:27+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 2911, "days_push": 12, "days_rel": 12, "gap_med": 2.5, "n_releases_24m": 41}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1803, forks 381 (observed 2026-08-28T04:05:38.223193+00:00)

## What it is
A collection of Kotlin libraries built on top of graphql-java that simplify running GraphQL servers and clients. It includes schema generation from Kotlin code, lightweight HTTP clients based on Ktor and Spring WebClient, and federation support.

## Use cases
- build a graphql server in kotlin
- generate graphql schema from kotlin classes
- create a typed graphql client in kotlin
- implement graphql federation with kotlin
- serve a graphql api from a spring boot or ktor app

## When to choose
- you are building GraphQL APIs or clients on the JVM in Kotlin
- you want schema-first-free, code-first schema generation from Kotlin types
- you need Apollo Federation support in a Kotlin service

## When to avoid
- your project is in Java rather than Kotlin
- you need a non-JVM GraphQL stack
- you prefer schema-first SDL workflows over code-first generation

## Facets
- artifact type: library
- maturity: active
- function: graphql, graphql-client, api-framework, http-client, rpc
- domain: web-development, backend, apis, developer-tools
- platform: jvm, cross-platform
- tags: schema-generator, federation, graphql-server, ktor, spring, kotlin

## Member repositories
- ExpediaGroup/graphql-kotlin (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.223193+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-30T03:21:51.172624+00:00, confidence not recorded.
  - readme: https://github.com/ExpediaGroup/graphql-kotlin (fetched 2026-08-28T04:05:38.223193+00:00, sha b8febdd76b81)
  - homepage: https://opensource.expediagroup.com/graphql-kotlin/ (fetched 2026-08-29T11:00:40.773538+00:00, sha 6bca24deaedc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
