Reverse engineer anything with agents, from app behavior down to native binaries.
MCP Openapi Schema Explorer
MCP server providing token-efficient access to OpenAPI/Swagger specs via MCP Resource Templates for client-side exploration.
Install
npm install -g mcp-openapi-schema-explorerInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →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.
Project Goal
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.
Why MCP Resource Templates?
The Model Context Protocol defines both Resources and Tools.
- Resources: Represent data sources (like files, API responses). They are ideal for read-only access and exploration by MCP clients.
- Resource Templates: A special type of resource that uses parameterized URIs (e.g.,
openapi://paths/{path}/{method}), allowing dynamic access without pre-enumerating all possible values.
- Resource Templates: A special type of resource that uses parameterized URIs (e.g.,
- Tools: Represent executable actions or functions, often used by LLMs to perform tasks or interact with external systems.
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:
- It doesn't require pre-enumerating thousands of potential paths and components
- Clients can discover available resources dynamically using the template patterns
- It provides structured, on-demand access to specific parts of the specification
For more details on MCP clients and their capabilities, see the MCP Client Documentation.
Quick Start Guides by Client
- Claude Code - Anthropic's CLI tool for coding with Claude
- Claude Desktop, Cline, Windsurf - See installation instructions below
Installation
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:
npm install -g mcp-openapi-schema-explorerSee 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:
git clone https://github.com/kadykov/mcp-openapi-schema-explorer.git cd mcp-openapi-schema-explorer npm install npm run buildSee Method 4 below for how to configure your MCP client to run the server from your local build using
node.
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io