# GraphQL Yoga: 8.0 out of 10

A strong pick. 2nd of 10 in [RPC and GraphQL libraries](https://elestia.ai/opensource/api-layers/index.md).

GraphQL Yoga is The Guild's GraphQL server. It is built on the standard Fetch API, so it runs on Node, Bun, Deno, Cloudflare Workers and serverless platforms. It is actively maintained and has no published advisories. For a new GraphQL API it is the strongest general-purpose server today, unless you are already tied to Apollo's GraphOS tooling.

**Best for:** Teams building a GraphQL API that must run on any JS runtime or the edge, with plugins, subscriptions and federation included.

## Scores

- **Overall: 8.0** (likely 6.9 to 8.9)
  - Claude Opus 5.5 (7.5): Among GraphQL servers it is the strongest general pick today. It is well maintained and runs on any runtime, its use is growing faster than the median, and it has more dependent repositories than Apollo Server. Apollo stays better for teams that rely on GraphOS. For TypeScript-only apps that do not need GraphQL, tRPC or oRPC are simpler. The v6 breaking changes and thin independent validation keep it out of the 9 band.
  - GPT-6.2 Sol (8.4): Yoga is a strong first choice for a new GraphQL service that needs subscriptions or portable hosting. Its active release history and documented integrations make it a good long-term bet, while tRPC offers a simpler route when one team controls both ends in TypeScript and only needs RPC. The range reflects limited independent production evidence for Yoga 6 and a throughput advantage for Mercurius in older Fastify benchmarks.
- **Needed by many: 5.2** (likely 4.1 to 6.2)
  - Claude Opus 5.5 (5.0): Only teams that serve a GraphQL API need a GraphQL server. That is a sizeable minority of backend JS work, and many TypeScript full-stack apps now pick RPC instead. Yoga works on every runtime and framework, so it covers the whole GraphQL-server niche rather than one corner of it.
  - GPT-6.2 Sol (5.3): GraphQL serves a sizeable group of API developers, particularly teams whose clients need different views of the same data. Yoga can serve that group across several JavaScript runtimes and frameworks. Postman reports GraphQL use at 33% among its API respondents, a sample that gives only an indirect estimate of demand among JavaScript and TypeScript developers.
- **Helps a lot: 8.3** (likely 7.2 to 9.2)
  - Claude Opus 5.5 (8.0): It is a full-featured server: subscriptions over SSE and WebSocket, uploads, GraphiQL, the Envelop plugin system (response cache, rate limits, depth limits), federation, and good TypeScript types. One independent production write-up measured lower latency than Apollo Server. The gaps are no JIT compilation and less third-party tooling than Apollo's GraphOS. Benchmarks are mostly self-published, which keeps the range at two points.
  - GPT-6.2 Sol (8.5): Yoga 6.1.0 combines a portable GraphQL handler with subscriptions, GraphiQL, error masking, and a mature plugin system. Its TypeScript declarations and versioned examples give developers and coding agents a clear setup to follow, while schema-derived resolver types usually take an added code generation step. In an independent in-memory Node.js benchmark, Yoga 5 generally beat Apollo Server 4 on queries and trailed Mercurius. The benchmark predates Yoga 6 and leaves current production throughput uncertain.
- **Holds up over time: 8.2** (likely 7.1 to 9.1)
  - Claude Opus 5.5 (8.0): The repository had 300 commits and 156 package releases in the last year, and 197 contributors. The issue backlog is small for its size: 93 open against 671 closed. The Guild funds the work through its commercial Hive product. The v6 major brought real breaking changes (Node 22 minimum, new logger, moved exports), which lowers the score a little.
  - GPT-6.2 Sol (8.3): The Guild maintains Yoga as part of its Hive stack, and the main npm package shipped 22 versions in the past year. A user-reported Next.js regression received a same-day dependency fix that Yoga incorporated in 6.0.1. Yoga 6 changed the logging API and dropped older Node.js and GraphQL.js versions, with a migration guide covering the changes. One fast fix gives limited evidence about typical issue turnaround, and the number of people who can publish remains unverified.
- **Used widely: 6.5** (likely 5.4 to 7.5)
  - Claude Opus 5.5 (7.0): Downloads grew from 2.5M to 11.8M per four weeks, a ratio of 4.7 against the 4.1 median, so it is gaining ground. Its 10,200 dependent repositories are the most of any GraphQL server in the bundle (Apollo Server has 5,993). Part of the download count comes from transitive installs by Hive Gateway, GraphQL Mesh and the NestJS driver.
  - GPT-6.2 Sol (5.9): Four-week installs rose from 2.50 million to 11.84 million, or 4.74×, ahead of the 4.1× catalog baseline and Apollo Server's 2.66×. Ecosyste.ms found 10,200 dependent repositories, ahead of Apollo Server and tRPC in the sample. RedwoodJS installs Yoga as part of its framework, so some downloads reflect framework adoption, and automated reinstalls further blur the number of direct choices. Sparse social activity and uneven repository coverage leave the size of the user base uncertain.
- **Vouched for: 6.8** (likely 5.5 to 8.1)
  - Claude Opus 5.5 (6.5): Independent support exists: a 2026 comparison recommends it as the default for new projects, Rangle published a production migration, and frameworks such as NestJS and RedwoodJS ship Yoga drivers. Current survey data that breaks it out is thin, and Hacker News and Bluesky show almost no discussion. Much of the praise comes from The Guild itself, so the score stays below 8 and the range is wide.
  - GPT-6.2 Sol (7.1): RedwoodJS builds its GraphQL server on Yoga, and the public Tarkov.dev API uses it on Cloudflare Workers. NestJS lists Yoga as a third-party integration, and independent benchmarks show competitive Node.js performance on Yoga 5. Public production evidence for 6.1 itself is still thin, and the available survey measures GraphQL adoption more broadly.
- **Safe: 7.5** (likely 6.3 to 8.5)
  - Claude Opus 5.5 (7.5): It has no OSV advisories, an MIT licence, and v5.24 added a default limit on request body size. It brings in 12 direct dependencies, mostly from The Guild's own Envelop, graphql-tools and whatwg-node packages, so the attack surface is moderate but comes from one maintainer org. There is no OpenSSF Scorecard, so release hygiene cannot be checked, which widens the range.
  - GPT-6.2 Sol (7.4): GitHub lists two high-severity core advisories missing from the bundle's zero count, and Yoga 6.1.0 includes both fixes. A third advisory affects the optional GraphQL SSE plugin and was fixed in plugin version 4.1.0 on the day of disclosure. The core package is MIT-licensed, has 12 direct dependencies, and its GitHub release points to a verified signed commit. The missing OpenSSF Scorecard and limited visibility into npm publishing permissions keep the range wide.

## Good

- Runs unchanged on Node, Bun, Deno, Cloudflare Workers, Next.js and other platforms, because it is built on the WHATWG Fetch API.
- Ships subscriptions (SSE and WebSocket), file uploads, GraphiQL and federation support, and adds more through Envelop plugins.
- The Guild maintains it full-time and backs it with its commercial Hive platform, with frequent releases.
- It has more dependent repositories than any other GraphQL server in the category, and no published security advisories.

## Bad

- v6 dropped Node 18/20 and GraphQL 14/15, replaced the logger, and moved several helper exports to other packages, so upgrades take work.
- It has no built-in JIT query compilation, unlike Mercurius, and no Apollo Studio integration.
- Like any GraphQL server, it adds schema and resolver work that tRPC or oRPC avoid for TypeScript-only apps.
- It pulls in a sizeable tree of Guild packages (Envelop, graphql-tools, whatwg-node), and there is no OpenSSF Scorecard to judge it by.

## The numbers

- Downloads, 4 weeks: 12M
- In a year: ×4.7
- GitHub stars: 8.5k
- Commits, 12 months: 300
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/graphql-hive/graphql-yoga
- npm: https://www.npmjs.com/package/graphql-yoga

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
