LABSCO SUMMARY
Read the spec a piece at a time.
The deliberate choice here is resources over tools: where other servers hand a model tools to call an API, this one exposes the specification for read-only exploration, so a client can walk a thousand-endpoint document by URI without ever loading it whole. The multi-value parameters — asking for several methods or components in one request — cut the round trips. One thing to know going in: it provides templates, so resources/list looks empty by design; the client discovers them through resources/templates/list.
What it is
An MCP server that exposes an OpenAPI v3.0 or Swagger v2.0 specification as parameterised resource templates rather than tools. A client fills in a template URI — a path, a method, a component name — and reads just that part, so a model can navigate a huge spec without the whole document entering its context window.
What you get
- Top-level fields and listings reached through
openapi://{field}, forinfo,servers,tags, and the contents ofpathsorcomponents - The HTTP methods available on a path via
openapi://paths/{path}, and the full operation detail viaopenapi://paths/{path}/{method*}, where{method*}accepts several comma-separated methods at once - Component names of a type listed with
openapi://components/{type}, and full detail viaopenapi://components/{type}/{name*} - Swagger v2.0 specs loaded and converted to OpenAPI v3.0 automatically, from a local file or an HTTP/HTTPS URL
- Output in JSON, YAML or minified JSON, chosen with
--output-format - Internal
$refs rewritten into clickable MCP URIs, and dynamic completions for paths and component types drawn from the loaded spec
Requirements
No account and no key. The recommended path needs no install step — the client runs it with npx -y mcp-openapi-schema-explorer@latest <path-or-url-to-spec>, or via the Docker image kadykov/mcp-openapi-schema-explorer. It can also be installed globally with npm install -g or built from a clone. --output-format is optional and defaults to JSON. The package.json names it mcp-openapi-schema-explorer at 1.3.4. Because it serves resource templates, not pre-enumerated resources, a client that calls resources/list gets an empty list — templates are discovered through resources/templates/list.
Setup effort
One command — npm install -g mcp-openapi-schema-explorer
USE CASES
01
Understanding a huge API without drowning the context window
Navigate the spec by URI — list the paths, then read only the operations you care about.
02
Reading a single endpoint's contract
Fetch the full detail for one path and method, or several methods at once with the comma-separated parameter.
03
Working from a Swagger 2.0 document
Point it at the older spec and read it as OpenAPI 3.0, converted automatically on load.
04
Following a reference to its definition
Jump from a rewritten $ref URI straight to the component schema it points at.
BEFORE YOU INSTALL
What to know first
Requires
npm on PATH
Where it runs
All 7 documented setups run the server on your machine.
INSTALLATION
Connect your client
Server setup
TERMINAL
npm install -g mcp-openapi-schema-explorerMCP Clients
Claude Desktop, Cline, Windsurf
JSON
{
"mcpServers": {
"My API Spec (npx)": {
"command": "npx",
"args": [
"-y",
"mcp-openapi-schema-explorer@latest",
"<YOUR_PATH_URL_TO_SPEC>",
"--output-format",
"yaml"
],
"env": {}
}
}
}Any MCP client — Docker, remote
ANY MCP CLIENT — DOCKER, REMOTE · JSON
{
"mcpServers": {
"My API Spec (Docker Remote)": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"kadykov/mcp-openapi-schema-explorer:latest",
"<YOUR_REMOTE_URL_TO_SPEC>"
],
"env": {}
}
}
}Any MCP client — Docker, local file
ANY MCP CLIENT — DOCKER, LOCAL FILE · JSON
{
"mcpServers": {
"My API Spec (Docker Local)": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v",
"<YOUR_PATH_TO_SPEC>:/spec/api.yaml",
"kadykov/mcp-openapi-schema-explorer:latest",
"/spec/api.yaml",
"--output-format",
"yaml"
],
"env": {}
}
}
}Any MCP client — global install
ANY MCP CLIENT — GLOBAL INSTALL · JSON
{
"mcpServers": {
"My API Spec (Global)": {
"command": "mcp-openapi-schema-explorer",
"args": [
"<YOUR_PATH_URL_TO_SPEC>",
"--output-format",
"yaml"
],
"env": {}
}
}
}Any MCP client — local build
ANY MCP CLIENT — LOCAL BUILD · JSON
{
"mcpServers": {
"My API Spec (Local Dev)": {
"command": "node",
"args": [
"<YOUR_PATH_TO_CLONED>/mcp-openapi-schema-explorer/dist/src/index.js",
"<YOUR_PATH_URL_TO_SPEC>",
"--output-format",
"yaml"
],
"env": {}
}
}
}