# swagger-mcp-tool

> Use this tool when you need to integrate AI models with APIs or generate code based on API definitions. It solves problems related to API discovery, documentation, and integration by providing a server to query Swagger/OpenAPI documentation from local files or remote URLs. The tool accepts API queries as input and returns detailed endpoint definitions and schemas as output, facilitating seamless API integration and code generation.

Canonical page: https://skillsregistry.net/skills/sdlbp-swagger-mcp-tool  
JSON: https://api.skillsregistry.net/v1/skills/sdlbp-swagger-mcp-tool

## Description

A Bun-based MCP server that allows AI models to query Swagger/OpenAPI documentation from local files or remote URLs. It enables users to search for APIs, retrieve detailed endpoint definitions, and fetch schemas to facilitate code generation and API integration.

## Trust

- **Trust score (0–1):** 0.93
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** search
- **Updated:** 2026-09-19

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/httnwh38pm)
- **Repository:** <https://github.com/sdlbp/swagger-mcp-tool>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "sdlbp-swagger-mcp-tool"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/sdlbp-swagger-mcp-tool` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/sdlbp-swagger-mcp-tool/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
