Elestia Open Source Ratings
8.2

tRPC

A strong pick. 1st of 10 RPC and GraphQL libraries.

tRPC is the most widely used library for end-to-end typesafe RPC between a TypeScript server and a TypeScript client. Version 11 is mature and actively maintained, and it is a strong default when one team owns both ends of the app. For public APIs, or clients written in other languages, oRPC or GraphQL fits better, because tRPC's own OpenAPI output is still alpha.

Best for: Full-stack TypeScript teams, especially on Next.js with TanStack Query, who own both client and server and want types shared without code generation.

WebsiteGitHubnpm

Scores

Overall8.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

tRPC is a strong, well-maintained pick and the default for full-stack TypeScript apps where one team owns both ends. It loses ground for public or multi-language APIs, where oRPC (stable OpenAPI) or a GraphQL server fits better. oRPC's fast growth is a real competitive signal, which keeps tRPC from being the category's clear default.

GPT-6.2 Sol: 8.3, likely 7.3 to 9.3

tRPC is a strong choice for a new full-stack TypeScript app that can share router types and coordinate client and server releases. Its mature integrations, active maintenance and growing use make it easy to adopt. The ranking changes with the API contract. oRPC has the stronger OpenAPI story today, and GraphQL Yoga fits APIs whose clients need to select their own fields.

Needed by many5.9

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Many TypeScript web developers build full-stack apps where one team owns both client and server, which is tRPC's target. It is narrower than the whole category, though. It does not serve public APIs, clients in other languages, or teams that want GraphQL.

GPT-6.2 Sol: 5.8, likely 4.7 to 6.9

Typed APIs matter to a large group of full-stack developers, and tRPC works across several frameworks and runtimes. Its approach fits best when the client and server can share TypeScript types. The survey measures tool use, so the share of projects with that architecture is still an estimate.

Helps a lot8.3

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

v11 is polished: type inference, batching, SSE subscriptions, a first-class TanStack Query integration and many adapters. It has good docs, and AI coding agents write it well because it is so widely used. The limits: OpenAPI output is still alpha, and type checking slows down in big routers. oRPC now does the same core job and adds stable OpenAPI.

GPT-6.2 Sol: 8.5, likely 7.4 to 9.4

Stable v11.29.5 offers inferred procedure types, batching, subscriptions and a well-documented TanStack Query integration. The shipped coding-agent guides cover common tasks, and TypeScript checks procedure calls. Users report editor lag in large monorepos, and an oRPC-maintained benchmark found lower tRPC HTTP throughput in one synthetic workload. Performance depends on the application, and official OpenAPI generation remains in alpha.

Holds up over time8.1

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Activity is high: 559 commits, 39 GitHub releases and 45 npm versions in the last year. Open issues are few (55) against 1,329 closed, and the project has 578 contributors. Several core maintainers share the work, and new work such as OpenAPI is under way. The project is funded by sponsors rather than owned by a company, and oRPC competes for new users, which keeps this short of the top.

  • github commitsLastYear / releasesLastYear: 559 commits and 39 releases in the last year.
  • github openIssues / closedIssues: 55 open against 1,329 closed.
  • bsky.app/profile/nicklucas.dev/post/3mh2lwbldwc2u: A maintainer seeking feedback on the OpenAPI beta in March 2026.
  • trpc maintainers: Several core maintainers, funded by sponsors.

GPT-6.2 Sol: 8.2, likely 7.1 to 9.2

The repository logged 559 commits and 39 releases in a year, and the OpenAPI discussion shows maintainers fixing issues users reported. Multiple maintainers have handled releases, and GitHub Actions publishes current GitHub releases. The v10-to-v11 migration and the planned removal of the classic React Query integration show that major upgrades can take work. Public sponsorship is visible, while long-term staffing and typical issue turnaround are harder to gauge.

Used widely6.9

How many use it, and is that growing?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

@trpc/server had 32.4M downloads in the last 4 weeks, against 6.3M a year before. That ratio of 5.1 is above the 4.1 median, so it is gaining ground, though oRPC is growing much faster from a smaller base. It has 5,111 dependent repos and 40.8k stars, the most among the RPC peers. Starters such as create-t3-app inflate the downloads somewhat.

  • npm downloadsLast4Weeks: 32.4M now against 6.3M a year ago, a ratio of 5.1 against a 4.1 median.
  • dependents: 5,111 repos and 386 packages, far ahead of ts-rest and Connect.
  • peers oRPC downloads: oRPC grew 36x to 12.4M, a fast-rising rival.
  • github stars: 40.8k stars.

