# rmosolgo/graphql-ruby

Ruby implementation of GraphQL

Repository: https://github.com/rmosolgo/graphql-ruby
Canonical: https://ross.abutalabs.com/products/graphql-ruby
Homepage: http://graphql-ruby.org
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, graphql, relay, rails, graphql-ruby, hacktoberfest
Last push: 2026-08-26T00:42:36+00:00

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

## Adoption (not part of the score)
Stars 5444, forks 1418 (observed 2026-08-28T04:09:18.218804+00:00)

## What it is
graphql-ruby is a Ruby implementation of the GraphQL specification for building GraphQL server APIs in Ruby and Rails applications. It provides schema definition, queries, mutations, subscriptions, and production hardening features like complexity limits, tracing, and authorization integration.

## Use cases
- add a graphql api to a rails app
- build a strongly-typed graphql server in ruby
- implement graphql subscriptions and mutations
- serve graphql queries from a ruby backend
- integrate graphql with apollo client or relay
- add rate limiting and complexity limits to a graphql api
- set up persisted queries and api versioning for graphql

## When to choose
- you're building a GraphQL API in Ruby or Rails
- you need Relay-compatible schemas and subscriptions
- you want battle-tested GraphQL tooling used by GitHub and Shopify
- you need query analysis, tracing, or authorization integration in Ruby

## When to avoid
- you're building a GraphQL client in JavaScript rather than a Ruby server
- your app doesn't use Ruby
- you need a REST-only API with no GraphQL layer
- you need the Pro features (persisted queries, versioning) without a commercial license

## Facets
- artifact type: library
- maturity: stable
- function: graphql, api-framework, web-framework, middleware, authorization, caching, rate-limiting, tracing, websocket
- domain: web-development, backend, apis
- platform: ruby, cross-platform
- tags: graphql-server, rails, relay, schema-definition, subscriptions, dataloader, api-versioning, persisted-queries, ruby, web-server

## Member repositories
- rmosolgo/graphql-ruby (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:18.218804+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-29T17:56:51.394059+00:00, confidence not recorded.
  - readme: https://github.com/rmosolgo/graphql-ruby (fetched 2026-08-28T04:09:18.218804+00:00, sha 7b276c91d826)
  - homepage: http://graphql-ruby.org (fetched 2026-08-29T08:51:56.891889+00:00, sha 388c4e4dcce8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
