openapi-spec-mcp
Allows querying any OpenAPI/Swagger specification to search endpoints, get endpoint details, and explore schemas.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openapi-spec-mcpsearch endpoints for 'users'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenAPI MCP Server
MCP server that turns any OpenAPI/Swagger spec into queryable tools for your LLM. Search endpoints, get endpoint details, and explore schemas from your API documentation.
Setup for Claude Code
Add to your .mcp.json, .claude.json or claude_desktop_config.json.
{
"mcpServers": {
"my-api": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/puelpan/openapi-spec-mcp.git@main",
"openapi-spec-mcp",
"/path/to/your/openapi.yaml"
]
}
}
}Or use a remote URL:
{
"mcpServers": {
"my-api": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/puelpan/openapi-spec-mcp.git@main",
"openapi-spec-mcp",
"https://api.example.com/openapi.json"
]
}
}
}Related MCP server: OpenAPI MCP Server
Available Tools
search_endpoints: Find endpoints by keyword
get_endpoint: Get detailed endpoint info (parameters, responses, etc.)
list_all_endpoints: List all available endpoints
search_schemas: Find schema definitions by name
get_schema: Get schema details with resolved references
Supported Formats
Local files:
.yaml,.yml,.jsonRemote URLs: Any OpenAPI spec URL (format auto-detected)
This server cannot be deployed
Maintenance
Related MCP Connectors
Point Gecko at an OpenAPI spec; get first-call-correct, auth-hidden agent tools.
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
AI-callable tools for API mocking, testing, monitoring, security, and automation.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to load, parse, and query OpenAPI/Swagger documentation from URLs with intelligent search across endpoints, schemas, and authentication methods. Provides 10 specialized tools for comprehensive API exploration including path details, operation lookups, and multi-criteria search capabilities.4-
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to explore and query OpenAPI specifications, allowing natural language interaction with API endpoints, parameters, request bodies, and response schemas from any OpenAPI 3.x spec.14 npmMIT
- AlicenseAqualityDmaintenanceExposes Swagger/OpenAPI API documentation to AI models, enabling exploration, search, and interaction with endpoints, schemas, and execution of API calls.148 npm2MIT
- AlicenseNot gradedqualityBmaintenanceDynamically converts any Swagger 2.0 or OpenAPI 3.x specification into callable MCP tools, enabling AI clients to interact with API endpoints.23 npmMIT