Elestia Open Source Ratings
7.9

Pothos

A strong pick. 3rd of 10 RPC and GraphQL libraries.

Pothos is a plugin-based, code-first GraphQL schema builder for TypeScript. It gives strong type inference without decorators or code generation. It is the strongest current pick for building a GraphQL schema in TypeScript, but it only builds the schema: you serve it with GraphQL Yoga, Apollo Server or Mercurius.

Best for: TypeScript teams building a GraphQL API who want inferred types without decorators or codegen, especially with Prisma or Drizzle.

WebsiteGitHubnpm

Scores

Overall7.9

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

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Pothos is clearly the best pick for building a code-first GraphQL schema in TypeScript today. It beats TypeGraphQL on type inference and maintenance, and its usage is growing faster than the median. It is a schema builder, not a full server, and it relies heavily on one maintainer. Teams that do not need GraphQL are often better served by tRPC or oRPC.

GPT-6.2 Sol: 8.2, likely 7.0 to 9.1

I would pick Pothos over TypeGraphQL for a new project that wants a code-first GraphQL schema, given its resolver inference, plugin support, and faster release cadence. Its standard schema makes it a good fit with Yoga, while tRPC is a simpler fit for teams that need only TypeScript-to-TypeScript RPC. Smaller verified adoption and reliance on one lead maintainer keep it below the top tier for the full category.

  • pothos-graphql.dev/docs/guide/schema-builder: Typed schema definition produces a portable GraphQLSchema.
  • typegraphql.com/docs/getting-started: TypeGraphQL offers a class-and-decorator approach to the same schema-building job.
  • trpc.io/docs: tRPC provides end-to-end inference for TypeScript clients and servers.
  • pothos-graphql.dev/sponsors: Sponsor support and contributions are visible, with development concentrated in the lead maintainer.
  • npm latestPublishedAt, npm versionsLastYear, dependents, peers: Core shipped on November 20 after 12 versions in a year, with fewer indexed dependent repositories than TypeGraphQL or Yoga.
Needed by many4.0

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Pothos serves only TypeScript developers who build GraphQL servers code-first. That is a clear niche inside a category where many teams now pick RPC tools such as tRPC or oRPC. It does run on any runtime and works with any GraphQL server.

GPT-6.2 Sol: 3.9, likely 2.8 to 5.2

GraphQL is an established choice among API teams, and Pothos works across server frameworks. Its audience is narrower because it fits teams that want to author a GraphQL schema in TypeScript. Postman's survey measures GraphQL use among API professionals, so it gives only an indirect estimate of how many JavaScript and TypeScript developers need Pothos.

Helps a lot8.5

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

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

Pothos has excellent type inference without decorators, a minimal core and a deep set of official plugins for Prisma, Drizzle, Relay, DataLoader and auth. Independent comparisons rate it at or near the top of TypeScript GraphQL schema builders. The verbose builder syntax and the need for several plugins keep it short of a 9. Its docs publish an llms-full.txt, which helps AI coding agents.

GPT-6.2 Sol: 8.5, likely 7.3 to 9.4

Resolver inference and a broad plugin catalog make Pothos a strong code-first builder. An independent benchmark found little request-time overhead in its tested stacks, and 4.18.1 fixes a separate slowdown during schema builds. The compiler can catch mistakes in agent-written resolvers, but complex types can slow editor feedback and produce dense errors. The benchmark predates 4.18.1, and coding-agent accuracy was not measured.

Holds up over time7.7

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Activity is very high: about 1,000 commits and 130 releases last year, a release the day before the read, and 140 contributors. The v4 line has been stable for a long time. The main risk is that one lead maintainer does most of the work, and no company funding is visible.

  • github commitsLastYear: 1004 commits in the last year
  • github releasesLastYear: 130 releases; latest on 2026-11-20
  • github openIssues/closedIssues: 47 open vs 510 closed, so the issue backlog is well handled
  • hayes/pothos maintainership: Mostly led by one maintainer, Michael Hayes

GPT-6.2 Sol: 7.8, likely 6.4 to 8.8

Twelve core versions shipped in a year, and a reported Drizzle limitation drew a community patch that merged the next day. The v4 migration preserves v3 defaults through a compatibility option, though some plugin fixes require coordinated upgrades. Sponsors help support development, while contributions and visible publishing access remain concentrated. One quick merge gives limited evidence about typical response times.

Used widely4.6

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Downloads reached 2.7M in the last 4 weeks, up from 494k a year before. That 5.5x ratio is above the 4.1 median, so Pothos is gaining ground. Dependents (316 repos) and stars (2.6k) are well below TypeGraphQL and Yoga, so the number of projects that choose it is more modest than the downloads suggest.

  • npm downloadsLast4Weeks: 2,717,628 vs 494,024 a year ago, a 5.5x ratio
  • dependents: 316 repos and 77 packages, vs 7054 for TypeGraphQL
  • github stars: 2627 stars

GPT-6.2 Sol: 4.2, likely 2.9 to 5.6

Four-week downloads rose from 494,024 to 2.72 million, or 5.5× year over year. That exceeds the 4.1× catalog baseline and the growth ratios for TypeGraphQL and Yoga. Ecosyste.ms found 316 dependent repositories and 77 packages, with repository counts near Mercurius and far below TypeGraphQL and Yoga. Repeat installs, plugin-driven installs, and partial repository coverage leave the number of teams choosing Pothos uncertain.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 5.5× year-over-year download growth against a 4.1× baseline.
  • dependents, peers: 316 indexed repositories versus 341 for Mercurius, 7,054 for TypeGraphQL, and 10,200 for Yoga.
  • github stars, bluesky posts, hackerNews stories: 2,627 repository-wide stars, one Bluesky link post, and zero title-matched Hacker News stories.
  • raw.githubusercontent.com/hayes/pothos/7882d43/packages/plugin-prisma/package.json: The Prisma plugin declares core as a peer dependency, another route to a core install.
Vouched for6.3

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.5 to 7.0

Recent independent guides, such as Encore's 2026 guide, call Pothos the recommended default for code-first TypeScript GraphQL, and comparison write-ups rank it at the top. The README says Airbnb and Netflix use it, but that claim comes from the project itself. I found no current survey data and almost no Hacker News or Bluesky discussion.

GPT-6.2 Sol: 6.6, likely 5.3 to 7.7

Buildplace reports using Pothos in its backend, and the Hackers’ Pub API lists it and several plugins as dependencies. Prisma and GraphQL Yoga both show how to use it in their current docs, and an independent benchmark found low overhead in its test setup. Recent evidence of adoption at large organizations and broad satisfaction data are limited.

Safe7.8

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

No advisories have ever been published, the core has no dependencies besides the graphql peer, and the ISC licence is permissive. No Scorecard data exists, and releases appear to depend on a small number of publishers. That keeps the score from going higher.

  • advisories total: 0 advisories
  • npm dependencies: 0 dependencies
  • scorecard: No OpenSSF Scorecard data
  • npm license: ISC

GPT-6.2 Sol: 7.5, likely 6.1 to 8.7

Core uses the permissive ISC license and declares GraphQL.js as its only runtime peer dependency. OSV lists zero core advisories, and a November release fixed an authorization issue in the optional scope-auth plugin. Release automation requests npm provenance and configures a publishing token, while the available npm snapshot lists one collaborator. The missing Scorecard and lack of a published GitHub security policy limit confidence.

Good

  • Resolver arguments, parents and return types are inferred from plain TypeScript, with no decorators and no code generation step.
  • Official plugins cover Prisma, Drizzle, Relay, DataLoader, auth scopes, errors, validation and tracing.
  • The core has no runtime dependencies besides graphql, and its output is a standard schema that works with any GraphQL server.
  • It is maintained very actively, with about 1,000 commits and 130 package releases in the last year.

Bad

  • It only builds the schema, so you still need a separate server such as GraphQL Yoga or Apollo Server.
  • The fields: (t) => ({...}) builder style is verbose, and validation, DataLoader and directives each need a separate plugin.
  • Most of the work comes from one lead maintainer, so the project depends heavily on one person.
  • It serves only GraphQL, and many full-stack TypeScript teams now choose tRPC or oRPC instead of GraphQL.

The numbers

npm downloads, 4 weeks
2.7M ×5.5 in a year
GitHub stars
2.6k
Commits, 12 months
1k
npm version
4.18.1 Nov 2026
Versions, 12 months
12
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
ISC

Read on 21 November 2026 from GitHub (hayes/pothos), npm (@pothos/core), 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