rapidoc weekly downloads statistics
By rapi-doc · npm · MCP servers
RapiDoc: interactive API reference web components for OpenAPI and Arazzo (<rapi-doc>, <rapi-doc-mini>, <rapi-flow>), with Try, an in-browser mock and MCP server export
rapidoc has 90,526 recorded weekly downloads on npm, an increase of 12.4% over the past 30 days, ranking #655 of 3,247 tracked listings.
About rapidoc
RapiDoc
Custom Element for OpenAPI / Swagger Spec Viewing
RapiDoc is a fast, responsive, and customizable Web Component that renders beautiful, interactive API documentation from OpenAPI (Swagger) specifications.
Features
- OpenAPI Support: Full support for OpenAPI 3.0.x, 3.1.x, and Swagger 2.0.
- Framework Agnostic: Works with plain HTML, React, Vue, Angular, Svelte, or Lit.
- Built-in API Console: Call and test APIs directly from the documentation.
- Usability First:
- Models and examples expanded by default — no endless clicking to reveal schemas.
- Pre-populated sample data in request fields.
- Side-by-side request and response view for quick comparison.
- Branding & Theming:
- Dark and Light themes out of the box.
- Easily customizable brand colors, typography, logos, and header styling.
- Customizable Layouts:
- Three distinct rendering styles:
read,view, andfocused. - Inject custom content using web component slots (
fixed-header,overview,servers,auth).
- Three distinct rendering styles:
- Fast & Lightweight: Built using Lit with zero unnecessary overhead.
Quick Usage
Include the script in your HTML page and use the <rapi-doc> custom element:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
</head>
<body>
<rapi-doc
spec-url="https://petstore3.swagger.io/api/v3/openapi.json"
color-scheme="dark"
render-style="read"
></rapi-doc>
</body>
</html>
Repository Architecture
This repository is a monorepo built on npm workspaces (packages/*); the sites in sites/ are built from it:
rapidoc/
├── packages/
│ ├── rapidoc/ # Core web component library (npm "rapidoc"): <rapi-doc>, <rapi-doc-mini>
│ │ ├── src/ # Lit 3 source; each folder has a README.md contract
│ │ ├── dist/ # rapidoc-min.js and rapidoc-flow-min.js ("rapidoc/flow"), both for browsers
│ │ ├── vite.config.mjs # Browser bundle build
│ │ └── vite.config.flow.mjs # <rapi-flow> bundle build
│ │
│ ├── rapidoc-prerender/ # @rapidoc/prerender: build-time renderer (pre-rendered <rapi-doc>, sidebar HTML) for Node
│ ├── rapidoc-mcp/ # @rapidoc/mcp: MCP manifest builder, runtime and project writer for Node
│ │
│ ├── rapidoc-cli/ # @rapidoc/cli, the `rapidoc` command: init, dev, build, serve, mock, validate, migrate
│ ├── rapidoc-portal/ # @rapidoc/portal: docs-as-code developer portal for OpenAPI and Markdoc (Astro)
│ ├── rapidoc-server/ # @rapidoc/server: serves a built portal with OpenID Connect sign-in and access rules
│ ├── rapidoc-mock/ # @rapidoc/mock: mock server for a portal's APIs, with OAuth scope checks
│ └── create-rapidoc/ # create-rapidoc: scaffolds a new portal (npm create rapidoc)
│
├── sites/ # The RapiDoc sites, built with RapiDoc Portal
│ ├── rapidoc/ # rapidocui.com: docs, feature pages, examples, tests
│ │ └── public/
│ │ ├── specs/ # Public showcase specs (used by /examples)
│ │ └── specs-test/ # Internal edge-case specs
│ │ └── parser/ # Malformed and invalid specs for validation tests
│ ├── rapi-flow/ # flow.rapidocui.com
│ ├── rapi-mock/ # mock.rapidocui.com
│ ├── rapi-portal/ # portal.rapidocui.com
│ └── shared/ # Header, footer, themes and the element reference all four use
│
├── tests/ # See tests/README.md
│ ├── unit/ # Node test runner: parser, schema, templates, static renderer
│ ├── component/ # Lit component tests
│ ├── e2e/ # Functional tests in a headless browser (playwright-core)
│ ├── perf/ # Spec parsing and rendering benchmarks
│ ├── fixtures/ # Shared specs and the HTML test harness
│ └── helpers/ # Test server and browser helpers
│
├── scripts/ # Build info capture, demo prerender, test loader
├── docker/ # Dockerfile and Nginx config for hosting RapiDoc
├── brand/ # Logo SVGs and usage notes
├── package.json # Monorepo root: npm workspaces (packages/*) and scripts
├── AGENTS.md # Guidance for contributors and coding agents
└── README.md
Development & Build Instructions
Prerequisites
- Node.js:
>= 22.12.0(or Bun) - npm (or
bun)
1. Installation
Clone the repository and install dependencies across all workspaces:
git clone https://github.com/rapi-doc/RapiDoc.git
cd RapiDoc
npm install
2. Development Server
Start rapidocui.com locally, with its documentation and interactive examples:
npm run dev:rapidoc-site
- Open
http://localhost:4329in your browser.npm run devstarts all four sites side by side instead. - The pages load the built bundle (
/assets/rapidoc-min.js): after changingpackages/rapidoc/src/, runnpm run build:rapidoc(ornpm run build:rapidoc:devfor unminified code withconsole.*logging and source maps) and reload.
3. Build Process
Core Library Production Build (npm run build:rapidoc)…
Description from the npm listing.
- API
- Custom Element
- JSON-Schema
- Mock Server
- OpenAPI
- OpenAPI Specification
- REST
- Web Component
- api-documentation
- api-reference
- arazzo
- documentation
- mcp
- openapi 3.1
- openapi explorer
- openapi parser
- openapi preview
- openapi renderer
- openapi themes
- openapi ui
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (128)Similar npm MCP servers plugins
All 20 rapidoc alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/rapidoc. First seen Nov 25, 2026; last successful collection Dec 6, 2026. See the methodology.