tRPC

End-to-end typesafe APIs for TypeScript monorepos — call server procedures from the client without codegen.

tRPC lets a TypeScript client infer the input and output types of server procedures directly, so API changes surface as compile errors. There is no schema language or code generation step. It integrates with TanStack Query, Next.js and validators such as Zod.

Type
Library
Category
Backend
Maintainer
tRPC core team (Alex Johansson)
First released
2020
License
Open source (MIT)
Pricing
Open source
Level
Intermediate
Technologies
typescript, nodejs, react
GitHub stars
41,038
Weekly downloads
8,940,999 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What tRPC is used for

  • Full-stack TypeScript apps
  • Internal APIs in monorepos

Strengths

  • Full type safety without codegen
  • Great DX in monorepos
  • Lightweight

Limitations

  • TypeScript clients only
  • Not suited for public, language-agnostic APIs

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore