# graphql/express-graphql

Create a GraphQL HTTP server with Express.

Repository: https://github.com/graphql/express-graphql
Canonical: https://ross.abutalabs.com/products/express-graphql
Language: TypeScript
License: MIT
License Family: permissive
Topics: graphql, express-graphql, express-middleware
Archived: true
Last push: 2023-03-05T00:10:53+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4047, "days_push": 1278, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6259, forks 520 (observed 2026-08-28T04:09:41.094736+00:00)

## What it is
express-graphql is the original official reference implementation of a GraphQL HTTP server middleware for Express (and Connect/Restify). It is now deprecated in favor of graphql-http and full-featured alternatives like graphql-yoga and apollo-server.

## Use cases
- serve a graphql api from an express app
- add graphql endpoint as express middleware
- run graphql queries over http in nodejs
- maintain a legacy express-graphql server
- migrate from express-graphql to graphql-http or graphql-yoga

## When to choose
- you are maintaining an existing codebase already built on express-graphql
- you need a minimal, well-understood graphql middleware for a legacy express app

## When to avoid
- starting a new project - use graphql-http, graphql-yoga, apollo-server, or mercurius instead
- you need subscriptions, file uploads, or @defer/@stream directives
- you want an actively maintained library

## Facets
- artifact type: library
- maturity: abandoned
- function: graphql, http-server, middleware, api-framework
- domain: web-development, backend, apis, developer-tools
- platform: -
- tags: express-middleware, deprecated, graphql-over-http, reference-implementation, nodejs, web-server

## Member repositories
- graphql/express-graphql (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:41.094736+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:46:31.096816+00:00, confidence not recorded.
  - readme: https://github.com/graphql/express-graphql (fetched 2026-08-28T04:09:41.094736+00:00, sha 1312278d0852)
  - registry_npm: https://registry.npmjs.org/express-graphql (fetched 2026-08-29T08:43:23.392074+00:00, sha e643b9b3c385)
- Data as of 2026-08-30T08:39:29.467469+00:00.
