oRPC
A strong pick. 4th of 10 RPC and GraphQL libraries.
oRPC is a TypeScript RPC library that combines tRPC-style end-to-end types with OpenAPI output, contract-first development and clients for React, Vue, Svelte and Solid. It is stable (v1), very active and growing fast. For a new project it is a strong pick, but it rests mostly on one lead developer and has less proof in production than tRPC.
Best for: TypeScript teams that want tRPC-style types and also an OpenAPI/REST API, any frontend framework, or contract-first development.
Scores
Overall7.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
oRPC is a well-built, fast-moving TypeScript RPC library. It is clearly the best choice when you also need OpenAPI or clients beyond React, and it is a credible alternative to tRPC in general. It stays below the category default because it relies on one lead developer, has a shorter production record and a smaller ecosystem than tRPC. Its fast growth and steady v1 track record keep the score high.
- npm downloadsLast4Weeks: Fastest growth among peers
- thoughtworks.com/radar/tools/orpc: Industry radar recognition
- blog.logrocket.com/trpc-vs-orpc-type-safe-rpc: Pick oRPC for OpenAPI and multi-framework needs
- peers tRPC: tRPC has much larger reach and ecosystem
GPT-6.2 Sol: 8.1, likely 7.0 to 9.0
oRPC is a strong pick when one TypeScript API needs both typed RPC and documented REST, a combination that gives it a practical edge over tRPC for those teams. tRPC remains the more established choice for apps that only need shared TypeScript RPC, and Connect fits teams standardized on Protobuf. Stable backports and documented migrations support choosing oRPC today, while concentrated maintenance and the upcoming v2 upgrade keep it short of a category default.
- docs.openjii.org/developers/design-decisions/orpc-migration-adr: Shows the practical value and costs of one contract across RPC and REST clients.
- github.com/middleapi/orpc/releases/tag/v1.16.4: Confirms the current stable release and continued fixes.
- peers tRPC, Connect, ts-rest: tRPC has greater visible adoption, Connect is active, and ts-rest is archived.
- connectrpc.com: Connect provides Protobuf and gRPC interoperability.
- orpc.dev/docs/migrations/from-v1: The planned major upgrade changes RPC compatibility.
Needed by many6.1
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Typed APIs between a TypeScript client and server are a common need in full-stack web apps. oRPC also covers OpenAPI/REST consumers, so it reaches further than a pure RPC library. It still serves only TypeScript-on-both-ends or OpenAPI use cases, not GraphQL.
- thoughtworks.com/radar/tools/orpc: Works with existing Express, Fastify, Hono and Next.js apps.
- github.com/middleapi/orpc: Runs on many runtimes and frontend frameworks.
GPT-6.2 Sol: 6.2, likely 5.1 to 7.3
Typed APIs serve a large group of JavaScript backend and full-stack developers. REST support and adapters for several runtimes widen oRPC's fit. Its main benefit applies to TypeScript teams defining procedure-based APIs, and surveys measure backend work more directly than demand for that workflow.
- 2025.stateofjs.com/en-US/usage: 7,261 respondents reported backend JavaScript work.
- v1.orpc.dev/docs/getting-started: Stable setup covers Node.js, Bun, Deno, and Cloudflare Workers.
- thoughtworks.com/en-us/radar/tools/orpc: Thoughtworks found it useful for adding typed APIs to existing frameworks.
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
Its feature set is rich: types for inputs, outputs and errors, built-in OpenAPI, contract-first mode, typed middleware, Date and File support, and many integrations. Its own benchmarks claim faster type checking and smaller bundles than tRPC, but no one has replicated them independently. Independent guides note that subscriptions and the React Query integration are less mature than tRPC's, and AI agents know its API less well.
- infoq.com/news/2025/12/orpc-v1-typesafe: v1 features and self-reported benchmarks against tRPC.
- pkgpulse.com/guides/orpc-vs-trpc-vs-hono-rpc-type-safe-apis-2026: Partial subscription support; less mature React Query integration.
- blog.logrocket.com/trpc-vs-orpc-type-safe-rpc: Comparison that favours oRPC for OpenAPI and non-React clients.
GPT-6.2 Sol: 8.5, likely 7.4 to 9.4
Stable v1 supports inferred or explicit contracts, runtime validation, typed errors, and OpenAPI generation. Developers report that explicit contracts improve editor feedback and give coding agents clearer API shapes. Large inferred routers can slow type checks, and conditional response types are a documented limit. The latest published throughput comparisons use v2 beta, leaving stable v1 performance less certain.
- v1.orpc.dev/docs/getting-started: Stable examples show typed procedures, validation, and client calls.
- v1.orpc.dev/docs/openapi/openapi-specification: Stable generator documents schema conversion and route metadata.
- oioannou.com/blog/orpc-contract-migration-factory: A team reports costly declaration builds and better autocomplete after adopting explicit contracts.
- reddit.com/r/nextjs/comments/1s0ltgk/migrated_from_server_functions_to_orpc_in_nextjs: A user reports clearer mutation shapes for coding agents.
- github.com/middleapi/orpc/issues/1377: Users describe difficulty typing one route with JSON and streaming responses.
- orpc.dev/docs/comparison: Current maintainer benchmarks measure v2 beta.
Holds up over time7.2
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
Activity is very high: 938 commits and 96 releases in the last year, and a release two days ago. Issues are handled well (25 open, 318 closed). v1 has stayed stable since April 2025. The main risk is concentration: one independent developer leads it, and it is funded by small sponsors and OSS programmes rather than a company.
- github commitsLastYear / releasesLastYear: 938 commits, 96 releases
- github openIssues / closedIssues: 25 open vs 318 closed
- infoq.com/news/2025/12/orpc-v1-typesafe: Created by independent developer unnoq.
- github.com/middleapi/orpc: Funded by GitHub Sponsors and Open Collective; 73 contributors.
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
The repository logged 938 commits and 96 releases in the past year across active branches, and stable v1 is still receiving backports. Sponsorship funds maintenance, and a reported CORS issue was fixed the next day. A single listed npm maintainer and the planned v2 wire format change leave more uncertainty about continuity and upgrade cost than tRPC's broader maintainer team.
- github commitsLastYear, releasesLastYear, contributors: 938 commits, 96 releases, and 73 contributors across the repository.
- github.com/middleapi/orpc/pull/2498: A November NestJS fix was backported to the stable branch.
- github.com/middleapi/orpc/issues/1661: The July CORS report was closed with a fix the next day.
- orpc.dev/sponsors: Public sponsorship supports fixes, reviews, and documentation.
- intel.aikido.dev/packages/npm/@orpc/server: Package metadata lists a single npm maintainer.
- orpc.dev/docs/migrations/from-v1: The v2 guide calls for upgrading RPC clients and servers together.
- github.com/trpc/trpc: tRPC lists three project leads.
Used widely6.0
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Downloads rose from 0.34M to 12.4M per 4 weeks, a ratio of about 36 against a median of 4.1. That is the fastest growth in the category. Part of the jump may come from other tools that install it, and ecosyste.ms has no dependents count to check this. Stars (5.8k) and social mentions remain far below tRPC's, so the number of projects that chose it directly is likely in the tens of thousands.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 12.4M vs 0.34M, about 36x growth
- github stars: 5,778 vs tRPC 40,844
- bluesky posts / hackerNews: Very little social discussion
GPT-6.2 Sol: 5.9, likely 4.4 to 7.3
Four-week installs rose to 12.4 million, about 36 times the prior year, against the catalog median of 4.1 times and tRPC's 5.1 times. tRPC still has a larger install base and more visible community activity. CI and downstream packages inflate installs, and GitHub stars cover the whole oRPC suite. npm indexes a few hundred published dependents, while missing ecosyste.ms coverage leaves the scale of direct adoption uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 12.4 million versus 343,322, against a 4.1-fold baseline.
- github stars, bluesky posts, hackerNews stories, peers: 5,778 stars and two Bluesky posts, versus tRPC's 40,844 stars and 11 posts.
- dependents: No comparable ecosyste.ms dependent count is available.
- npmjs.com/package/%40orpc/server?activeTab=dependencies: An npm snapshot lists 267 published dependent packages.
- techintrends.com/tools/orpc: Recent npm history shows growth across multiple weeks.
Vouched for5.8
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
Thoughtworks put it in the Assess ring of its Technology Radar in November 2025, InfoQ covered the v1 release, and independent comparison guides recommend it for OpenAPI needs. No well-known companies are named as production users. The State of JS 2025 survey mentions it only among write-ins.
- thoughtworks.com/radar/tools/orpc: Assess ring, Nov 2025; no longer on the current radar
- infoq.com/news/2025/12/orpc-v1-typesafe: Names no production adopters; reception described as measured
- pkgpulse.com/guides/orpc-vs-trpc-vs-hono-rpc-type-safe-apis-2026: Independent guide recommends it for OpenAPI use cases
GPT-6.2 Sol: 6.6, likely 5.4 to 7.8
openJII replaced ts-rest while preserving its deployed REST API, and ScreenshotOne migrated core dashboard actions. Supastarter uses oRPC in its TanStack Start kit, and Thoughtworks rated it Assess in 2025. State of JavaScript recorded 34 write-ins, leaving satisfaction and adoption across larger production teams less certain.
- docs.openjii.org/developers/design-decisions/orpc-migration-adr: A deployed NestJS, web, and mobile stack adopted oRPC.
- screenshotone.com/changelog/dashboard-actions-migrated-to-orpc: Production dashboard workflows migrated in March 2026.
- supastarter.dev/docs/tanstack-start/api/overview: The starter integrates oRPC with Hono and TanStack Query.
- thoughtworks.com/en-us/radar/tools/orpc: Thoughtworks placed oRPC in Assess for its integration strengths.
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: oRPC received 34 write-ins outside the main framework ratings.
Safe7.1
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.5
It has one moderate advisory, a Vary header injection in the CORS plugin, which was fixed in 1.14.8 and published with clear details. The licence is MIT. Its 11 dependencies are mostly the project's own @orpc packages. There is no OpenSSF Scorecard, and publishing likely depends on few people, which keeps the range open.
- advisories: 1 moderate advisory, fixed
- github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f: CORS Vary injection patched in 1.14.8
- npm dependencies / license: 11 dependencies, MIT
- scorecard: No Scorecard data
GPT-6.2 Sol: 7.1, likely 5.9 to 8.3
GitHub lists several advisories beyond the collector's single OSV entry, including serious RPC flaws in older builds. The reviewed advisories have fixes in stable v1, and the November server crash fix shipped on the day of disclosure. The MIT license is permissive, and GitHub Actions publishes with provenance. The server has 11 direct dependencies, mostly from the same project, and a single listed npm maintainer plus missing Scorecard coverage limit confidence.
- npm license, npm dependencies, scorecard, advisories total: MIT, 11 direct dependencies, no Scorecard, and one advisory in the collector.
- github.com/middleapi/orpc/security/advisories: Repository advisories cover the server and companion packages.
- github.com/middleapi/orpc/releases/tag/v1.16.3: November server crash patch shipped on disclosure day.
- github.com/middleapi/orpc/releases/tag/v1.15.2: September RPC denial-of-service fix shipped in stable v1.
- github.com/middleapi/orpc/releases/tag/v1.13.6: March critical RPC deserialization issue was patched.
- github.com/middleapi/orpc/blob/v1.16.4/.github/workflows/release.yaml: The release workflow publishes npm packages with provenance.
- github.com/middleapi/orpc/blob/v1.16.4/packages/server/package.json: Most direct dependencies are sibling oRPC packages.
- intel.aikido.dev/packages/npm/@orpc/server: One npm maintainer is listed.
Good
- It generates an OpenAPI 3.1 spec and a REST API from the same typed procedures, which tRPC cannot do.
- It works with any Standard Schema validator (Zod, Valibot, ArkType) and has TanStack Query clients for React, Vue, Solid and Svelte.
- It plugs into Express, Fastify, Hono, Next.js and NestJS, and runs on Node, Bun, Deno and Cloudflare Workers.
- It is very actively developed, with 938 commits and 96 releases in the last year and small, frequent patch releases on v1.
Bad
- Most of the work comes from one independent lead developer, funded by modest sponsorship.
- It has few named production adopters, and its performance claims come mostly from the project's own benchmarks.
- Its ecosystem, tutorials and community answers are smaller than tRPC's, and some guides call its subscription and React Query support less mature.
- Its frequent releases across many @orpc/* packages mean upgrades must keep the versions in sync.
The numbers
- npm downloads, 4 weeks
- 12M ×36 in a year
- GitHub stars
- 5.8k
- Commits, 12 months
- 938
- npm version
- 1.16.4 Nov 2026
- Versions, 12 months
- 47
- Advisories, 24 months
- 1 of 1 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (middleapi/orpc), npm (@orpc/server), OSV and the OpenSSF Scorecard.
RPC and GraphQL libraries
- 8.2tRPC
- 8.0GraphQL Yoga
- 7.9Pothos
- 7.8oRPC
- 7.6GraphQL.js
- 7.5Connect
- 7.2Apollo Server
- 6.9Mercurius
- 5.0TypeGraphQL
- 1.7ts-rest