MCP Openapi Schema MCP Server

A Model Context Protocol server that exposes OpenAPI schema information to Large Language Models

Local serverstdio

What is the MCP Openapi Schema MCP Server?

A Model Context Protocol server that exposes OpenAPI schema information to Large Language Models

The short version

A Model Context Protocol (MCP) server that exposes OpenAPI schema information to Large Language Models (LLMs) like Claude. This server allows an LLM to explore and understand OpenAPI specifications through a set of specialized tools.

  • Load any OpenAPI schema file (JSON or YAML) specified via command line argument
  • Explore API paths, operations, parameters, and schemas
  • View detailed request and response schemas
  • Look up component definitions and examples
  • Search across the entire API specification
  • Get responses in YAML format for better LLM comprehension

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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list-endpointsLists all API paths and their HTTP methods with summaries in a nested object structure
get-endpointGets detailed information about a specific endpoint including parameters and responses
get-request-bodyGets the request body schema for a specific endpoint and method
get-response-schemaGets the response schema for a specific endpoint, method, and status code
get-path-parametersGets the parameters for a specific path
list-componentsLists all schema components (schemas, responses, parameters, etc.)
get-componentGets detailed definition for a specific component
list-security-schemesLists all available security schemes
get-examplesGets examples for a specific component or endpoint
search-schemaSearches across paths, operations, and schemas

How to install the MCP Openapi Schema MCP Server

{
  "mcpServers": {
    "OpenAPI Schema": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-openapi-schema",
        "/ABSOLUTE/PATH/TO/openapi.yaml"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use MCP Openapi Schema to list-endpoints.”
  • “Use MCP Openapi Schema to get-endpoint.”
  • “Use MCP Openapi Schema to get-request-body.”

Frequently asked questions

A Model Context Protocol server that exposes OpenAPI schema information to Large Language Models Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.