Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

tRPC

Build end-to-end typesafe APIs with TypeScript without code generation.

HTTP servers and APIs npm MIT

Used in agent projects
60
0.5% of 12,697 public repos built with AI coding agents
Rank in http servers and apis
#15 of 30
by use in those projects
Downloads
5.5M
npm, last 7 days, @trpc/server
GitHub stars
40.7K
last push Oct 10, 2026

How tRPC is used

tRPC is a dependency in 60 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #15 of 30 in http servers and apis. The most used alternative there is Express. Projects that use it most often also use Zod (98.3%), TanStack Query (93.3%), superjson (78.3%).

Often used with tRPC

Zod98.3% of tRPC projects · 5.8× more than average
TanStack Query93.3% of tRPC projects · 9.7× more than average
superjson78.3% of tRPC projects · 187.7× more than average
clsx71.7% of tRPC projects · 4.0× more than average
Tailwind Merge71.7% of tRPC projects · 4.3× more than average
Class Variance Authority63.3% of tRPC projects · 4.5× more than average
Next.js75.0% of tRPC projects · 3.3× more than average
Radix UI55.0% of tRPC projects · 4.6× more than average

By coding agent

Claude Code0.7% of projects set up for it
Cursor0.9% of projects set up for it
GitHub Copilot0.7% of projects set up for it
OpenCode1.6% of projects set up for it

Share of public repos configured for each agent that list tRPC as a dependency.

Install

Packagenpm install @trpc/server
Packages counted@trpc/client, @trpc/server, @trpc/react-query, @trpc/next, @trpc/tanstack-react-query
Main stacksNext.js (43), TypeScript / JavaScript (15), React Native / Expo (1), Rust (1)
Example projectskovrichard/catalyst, amelioro/ameliorate, awslabs/nx-plugin-for-aws, juanfran/tapiz, TokenRollAI/fast-mvp

Alternatives to tRPC

All http servers and apis

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Express npm
Fast, unopinionated minimalist web framework for Node.js.
822 (6.5%) 142M 69.6K MIT
Uvicorn pypi
Lightning-fast ASGI server for running async Python web applications.
544 (4.3%) 13M 11K —
FastAPI pypi
High-performance Python web framework with automatic API docs and async support.
537 (4.2%) 107M 103K —
cors npm
Express/Node.js middleware for handling Cross-Origin Resource Sharing.
422 (3.3%) 86.8M 6,195 MIT
python-multipart pypi
Streaming multipart parser for handling file uploads in Python web frameworks.
217 (1.7%) 92.8M 536 —
Flask pypi
Lightweight Python web framework for building web applications and APIs.
174 (1.4%) 40.9M 75K —
Hono npm
Ultrafast web framework for edge runtimes built on Web Standards.
136 (1.1%) 73.9M 32.5K MIT
express-rate-limit npm
Express middleware for rate limiting API requests by IP address.
105 (0.8%) 57.6M 3,311 MIT
Is tRPC right for your project? Ask AgentGid →