# tRPC: 8.2 out of 10

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

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.

## Scores

- **Overall: 8.2** (likely 7.2 to 8.9)
  - Claude Opus 5.5 (8.0): 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): 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 many: 5.9** (likely 4.9 to 7.0)
  - Claude Opus 5.5 (6.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): 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 lot: 8.3** (likely 7.2 to 9.2)
  - Claude Opus 5.5 (8.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): 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 time: 8.1** (likely 7.1 to 9.1)
  - Claude Opus 5.5 (8.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.
  - GPT-6.2 Sol (8.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 widely: 6.9** (likely 5.7 to 8.0)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (6.3): 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.
- **Vouched for: 7.5** (likely 6.5 to 8.5)
  - Claude Opus 5.5 (7.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): 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.
- **Safe: 7.4** (likely 6.3 to 8.4)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.2): 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

- Downloads, 4 weeks: 32M
- In a year: ×5.1
- GitHub stars: 41k
- Commits, 12 months: 559
- Last npm release: Nov 2026
- Advisories, 24 months: 2
- Licence: MIT
- GitHub: https://github.com/trpc/trpc
- npm: https://www.npmjs.com/package/@trpc/server

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.
