Skip to main content
MCP & CLI Code GeneratorsOpen SourceOpenAPI to MCP

OpenAPI MCP Proxy

Convert any REST OpenAPI or Swagger spec into instant MCP tools

Dynamically translates OpenAPI 3.0/3.1 specifications into Model Context Protocol tools with automated parameter validation.

Quickstart Execution

claude_desktop_config.json

Get started with OpenAPI MCP Proxy in your project.

{
  "mcpServers": {
    "danish-api": {
      "command": "npx",
      "args": [
        "-y",
        "@sotayamashita/openapi-mcp-server",
        "--spec",
        "https://example.dk/openapi.json"
      ]
    }
  }
}

About OpenAPI MCP Proxy

OpenAPI MCP Proxy allows agents to instantly connect to any REST API that provides a Swagger or OpenAPI specification. It automatically parses endpoints, schemas, and parameters, exposing them as typed tools with Zod validation over stdio or HTTP transports.

DK

Danish Product & Data Recipes

How developers and agents use OpenAPI MCP Proxy to connect with Danish digital infrastructure.

Mount Any Danish OpenAPI Document into Claude Desktop

Point OpenAPI MCP Proxy at the official OpenAPI JSON specification of a Danish municipality or service to enable tool calling immediately.

npx -y @sotayamashita/openapi-mcp-server --spec https://api.datafordeler.dk/openapi.json

Key Capabilities

Dynamic mapping of OpenAPI operations to MCP tools
Zod schema validation on input parameters
Supports HTTP Bearer, API key, and Basic auth
Runs locally via npx without manual code generation