What is Openapi Inspector?
Openapi Inspector is a professional OpenAPI explorer server for the Model Context Protocol (MCP). It allows large language models like Claude or Cursor to dynamically explore, understand, and interact with any API that has an OpenAPI/Swagger specification.
How to use Openapi Inspector?
Run the server directly with npx @nonetss/none.api (or install globally with npm install -g @nonetss/none.api). Configure it in your MCP client (e.g., claude_desktop_config.json) with the command npx -y @nonetss/none.api and set the OPENAPI_URL environment variable to point to your OpenAPI spec.
Key features of Openapi Inspector
- List all available endpoints and methods
- Discover functional sections via tag search
- Fetch granular JSON Schemas for requests and responses
- Support for dynamic OpenAPI URLs at runtime
- Optimized for backends following the hono-template structure
Use cases of Openapi Inspector
- Allow an LLM to understand an unfamiliar API without pasting documentation manually
- Enable code generation by retrieving precise request/response schemas
- Reduce context overload by inspecting endpoints on demand instead of mapping all to tools
- Browse and search API operations interactively during conversation
Comments