RapiDocRapiDocv14.2

API Documentation
Developers & Product Teams
Agree On.

Build breathtaking, high-performance interactive API references without framework lock-in. Powered by native Web Components, featuring an integrated API console, and self-hosted corporate security.

$npm install rapidoc
RapiDoc Dark Theme - Interactive API Documentation and Console

For Developers

✓
True Web Component: Zero framework lock-in. Works effortlessly in React, Vue, Angular, Svelte, or plain HTML.
✓
Curated MCP Server Generator: Export a Model Context Protocol manifest with JSON Schema tools, MCP safety annotations and a runnable TypeScript project, with transport-header stripping and token budget diagnostics.
✓
Integrated API Console: Test real endpoints directly with negative testing enabled — send custom headers & malformed payloads to test edge cases.
✓
Container Ready: Tiny ~664 KB bundle (183 KB gzipped) with zero SSR/Node overhead. Bundles directly into Browser and micro-containers with Go/Rust/Java/Python servers.
✓
Built In Mock Server: Prototype client frontends, simulate multi-status responses, and test network latency before backend APIs exist.

For Product Managers

✓
Agent-Ready with Token Budget Controls: Future-proof your APIs for AI assistants (Claude, Cursor). Real-time token diagnostics slash prompt overhead by ~80% while shielding internal enterprise routes.
✓
Self-Hosted Corporate Data Security: Operates 100% in-browser with zero telemetry or outbound cloud leaks. Ideal for strict compliance and air-gapped VPCs.
✓
100% Brand Consistency: White-label fonts, header colors, logos, and light/dark modes with simple HTML attributes. No code forks required.
✓
3 Layout Modes for Every Reader: Deliver wiki-style references (Read Mode), fast technical exploration (View Mode), or focused endpoint catalogs.
✓
Zero SaaS Tax (100% MIT): No per-seat pricing, no paywalled interactive consoles, and no vendor lock-in.
0
Framework Lock-in
W3C Web Component: React, Vue, Svelte, or pure HTML
~183 KB
Ultra-Light Bundle
Gzipped single bundle (664 KB minified). Zero VDOM diffing overhead
100%
Private & Self-Hosted
Zero telemetry. Air-gapped and container ready
3
Layout Paradigms
View, Read, and Focused modes for all audiences
Visual Polish

Dark & Light Modes Done Right

RapiDoc provides pixel-perfect high-contrast dark and light themes out of the box, engineered for crystal-clear readability, WCAG AA compliance, and effortless enterprise brand pairing.

Uncompromising Engineering

Why Teams Choose RapiDoc Over Alternatives

Designed from the ground up for developer productivity, enterprise privacy, and product design flexibility.

Framework Agnostic

Native W3C Web Component Standard

Free of proprietary wrapper lock-in, complicated build steps, or framework runtime baggage. Drop a single <rapi-doc> custom element into React, Vue, Angular, Next.js, Nuxt, Astro, or plain vanilla HTML. Change attributes with JavaScript and it responds instantly.

No React Hydration OverheadZero Build StepUniversal Interoperability
Real DX

Built-in Console with Negative Testing

Execute API calls directly in the docs. Unlike rigid renderers that block invalid inputs, RapiDoc lets you test negative edge cases, corrupt payloads, and custom headers.

Zero Setup

In-Browser Mock Server

Frontend teams can prototype before the backend is built. Seamlessly intercepts in-page fetch() calls and generates realistic mock responses from OpenAPI examples or schemas with multi-status and latency simulation.

Explore Mock Server
Agent Ready

Curated MCP Server Generator

Convert OpenAPI specs into a Model Context Protocol manifest with JSON Schema tools, MCP safety annotations and a runnable TypeScript project. Skips internal and deprecated endpoints, strips transport headers and keeps a live budget of prompt context overhead.

Explore MCP Architecture
Microservices & Edge

Embedded in Micro-Servers & Containers

With its tiny bundle size and zero server-side rendering dependencies, RapiDoc is ideal for embedding into lightweight Docker containers, Go / Rust / Java backends, and IoT edge devices.

Ergonomics

Tree & Tabular Schema Folding

Choose between Tree and Table representation for deep schemas. All models and examples are auto-expanded by default, completely eliminating tedious 20-click accordions.

Enterprise Ready

