{
 "kind": "tool",
 "slug": "mdx-js",
 "path": "tools/mdx-js/",
 "name": "MDX",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Markdown, editors and content",
   "tools/content-editors/"
  ]
 ],
 "lead": "Write JSX directly in Markdown for rich, interactive content and documentation.",
 "chips": [
  {
   "label": "Markdown, editors and content",
   "path": "tools/content-editors/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @mdx-js/react"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/mdx-js/mdx"
  },
  {
   "label": "Website",
   "href": "https://mdxjs.com"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/mdx-js/mdx"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 20, 2026",
   "note": "Latest GitHub release Aug 29, 2025. ",
   "src": "https://github.com/mdx-js/mdx"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "65 projects",
   "status": "info",
   "sub": "#10 of 149 in its category",
   "note": "Dependency in 65 public GitHub projects set up for AI coding agents that we scanned (1.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "6 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What MDX does",
   "parts": [
    {
     "t": "prose",
     "text": "Write JSX directly in Markdown for rich, interactive content and documentation."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "MDX popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "73",
       "of": "/ 100",
       "l": "Gid Score, #266 overall"
      },
      {
       "n": "33.8M",
       "l": "downloads a week, npm"
      },
      {
       "n": "19.9K",
       "l": "GitHub stars"
      },
      {
       "n": "65",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How MDX is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "MDX is a dependency in 65 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.3% of the 4,867 JavaScript/TypeScript ones), #10 of 149 in markdown, editors and content.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 119; those are left out of every share on this page.",
      "The most used alternative in our scan is react-markdown (248 projects).",
      "Projects that use it most often also use clsx (66.2%), remark-gfm (46.2%), React (76.9%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "40 projects, 1.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "39 projects, 1.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "25 projects, 1.0%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "11 projects, 3.3%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "9 projects, 1.9%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "6 projects, 2.2%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "5 projects, 1.1%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 66.2% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 46.2% of its projects",
       "v": "remark-gfm",
       "path": "tools/remark-gfm/"
      },
      {
       "l": "In 76.9% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 50.8% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 95.4% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 49.2% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 35.4% of its projects",
       "v": "jsdom",
       "path": "tools/jsdom/"
      },
      {
       "l": "In 33.8% of its projects",
       "v": "next-themes",
       "path": "tools/next-themes/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about MDX",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/unifiedjs",
        "Open Collective: https://opencollective.com/unified",
        "thanks.dev: https://thanks.dev/u/gh/mdx-js",
        "25 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "react-modernization: Upgrade React applications to latest versions, migrate from class components to hooks, and adopt concurrent features. Use when modernizing R",
        "react-native-dev: React Native and Expo development guide covering components, styling, animations, navigation, state management, forms, networking, performan",
        "react-expert: Use when building React 18+ applications in .jsx or .tsx files, Next.js App Router projects, or create-react-app setups. Creates components,",
        "react-vite-dashboard: Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready pattern",
        "react-composition-patterns: React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component librarie",
        "react-hook-form: React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, the subscrib"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Marked vs MDX",
         "note": "used together in 10 projects",
         "path": "tools/compare/marked-vs-mdx/"
        },
        {
         "text": "react-markdown vs MDX",
         "note": "used together in 13 projects",
         "path": "tools/compare/react-markdown-vs-mdx/"
        }
       ]
      },
      {
       "title": "More in Markdown, editors and content",
       "path": "tools/content-editors/",
       "items": [
        {
         "text": "remark-gfm",
         "path": "tools/remark-gfm/"
        },
        {
         "text": "Jinja2",
         "path": "tools/jinja2/"
        },
        {
         "text": "gray-matter",
         "path": "tools/gray-matter/"
        },
        {
         "text": "Tiptap",
         "path": "tools/tiptap/"
        },
        {
         "text": "Shiki",
         "path": "tools/shiki/"
        },
        {
         "text": "highlight.js",
         "path": "tools/highlight-js/"
        },
        {
         "text": "markdown-it",
         "path": "tools/markdown-it/"
        },
        {
         "text": "Pygments",
         "path": "tools/pygments/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "MDX",
       "me": true,
       "facts": [
        "MIT",
        "Gid 73",
        "33.8M/wk"
       ]
      },
      {
       "name": "react-markdown",
       "why": "React component for rendering markdown with customizable component handling.",
       "path": "tools/react-markdown/",
       "facts": [
        "MIT",
        "Gid 83",
        "61.6M/wk"
       ]
      },
      {
       "name": "Marked",
       "why": "Fast, efficient markdown parser for converting markdown to HTML.",
       "path": "tools/marked/",
       "facts": [
        "MIT",
        "Gid 84",
        "138M/wk"
       ]
      }
     ],
     "more": "Compare MDX with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @mdx-js/react"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for MDX yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @mdx-js/react"
  ],
  [
   "Category",
   "Markdown, editors and content"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "73.2"
  ],
  [
   "Rank in category",
   "#10 of 149"
  ],
  [
   "GitHub",
   "mdx-js/mdx"
  ],
  [
   "Last change",
   "Nov 20, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/mdx-js.png"
}