# hashicorp/next-mdx-remote

Load MDX content from anywhere

Repository: https://github.com/hashicorp/next-mdx-remote
Canonical: https://ross.abutalabs.com/products/next-mdx-remote
Language: TypeScript
License: MPL-2.0
License Family: copyleft
Archived: true
Last push: 2026-03-26T06:02:26+00:00

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

## Adoption (not part of the score)
Stars 3073, forks 147 (observed 2026-08-28T04:07:41.657943+00:00)

## What it is
next-mdx-remote is a set of lightweight utilities for loading and rendering MDX content in Next.js from any remote source (database, CMS, API) as serialized data rather than local file imports. It provides a serialize function for server-side processing and an MDXRemote component for client-side hydration.

## Use cases
- render mdx content fetched from a cms or database in next.js
- load markdown/mdx from a remote source instead of local imports
- parse frontmatter from mdx content in getStaticProps
- render mdx with custom react components in next.js pages
- build a blog with mdx content stored outside the filesystem

## When to choose
- you use Next.js and need to render MDX from non-file sources like a headless CMS or database
- you want server-side serialization of MDX with client-side hydration and custom components
- you need optional frontmatter parsing built into the MDX pipeline

## When to avoid
- you are starting a new project - the repository is archived and no longer maintained
- you use frameworks other than Next.js
- you need guaranteed long-term support or security updates

## Facets
- artifact type: library
- maturity: abandoned
- function: markdown, serialization, ssr, templating
- domain: web-development, frontend, documentation, cms
- platform: -
- tags: mdx, nextjs, react, static-generation, archived, nodejs, web-server

## Member repositories
- hashicorp/next-mdx-remote (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.657943+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-30T07:27:56.886929+00:00, confidence not recorded.
  - readme: https://github.com/hashicorp/next-mdx-remote (fetched 2026-08-28T04:07:41.657943+00:00, sha 6e8b83a1e551)
  - registry_npm: https://registry.npmjs.org/next-mdx-remote (fetched 2026-08-29T09:43:24.399351+00:00, sha fa900bd09f17)
- Data as of 2026-08-30T08:39:29.467469+00:00.