GPT-6.2 Sol: 6.3, likely 4.9 to 7.5

Four-week downloads rose from 6.3 million to 32.4 million, a 5.13× increase against the catalog median of 4.1×. That indicates a gain in download share, with faster growth for oRPC and Connect. Ecosyste.ms found 5,111 repositories and 386 packages, and tRPC tied GraphQL.js for the most Bluesky links in this group. Partial repository coverage and repeated automated installs leave the number of direct users uncertain.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth exceeded the catalog median.
  • dependents repos, packages: Ecosyste.ms observed 5,111 repositories and 386 npm packages.
  • peers downloadsLast4Weeks, downloadsSame4WeeksYearAgo, dependentRepos: oRPC and Connect grew faster. Apollo Server and Yoga had more indexed repositories.
  • github stars, bluesky posts, peers blueskyPosts: 40,844 stars and 11 Bluesky links show strong attention within the category.
Vouched for7.5

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Independent comparisons treat it as the established standard for type-safe RPC. It is the API layer of the T3 stack, is used in known production apps, and appears in the State of JS back-end frameworks question. No current survey satisfaction figure was found for it, and the independent sources are mostly blog comparisons, which keeps this below 8.

GPT-6.2 Sol: 8.0, likely 6.9 to 9.0

State of JavaScript 2025 reports 81% satisfaction, Documenso documents tRPC in its API architecture, and Create T3 App scaffolds it. Echobind's migration report describes less boilerplate and explains what its team gave up by leaving GraphQL. The strongest evidence comes from teams that control both ends of a TypeScript app, so confidence is lower for other setups.

Safe7.4

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

The server package has zero runtime dependencies and an MIT licence. Two high-severity advisories in the last 24 months (a WebSocket DoS, and prototype pollution in an experimental Next.js caller) were published with fixes. The OpenSSF Scorecard is 6.3, with zeros for pinned dependencies, token permissions and fuzzing.

  • npm dependencies: Zero runtime dependencies.
  • advisories: Two high-severity advisories, in April and December 2025.
  • scorecard: 6.3 overall; weak on Pinned-Dependencies and Token-Permissions.
  • github license: MIT.

GPT-6.2 Sol: 7.2, likely 6.0 to 8.3

The server package has zero runtime dependencies and a permissive MIT license. Both high-severity advisories had fixes by public disclosure, and the prototype-pollution fix was also backported to v10. OpenSSF scored the project 6.3, with weak workflow token permissions, dependency pinning and branch protection. The GitHub release is automated, while npm publisher access and package provenance remain unclear.

Good

  • Types flow from the server router to the client with no code generation or schema files.
  • Close TanStack Query v5 integration, plus adapters for Next.js, Express, Fastify, fetch and edge runtimes.
  • Very active: 39 releases and 559 commits in the last year from a team of several maintainers.
  • The server package has zero runtime dependencies, and it works with any Standard Schema validator (Zod, Valibot, ArkType).

Bad

  • Only useful when both client and server are TypeScript, so it is a poor fit for public or multi-language APIs.
  • Official OpenAPI generation (@trpc/openapi) is still an alpha and skips subscriptions, while oRPC ships OpenAPI as stable.
  • Client and server are tightly coupled, which makes independent deploys and versioning harder across teams.
  • Users report type-check slowdowns as routers grow, and production errors that are hard to debug.

The numbers

npm downloads, 4 weeks
32M ×5.1 in a year
GitHub stars
41k
Commits, 12 months
559
npm version
11.29.5 Nov 2026
Versions, 12 months
45
Advisories, 24 months
2 of 2 ever
OpenSSF Scorecard
6.3 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (trpc/trpc), npm (@trpc/server), OSV and the OpenSSF Scorecard.

RPC and GraphQL libraries

  1. 8.2tRPC
  2. 8.0GraphQL Yoga
  3. 7.9Pothos
  4. 7.8oRPC
  5. 7.6GraphQL.js
  6. 7.5Connect
  7. 7.2Apollo Server
  8. 6.9Mercurius
  9. 5.0TypeGraphQL
  10. 1.7ts-rest
Compare all 10 on six scores