# sangria-graphql/sangria

Scala GraphQL implementation

Repository: https://github.com/sangria-graphql/sangria
Canonical: https://ross.abutalabs.com/products/sangria
Homepage: https://sangria-graphql.github.io
Language: Scala
License: Apache-2.0
License Family: permissive
Topics: sangria, graphql, scala, api
Last push: 2026-08-20T08:14:39+00:00

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

## Adoption (not part of the score)
Stars 1961, forks 219 (observed 2026-08-28T04:05:59.429020+00:00)

## What it is
Sangria is a spec-compliant GraphQL implementation library for Scala, providing schema definition, query parsing, validation, and execution. It integrates with HTTP servers like akka-http and Play, and works with tools such as Apollo, Relay, and GraphiQL.

## Use cases
- build a graphql server in scala
- define and execute graphql schemas on the jvm
- serve graphql queries with akka-http or play
- integrate graphql with relay or apollo clients
- parse and validate graphql queries
- implement graphql subscriptions and deferred execution

## When to choose
- you are building a GraphQL API in Scala or on the JVM
- you need a mature, spec-compliant GraphQL engine with rich type-system features
- you want integration with Scala ecosystems like circe, akka-http, or Play

## When to avoid
- your stack is not Scala/JVM
- you want a batteries-included HTTP framework rather than a GraphQL library
- you need a JavaScript/TypeScript GraphQL server

## Facets
- artifact type: library
- maturity: stable
- function: graphql, api-framework, serialization
- domain: web-development, backend, apis, large-language-models
- platform: jvm
- tags: scala, graphql-server, schema, query-execution, spec-compliant

## Member repositories
- sangria-graphql/sangria (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.429020+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:05:39.812061+00:00, confidence not recorded.
  - readme: https://github.com/sangria-graphql/sangria (fetched 2026-08-28T04:05:59.429020+00:00, sha 2d87361148dc)
  - homepage: https://sangria-graphql.github.io (fetched 2026-08-29T10:45:35.980182+00:00, sha 0a820d6f43ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
