MCP server providing token-efficient, parameterized read-only access to OpenAPI/Swagger specs via resource templates.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Openapi Schema Explorer.
An MCP (Model Context Protocol) server that provides token-efficient access to OpenAPI (v3.0) and Swagger (v2.0) specifications via MCP Resource Templates.
The primary goal of this project is to allow MCP clients (like Cline or Claude Desktop) to explore the structure and details of large OpenAPI specifications without needing to load the entire file into an LLM's context window. It achieves this by exposing parts of the specification through MCP Resource Templates, which provide parameterized access patterns for read-only data exploration.
This server supports loading specifications from both local file paths and remote HTTP/HTTPS URLs. Swagger v2.0 specifications are automatically converted to OpenAPI v3.0 upon loading.
Note: This server provides resource templates (not pre-enumerated resources). MCP clients access these templates through the
resources/templates/listprotocol method. For more information about resource templates, see the MCP Resource Templates documentation.
The Model Context Protocol defines both Resources and Tools.
openapi://paths/{path}/{method}), allowing dynamic access without pre-enumerating all possible values.While other MCP servers exist that provide access to OpenAPI specs via Tools, this project specifically focuses on providing access via Resource Templates. This approach is particularly efficient for large APIs because:
For more details on MCP clients and their capabilities, see the MCP Client Documentation.
For the recommended usage methods (npx and Docker, described below), no separate installation step is required. Your MCP client will download the package or pull the Docker image automatically based on the configuration you provide.
However, if you prefer or need to install the server explicitly, you have two options:
Global Installation: You can install the package globally using npm:
See Method 3 below for how to configure your MCP client to use a globally installed server.
Local Development/Installation: You can clone the repository and build it locally:
See Method 4 below for how to configure your MCP client to run the server from your local build using node.
This server is designed to be run by MCP clients (like Claude Desktop, Windsurf, Cline, etc.). To use it, you add a configuration entry to your client's settings file (often a JSON file). This entry tells the client how to execute the server process (e.g., using npx, docker, or node). The server itself doesn't require separate configuration beyond the command-line arguments specified in the client settings entry.
Below are the common methods for adding the server entry to your client's configuration.
Using npx is recommended as it avoids global/local installation and ensures the client uses the latest published version.
Example Client Configuration Entry (npx Method):
Add the following JSON object to the mcpServers section of your MCP client's configuration file. This entry instructs the client on how to run the server using npx:
Configuration Notes:
"My API Spec (npx)" with a unique name for this server instance in your client.<path-or-url-to-spec> with the absolute local file path or full remote URL of your specification.--output-format is optional (json, yaml, json-minified), defaulting to json.mcpServers, each with a unique name and pointing to a different spec.You can instruct your MCP client to run the server using the official Docker image: kadykov/mcp-openapi-schema-explorer.
Example Client Configuration Entries (Docker Method):
Add one of the following JSON objects to the mcpServers section of your MCP client's configuration file. These entries instruct the client on how to run the server using docker run:
Remote URL: Pass the URL directly to docker run.
Using a Remote URL:
Using a Local File: (Requires mounting the file into the container)
Important: Replace /full/host/path/to/spec.yaml with the correct absolute path on your host machine. The path /spec/api.yaml is the corresponding path inside the container.
If you have installed the package globally using npm install -g, you can configure your client to run it directly.
Example Client Configuration Entry (Global Install Method):
Add the following entry to your MCP client's configuration file. This assumes the mcp-openapi-schema-explorer command is accessible in the client's execution environment PATH.
command (mcp-openapi-schema-explorer) is accessible in the PATH environment variable used by your MCP client.This method is useful if you have cloned the repository locally for development or to run a modified version.
Setup Steps (Run once in your terminal):
git clone https://github.com/kadykov/mcp-openapi-schema-explorer.gitcd mcp-openapi-schema-explorernpm installnpm run build (or just build)Example Client Configuration Entry (Local Development Method):
Add the following entry to your MCP client's configuration file. This instructs the client to run the locally built server using node.
Important: Replace /full/path/to/cloned/mcp-openapi-schema-explorer/dist/src/index.js with the correct absolute path to the built index.js file in your cloned repository.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/kadykov-mcp-openapi-schema-explorer)<a href="https://allmcps.com/mcp/kadykov-mcp-openapi-schema-explorer"><img src="https://allmcps.com/api/badge/kadykov-mcp-openapi-schema-explorer?style=directory" alt="MCP Openapi Schema Explorer on AllMCPs" /></a>