Openapi
Overview
Description from the maker (original English)
Turn any OpenAPI/Swagger spec into MCP tools. Zero config, zero code.
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Developer tools
Install
Pick the AI app you use, then copy the settings.
Passed 2/3 checks · Runs on your computer
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Install Node.js
One time only; it works for every server that needs Node.js
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "openapi": { "command": "npx", "args": [ "-y", "mcp-openapi" ] } } }Quit Claude and open it again
Try it
Use Openapi and tell me what you can do for me, then show me one thing✓ If Claude says it is using Openapi or shows a Openapi tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Openapi yet
Openapi runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect Openapi
- Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- Install Node.js on your computer first (one time)
- Install Node.js on your computer first (one time)
- Install Node.js on your computer first (one time)
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- Sentry✓ ChatGPT
- Front-End Checklist✓ ChatGPT
- Compiler Explorer✓ ChatGPT
Works with Claude Code, with some setup first
Install Node.js on your computer first (one time)
Install Node.js
One time only; it works for every server that needs Node.js
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add openapi -- npx -y mcp-openapiType /mcp in Claude Code
You should see Openapi listed as connected
Try it
Use Openapi and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Openapi or shows a Openapi tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Node.js on your computer first (one time)
Install Node.js
One time only; it works for every server that needs Node.js
Open the AI chat in Cursor in Agent mode
Try it
Use Openapi and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Openapi or shows a Openapi tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Node.js on your computer first (one time)
Install Node.js
One time only; it works for every server that needs Node.js
Open the AI chat in VS Code in Agent mode
Try it
Use Openapi and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Openapi or shows a Openapi tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add openapi -- npx -y mcp-openapiClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"openapi": {
"command": "npx",
"args": [
"-y",
"mcp-openapi"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"openapi": {
"command": "npx",
"args": [
"-y",
"mcp-openapi"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"openapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-openapi"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 11, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account Docat0209, which owns the repo
- ! Caution
Still maintained
Code last changed 8 months ago, more than 6 months ago
- ✓ Pass
Has a licence
Uses MIT
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Developer toolsi
- More stars than 80% of the other 5756 servers in this category
- Published to the registry more recently than 6% of the other 5756 servers in this category
- Basic checks equal to or better than 28% of the other 5756 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Openapi safe?
It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 8 months ago, and the latest version (0.2.3) reached the registry 8 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: REA, Netdata, Front-End Checklist
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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.json
2. Add it to Claude Desktop (claude_desktop_config.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 find_pets_by_status, get_pet_by_id, 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.
| Feature | mcp-openapi | Hand-written MCP servers | Generic HTTP tools |
|---|---|---|---|
| Zero config setup | Yes | No | Partial |
| OpenAPI 3.x + Swagger 2.0 | Yes | N/A | N/A |
| Flat parameter schemas (LLM-optimized) | Yes | Manual | No |
| Smart tool naming from operationId | Yes | Manual | No |
| Auth (API key, Bearer, OAuth2) | Built-in | DIY | DIY |
| Retry with exponential backoff | Built-in | DIY | DIY |
| Response truncation for LLM context | Built-in | DIY | No |
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 | |
| <------------------------ | |
| 6. Return truncated | |
| response to AI | |
| ------------------------> | ------------------------> |
Each API endpoint becomes one MCP tool:
- Tool name is derived from
operationId(converted tosnake_case) or frommethod + path - Parameters are flattened into a single input schema (path, query, header, and body params merged)
- Responses are truncated to ~50KB to stay within LLM context limits
- Errors (429, 5xx) trigger automatic retries with exponential backoff (up to 3 retries)
Claude Desktop Integration
Add any API to Claude Desktop by editing your config file:
Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Public API (no auth)
{
"mcpServers": { "petstore": { "command": "npx", "args": [ "mcp-openapi", "--spec", "https://petstore3.swagger.io/api/v3/openapi.json" ] } } }
API with Bearer Token
{
"mcpServers": { "github": { "command": "npx", "args": [ "mcp-openapi", "--spec", "https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json", "--auth-type", "bearer", "--auth-token", "$GITHUB_TOKEN", "--prefix", "github", "--include", "listReposForAuthenticatedUser,getRepo,listIssues,createIssue" ], "env": { "GITHUB_TOKEN": "ghp_your_token_here" } } } }
API with API Key
{
"mcpServers": { "weather": { "command": "npx", "args": [ "mcp-openapi", "--spec", "https://api.weather.example.com/openapi.json", "--auth-type", "api-key", "--auth-name", "X-API-Key", "--auth-value", "$WEATHER_API_KEY", "--auth-in", "header" ], "env": { "WEATHER_API_KEY": "your_key_here" } } } }
CLI Reference
npx mcp-openapi --spec <url-or-path> [options]
General Options
| Option | Short | Default | Description |
|---|---|---|---|
--spec | -s | *required* | OpenAPI spec URL or local file path |
--config | -c | JSON config file path | |
--base-url | from spec | Override the API base URL | |
--prefix | Prefix for all tool names (e.g. github -> github_list_repos) | ||
--include | all | Comma-separated operationIds to include | |
--exclude | none | Comma-separated operationIds to exclude | |
--timeout | 30000 | HTTP request timeout in milliseconds | |
--max-retries | 3 | Max retries on 429/5xx responses | |
--header | -H | Custom header (repeatable) | |
--transport | stdio | Transport type: stdio or sse | |
--port | 3000 | Port for SSE transport | |
--help | -h | Show help | |
--version | -v | Show version | |
--license-key | Pro license key (or $MCP_OPENAPI_LICENSE_KEY env) | ||
--server | 0 | Select API server by index, partial URL, or exact URL | |
--no-doc-warnings | Suppress doc quality warnings on startup | ||
--dynamic-discovery | auto (100+) | Enable dynamic tool discovery for large APIs |
Auth Options
Bearer token:
| Option | Description |
|---|---|
--auth-type bearer | Use Bearer token authentication |
--auth-token | The token value (supports $ENV_VAR syntax) |
API key:
| Option | Description |
|---|---|
--auth-type api-key | Use API key authentication |
--auth-name | Header or query parameter name |
--auth-value | The API key value (supports $ENV_VAR syntax) |
--auth-in | Where to send the key (default: header) |
OAuth2 client credentials:
| Option | Description |
|---|---|
--auth-type oauth2 | Use OAuth2 client credentials flow |
--auth-client-id | OAuth2 client ID |
--auth-client-secret | OAuth2 client secret |
--auth-token-url | Token endpoint URL |
--auth-scopes | Comma-separated scopes |
CLI Examples
# Basic usage with a remote spec
npx mcp-openapi --spec https://petstore3.swagger.io/api/v3/openapi.json
Local YAML spec with Bearer auth
npx mcp-openapi --spec ./api.yaml --auth-type bearer --auth-token '$API_KEY'
Filter to specific endpoints with a prefix
npx mcp-openapi --spec ./api.json --prefix myapi --include 'listUsers,getUser'
Override base URL (useful for local dev)
npx mcp-openapi --spec https://api.example.com/openapi.json --base-url http://localhost:3000
Add custom headers
npx mcp-openapi --spec ./api.json -H 'X-Custom: value' -H 'X-Another: value2'
Use a JSON config file
npx mcp-openapi --config ./mcp-config.json
Select staging server
npx mcp-openapi --spec ./api.json --server staging
Large API with dynamic discovery
npx mcp-openapi --spec https://api.stripe.com/openapi.json --dynamic-discovery
Config File Format
Instead of CLI flags, you can use a JSON config file:
{
"spec": "https://api.example.com/openapi.json", "prefix": "myapi", "include": ["listUsers", "getUser", "createUser"], "auth": { "type": "bearer", "token": "$API_TOKEN" }, "timeout": 15000, "maxRetries": 2, "headers": { "X-Custom-Header": "value" } }
CLI arguments take precedence over config file values.
Supported Specs
| Format | Versions | File types |
|---|---|---|
| OpenAPI | 3.0.x, 3.1.x | .json, .yaml, .yml |
| Swagger | 2.0 | .json, .yaml, .yml |
Specs can be loaded from:
- Remote URLs (
https://...) - Local file paths (
./api.yaml,/absolute/path/spec.json)
v0.3.0 Features
Doc Quality Warnings
On startup, mcp-openapi checks each tool's documentation quality. If endpoints have sparse descriptions (under 50 characters), you'll see a warning:
[mcp-openapi] WARN: Doc quality: 11 of 47 tools have sparse documentation (<50 chars)
[mcp-openapi] WARN: Affected: getUser, createOrder, deleteItem, updateCart, listTags, ... [mcp-openapi] WARN: LLM accuracy may be reduced for these endpoints.
This helps you identify which API endpoints might cause poor LLM tool-calling accuracy. Suppress with --no-doc-warnings.
Server Filtering
OpenAPI specs can define multiple servers (production, staging, dev). Select which one to use:
# Use first server (default behavior)
mcp-openapi --spec api.json --server 0
Match by URL keyword
mcp-openapi --spec api.json --server prod
Exact URL
mcp-openapi --spec api.json --server https://api.example.com/v2
If the selector doesn't match, you'll see all available servers listed.
Dynamic Tool Discovery
For large APIs with 100+ endpoints, registering all tools at once can overwhelm the LLM's context. Dynamic discovery solves this by registering 3 meta-tools instead:
| Meta-tool | Description |
|---|---|
search_operations(query) | Search tools by keyword in names, descriptions, and tags |
list_by_tag(tag?) | Browse tools by OpenAPI tag, or list all tags |
get_tool_details(tool_name) | Get full parameter schema for a specific tool |
The LLM explores the API through these meta-tools, then calls specific endpoints by name.
# Explicit opt-in
mcp-openapi --spec large-api.json --dynamic-discovery
Auto-enabled when spec has 100+ endpoints
mcp-openapi --spec https://api.github.com/openapi.json
Or via config file:
{
"spec": "https://api.stripe.com/openapi.json", "dynamicDiscovery": true, "auth": { "type": "bearer", "token": "$STRIPE_KEY" } }
Pro Features (v0.2.0+)
mcp-openapi includes optional Pro features for teams and power users, gated by a license key.
Custom Response Transforms
Shape API responses with JMESPath expressions before they reach the LLM — reducing token usage and improving accuracy:
{
"spec": "https://api.github.com/openapi.json", "licenseKey": "$MCP_OPENAPI_LICENSE