Swagger/OpenAPI Explorer
FreeNot checkedLoads and explores Swagger/OpenAPI specifications from URLs or files, providing endpoint discovery, documentation access, and natural language summaries for API
About
Loads and explores Swagger/OpenAPI specifications from URLs or files, providing endpoint discovery, documentation access, and natural language summaries for API integration workflows.
README
A Model Context Protocol (MCP) server that allows LLMs to explore and interact with Swagger/OpenAPI specifications. This server provides tools and resources for loading API specifications, browsing endpoints, and getting detailed information about API operations.
Installation
- Clone or create the project directory
- Install dependencies:
npm install
- Build the TypeScript code:
npm run build
Usage
Available Tools
load_api
Load an OpenAPI/Swagger specification into the server.
Parameters:
apiId(string): Unique identifier for this APIsource(string): URL or file path to the OpenAPI/Swagger specification
Example:
{
"name": "load_api",
"arguments": {
"apiId": "petstore",
"source": "https://petstore.swagger.io/v2/swagger.json"
}
}
get_endpoint_details
Get detailed information about a specific API endpoint.
Parameters:
apiId(string): ID of the loaded APImethod(string): HTTP method (GET, POST, etc.)path(string): API endpoint pathnatural(boolean, optional): If true, returns a human-readable summary
Example:
{
"name": "get_endpoint_details",
"arguments": {
"apiId": "petstore",
"method": "GET",
"path": "/pet/{petId}",
"natural": true
}
}
list_apis
List all currently loaded API specifications.
Parameters: None
search_endpoints
Search for endpoints matching a specific pattern.
Parameters:
apiId(string): ID of the loaded APIpattern(string): Search pattern for endpoint paths or descriptions
Example:
{
"name": "search_endpoints",
"arguments": {
"apiId": "petstore",
"pattern": "pet"
}
}
Available Resources
swagger://{apiId}/load
Get overview information about a loaded API specification.
swagger://{apiId}/endpoints
Get a list of all available endpoints for an API.
swagger://{apiId}/endpoint/{method}/{path}
Get detailed information about a specific endpoint.
Configuration with Claude Desktop
To use this server with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"swagger-explorer": {
"command": "node",
"args": ["/path/to/your/swagger-mcp-server/build/index.js"]
}
}
}
Replace /path/to/your/swagger-mcp-server with the actual path to your project directory.
License
MIT License
Installing Swagger/OpenAPI Explorer
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/gulbaki/swagger-mcp-serverFAQ
Is Swagger/OpenAPI Explorer MCP free?
Yes, Swagger/OpenAPI Explorer MCP is free — one-click install via Unyly at no cost.
Does Swagger/OpenAPI Explorer need an API key?
No, Swagger/OpenAPI Explorer runs without API keys or environment variables.
Is Swagger/OpenAPI Explorer hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Swagger/OpenAPI Explorer in Claude Desktop, Claude Code or Cursor?
Open Swagger/OpenAPI Explorer on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Swagger/OpenAPI Explorer with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
