next-mdx-remote
Load and render MDX from remote sources as data in Next.js applications.
Markdown, editors and content npm MPL-2.0
Used in agent projects
36
0.3% of 12,697 public repos built with AI coding agents
Rank in markdown, editors and content
#30 of 46
by use in those projects
Downloads
1.4M
npm, last 7 days, next-mdx-remote
GitHub stars
3,069
last push Mar 26, 2026
How next-mdx-remote is used
next-mdx-remote is a dependency in 36 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #30 of 46 in markdown, editors and content. The most used alternative there is react-markdown. Projects that use it most often also use Next.js (97.2%), Lucide React (80.6%), clsx (75.0%).
Often used with next-mdx-remote
| Next.js | 97.2% of next-mdx-remote projects · 4.3× more than average |
|---|---|
| Lucide React | 80.6% of next-mdx-remote projects · 4.1× more than average |
| clsx | 75.0% of next-mdx-remote projects · 4.2× more than average |
| gray-matter | 75.0% of next-mdx-remote projects · 89.8× more than average |
| remark-gfm | 75.0% of next-mdx-remote projects · 33.1× more than average |
| Tailwind Merge | 66.7% of next-mdx-remote projects · 4.0× more than average |
| Class Variance Authority | 63.9% of next-mdx-remote projects · 4.5× more than average |
| next-themes | 63.9% of next-mdx-remote projects · 7.3× more than average |
By coding agent
| Cursor | 0.8% of projects set up for it |
|---|---|
| Claude Code | 0.5% of projects set up for it |
| GitHub Copilot | 0.5% of projects set up for it |
| Gemini CLI | 1.1% of projects set up for it |
| OpenCode | 1.6% of projects set up for it |
Share of public repos configured for each agent that list next-mdx-remote as a dependency.
Install
| Package | npm install next-mdx-remote |
|---|---|
| Main stacks | Next.js (35), TypeScript / JavaScript (1) |
| Example projects | inboundemail/inbound, amirardalan/portfolio, thereactfoundation/react.foundation, nirholas/memescope-monday, metasal1/solana-web3-v2-demo |
Alternatives to next-mdx-remote
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| react-markdown npm React component for rendering markdown with customizable component handling. |
360 (2.8%) | 37.2M | 15.9K | MIT |
| remark-gfm npm Remark plugin adding GitHub Flavored Markdown support for tables and strikethrough. |
288 (2.3%) | 44.5M | 1,249 | MIT |
| Jinja2 pypi Fast and expressive template engine for Python with powerful flexibility. |
175 (1.4%) | 145M | 11.8K | — |
| Marked npm Fast, efficient markdown parser for converting markdown to HTML. |
148 (1.2%) | 83.8M | 37.2K | MIT |
| React Syntax Highlighter npm React component for syntax highlighting code with Prism.js or Highlight.js. |
110 (0.9%) | 7.8M | 4,674 | MIT |
| gray-matter npm Parser extracting YAML/JSON front matter from markdown and text files. |
106 (0.8%) | 10.6M | 4,490 | MIT |
| Tiptap npm Headless Vue/React rich text editor framework with customizable extensions. |
105 (0.8%) | 18.7M | 38.7K | MIT |
| Pygments pypi Syntax highlighting library for code in Python supporting hundreds of programming languages. |
97 (0.8%) | 239M | 2,213 | — |