Openapi MCP server
io.github.Docat0209/openapi·v0.2.3·3 starsTurn any OpenAPI/Swagger spec into MCP tools. Zero config, zero code.
3 stars626 downloads/wk
Reviews
Write oneNobody has reviewed Openapi yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Openapi tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan67 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 190 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Openapi compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- GitHub stars
- 3
- more than 80% of 28,688 servers
- Downloads a week
- 626
- more than 91% of 12,191 servers with a package
Install Openapi in Claude Code, Cursor or VS Code
Runs npx -y mcp-openapi on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add openapi -- npx -y mcp-openapi
What the publisher says
From the Openapi repository's README, as published. We do not edit it. Read it on GitHub
mcp-openapi
Turn any OpenAPI/Swagger spec into MCP tools — so Claude and other AI assistants can call your REST APIs.
Point mcp-openapi at any OpenAPI 3.x or Swagger 2.0 spec URL and it generates Model Context Protocol (MCP) tools automatically. No code generation, no config files, no boilerplate. Your AI assistant gets callable tools for every API endpoint in seconds.
Quick Start
1. Run it (no install required):
npx mcp-openapi --spec https://petstore3.swagger.io/api/v3/openapi.json2. Add it to Claude Desktop (claudedesktopconfig.json):
{
"mcpServers": {
"petstore": {
"command": "npx",
"args": [
"mcp-openapi",
"--spec", "https://petstore3.swagger.io/api/v3/openapi.json"
]
}
}
}3. Ask Claude to use it:
"List all available pets in the store"
Claude sees MCP tools like findpetsbystatus, getpetbyid, add_pet and calls them directly.
Why mcp-openapi?
Most MCP-to-API bridges require you to write tool definitions by hand or generate code from a spec. mcp-openapi skips all of that.
Flat parameter schemas are the key differentiator. Instead of passing nested JSON objects (which LLMs frequently get wrong), mcp-openapi flattens path, query, header, and body parameters into a single flat object. This dramatically improves tool-calling accuracy.
How It Works
OpenAPI/Swagger Spec mcp-openapi AI Assistant
(URL or file) (Claude, etc.)
| | |
| 1. Parse & validate | |
|------------------------>| |
| | |
| 2. Generate MCP tools | |
| (one per endpoint) | |
|------------------------>| |
| | |
| | 3. Register tools |
| | via stdio transport |
| |------------------------>|
| | |
| | 4. AI calls a tool |
| |<------------------------|
| | |
| 5. Build & execute | |
| HTTP request Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Openapi: common questions
- Is Openapi MCP server safe?
- Mostly: it is graded B (75/100). Read the Openapi safety report
- How do I install Openapi?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Openapi need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Openapi maintained?
- The last commit was 228 days ago (2026-03-21). The latest release is v0.2.3.
- How does Openapi compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); github stars 3 (more than 80% of 28,688 servers); downloads a week 626 (more than 91% of 12,191 servers with a package). Full comparison.