Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Rapidoc CLI

MCP server by rapi-doc Verified · npm:@rapidoc

Runs the rapidoc command to build developer portals and to preview, validate, lint, bundle, mock and export OpenAPI specs as PDFs or MCP servers. It is for teams that publish API documentation from OpenAPI specs.

  • Score 90
  • 1.9k stars
  • 377 a week
  • MIT
  • Updated

Install Rapidoc CLI

Built from the published package, never by AI.

claude mcp add rapidoc-cli -- npx -y @rapidoc/cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Rapidoc CLI in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the rapidoc-cli block.

About

RapiDoc CLI is the rapidoc command from the RapiDoc family of open-source tools for OpenAPI and Arazzo. The source describes it as a way to preview, validate, lint and bundle specs, write PDFs, run the mock server, turn specs into MCP servers, and build developer portals. Portal commands include rapidoc dev, rapidoc build, rapidoc serve and rapidoc migrate.

The CLI is installed from the @rapidoc/cli npm package and runs through npx. A portal is built from a rapidoc.config.yaml file that points to OpenAPI specs in a specs folder and Markdown guides in a docs folder. The output is a static site, and rapidoc serve adds an /mcp endpoint and optional OpenID Connect sign-in. The source says the project is for teams that publish API documentation and want their docs readable by AI agents.

Written from the project's README and checked against it.

Tools it gives your assistant

  • rapidoc devPreviews the developer portal locally at http://localhost:4321.
  • rapidoc buildBuilds the developer portal as a static site in the dist folder.
  • rapidoc serveServes the portal with an /mcp endpoint and optional sign-in and access rules.
  • rapidoc migrateConverts a Redocly or Zudoku config using --from redocly or --from zudoku.
  • mockRuns a mock server from an OpenAPI spec, with request validation and optional --stateful mode.
  • Spec toolsPreviews, validates, lints and bundles specs, writes PDFs, and turns specs into MCP servers.

What you need

  • Node.js with npm or npx

Try asking

  • Build a developer portal from my OpenAPI specs in the specs folder.
  • Start a mock server for ./openapi.yaml with state kept between requests.
  • Migrate my Redocly config to a RapiDoc portal config.

Good to know

  • Sign-in and access rules require an OpenID Connect provider.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Rapidoc CLI

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Rapidoc CLI: common questions

What does the rapidoc CLI do?

The source says it previews, validates, lints and bundles OpenAPI specs, writes PDFs, runs a mock server, turns specs into MCP servers, and builds developer portals.

Can it convert an existing Redocly or Zudoku setup?

Yes. The source says npx rapidoc migrate --from redocly or --from zudoku converts the config.

Does the portal support sign-in?

The source says rapidoc serve can use an OpenID Connect provider to keep pages, specs and search results for signed-in readers, groups or emails.

How do I install Rapidoc CLI?

In Claude Code run claude mcp add rapidoc-cli -- npx -y @rapidoc/cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Rapidoc CLI the official server?

Rapidoc CLI is published by npm:@rapidoc from its verified domain in the official MCP Registry.

Is Rapidoc CLI free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Rapidoc CLI safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Rapidoc CLI?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Rapidoc CLI work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Rapidoc CLI Install

Add to stack

Loading.