100% Self-Hosted & Air-Gapped Security

Trusted by Fortune 500 corporations, defense, and fintech organizations. RapiDoc executes entirely client-side in the browser. No telemetry phoning home, no cloud vendor lock-in, and zero risk of proprietary internal API schemas leaking to third parties.

100% Offline CapableAir-Gapped VPC CompliantZero Cloud Telemetry100% MIT Open Source
Comparison

How RapiDoc Compares

From the reference to the whole portal: what each tool includes, and what needs a paid or hosted plan.

RapiDoc compared with Redocly, Scalar and Swagger
CapabilityRapiDocMIT · open sourceRedoclyScalarSwagger
API reference
How you add itWhat goes into your page
One web component<rapi-doc> in any framework or plain HTML, 183 KB gzipped, no dependencies
React app or standalone script
Script tag or framework packages
Standalone bundle or React component
Try it consoleCall the API from the docs
IncludedWith OAuth 2.0, PKCE and API keys
Replay, on paid plansNot in open-source Redoc
Included (API client)
Included (Try it out)
LayoutsOne reference, several audiences
Three render stylesRead, view and focused, plus <rapi-doc-mini> for one operation
Three-panel layout
Modern and classic layouts
One collapsible list
Mocking & workflows
Mock serverResponses before the backend exists
In the browser and standaloneRapiMock: examples, generated data, request validation, OAuth scope checks
On every paid plan
Open-source mock server
Swagger Studio (commercial)
Arazzo workflowsMulti-step API journeys
<rapi-flow>A diagram next to the reference, run step by step
Respect, in Redocly CLIRuns and lints them
Developer portal
Docs-as-code portalGuides, references and a catalog
RapiDoc PortalMarkdown, Markdoc and MDX guides, API catalog, versions, search
Redocly platformFrom $249 a month
Scalar DocsGuides and custom domains from Pro
Swagger PortalA separate paid product
Single sign-on (SSO) and access rulesPrivate APIs and partner docs
SSO with any OpenID Connect providerOkta, Entra ID, Google, Keycloak; per-page access rules, served by rapidoc serve on your servers
SSO and RBAC from the Scale plan
SSO on Business and Enterprise
SAML SSO on EnterpriseIn Swagger Studio
AI agents (MCP)Your API as tools for agents
MCP export and hostingExport a server from the browser, or host the tools at /mcp behind sign-in; llms.txt
MCP server and llms.txt on paid plans
Hosted MCP serversFrom the Pro plan
MCP server for Swagger StudioAnd MCP server generation from an API
Command lineChecks in CI and local preview
rapidoc CLIvalidate, lint, bundle, mock, and migrate from Redocly or Zudoku
Redocly CLIlint, bundle, Respect
Scalar CLI
SwaggerHub CLIPublishes APIs to Swagger Studio from CI
License and hosting
LicenseWhat you may do with it
MIT, every packageNo paid tier
Only Redoc and the CLI are MITEverything else is commercial
Only the core is MITDocs and MCP are on hosted plans
Only Swagger UI, Editor and Codegen are Apache 2.0Swagger Studio and Portal are commercial
Self-hostedYour servers, no third party
EverythingStatic files, or rapidoc serve with sign-in; no telemetry
Limited to basic RedocThe platform is hosted only
Limited to the reference, client and mockScalar Docs is hosted
Limited to the open-source toolsSwagger Studio self-managed on a paid plan
Included, open sourceLimited, the rest is commercialNeeds a paid or hosted planNot offered
Other products as described in their own documentation on November 23, 2026. Sources

Products change. If a cell is out of date, open an issue with a link to the page that shows it, and we will fix the table.

Get Up & Running

Zero Config, Instant Integration

Save this as a file and open it in a browser. The same element works in any framework.

HTML
index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
    <style>
      body { margin: 0; }
      rapi-doc { height: 100vh; }
    </style>
  </head>
  <body>
    <rapi-doc spec-url="https://rapidocui.com/specs/petstore.yaml"></rapi-doc>
  </body>
</html>

One script tag and one element. Nothing to install or build. Quickstart · React, Vue, Angular, Svelte · Without a CDN

Ready to Elevate Your API Documentation?

Join thousands of developers and enterprise organizations delivering lightning-fast, beautifully branded OpenAPI references.