Openapi MCP Server

Turn any OpenAPI/Swagger spec into MCP tools — so Claude and other AI assistants can call your REST APIs.

Local serverstdioMIT

What is the Openapi MCP Server?

Mcp Openapi is an MCP project maintained in the docat0209/mcp-openapi repository. The maintainer describes its purpose as “Turn any OpenAPI/Swagger spec into MCP tools — so Claude and other AI assistants can call your REST APIs”. Read the project documentation for the complete scope.

Installation

The documented npm package is mcp-openapi. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Openapi MCP Server

{
  "mcpServers": {
    "petstore": {
      "command": "npx",
      "args": [
        "mcp-openapi",
        "--spec",
        "https://petstore3.swagger.io/api/v3/openapi.json"
      ]
    }
  }
}

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