Elestia Open Source Ratings

RPC and GraphQL libraries

Define an API with types and serve it, as remote procedure calls or as GraphQL. We rate 10; tRPC leads with 8.2 out of 10.

8.2tRPCFull-stack TypeScript teams, especially on Next.js with TanStack Query, who own both client and server and want types shared without code generation.5.98.38.16.97.57.4
8.0GraphQL YogaTeams building a GraphQL API that must run on any JS runtime or the edge, with plugins, subscriptions and federation included.5.28.38.26.56.87.5
7.9PothosTypeScript teams building a GraphQL API who want inferred types without decorators or codegen, especially with Prisma or Drizzle.4.08.57.74.66.37.8
7.8oRPCTypeScript teams that want tRPC-style types and also an OpenAPI/REST API, any frontend framework, or contract-first development.6.18.37.26.05.87.1
7.6GraphQL.jsGraphQL server, tooling and framework authors, and teams that want spec-exact GraphQL execution under any server.5.17.88.18.08.28.6
7.5ConnectTeams that share a Protobuf API between a TypeScript front end or Node service and backends in Go, Rust, Java or other languages.4.37.97.95.16.88.2
7.2Apollo ServerTeams building GraphQL APIs or federated subgraphs on Node.js that use Apollo's tooling (GraphOS, Router, Studio) or NestJS's Apollo driver.4.57.57.06.17.37.1
6.9MercuriusTeams already on Fastify (or NestJS with the Fastify adapter) that want a fast GraphQL server with subscriptions, caching and JIT built in.3.67.67.14.45.86.7
5.0TypeGraphQLTeams that already use class-and-decorator TypeScript, often with class-validator or TypeORM, and want their GraphQL schema built the same way.3.95.74.15.24.85.9
1.7ts-restTeams that already run ts-rest and need time to plan a move to oRPC or to a fork. It is not for new projects.5.25.30.63.93.05.2

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
tRPC32M×5.141k559Nov 20262
GraphQL Yoga12M×4.78.5k300Nov 20260
Pothos2.7M×5.52.6k1kNov 20260
oRPC12M×365.8k938Nov 20261
GraphQL.js282M×3.420k645Nov 20260
Connect35M×151.8k145Oct 20260
Apollo Server16M×2.714k52Nov 20262
Mercurius1.4M×4.02.5k70Nov 20262
TypeGraphQL4.3M×3.78.1k24Feb 20260
ts-rest4M×4.73.3k1Mar 20250