Swagger Explorer MCP Server

Analyzes Swagger/OpenAPI specifications through integration with Claude.

Local serverstdio★ 19

What is the Swagger Explorer MCP Server?

Analyzes Swagger/OpenAPI specifications through integration with Claude.

The short version

A Management Control Plane (MCP) server for exploring and analyzing Swagger/OpenAPI specifications through Claude.

  • Bearer token authentication
  • Configurable through environment variables
  • Minimal format: Removes null/empty values
  • Detailed format: Includes metadata and timestamps
  • Raw format: Unmodified response
  • Detailed property exploration

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Swagger Explorer MCP Server

{
  "mcpServers": {
    "swagger-explorer": {
      "command": "npx",
      "args": ["-y", "@johnneerdael/swagger-mcp"],
      "env": {
        "BASE_URL": "your-value",
        "AUTH_TOKEN": "your-value",
        "SWAGGER_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
BASE_URLEndpoint or connection string the server talks to.Yes
AUTH_TOKENCredential the server authenticates with.Yes
SWAGGER_URLEndpoint or connection string the server talks to.Yes

Frequently asked questions

Swagger Explorer is a tool that lets you analyze Swagger/OpenAPI specifications using Claude, providing insights into API endpoints, schemas, and responses.