Skip to content
PluginStats

mcp-from-openapi weekly downloads statistics

By agentfront · npm · MCP servers

Production-ready library for converting OpenAPI specifications into MCP tool definitions

View on npm Stale · Dec 3, 2026

mcp-from-openapi has 17,634 recorded weekly downloads on npm, an increase of 3.0% over the past 30 days, ranking #1078 of 3,247 tracked listings.

Weekly downloads
17,634
Official API · Dec 5, 2026
7-day growth
+15.9%
+2.4K weekly downloads
30-day growth
+3.0%
+510 weekly downloads
90-day growth
+62.0%
+6.8K weekly downloads
Rank
#1078
▲ 37 in 7 days

About mcp-from-openapi

mcp-from-openapi

Convert OpenAPI specifications into MCP tool definitions with automatic parameter conflict resolution

npm version npm downloads CI coverage CodeQL License: Apache 2.0 TypeScript node XERJ Corpus Hub contributor

What This Solves

When converting OpenAPI specs to MCP tools, you hit parameter conflicts -- the same name appears in different locations (path, query, body). This library resolves them automatically and gives you an explicit mapper for building HTTP requests.

The Problem:

paths:
  /users/{id}:
    post:
      parameters:
        - name: id # path
          in: path
      requestBody:
        content:
          application/json:
            schema:
              properties:
                id: # body -- CONFLICT!
                  type: string

The Solution:

{
  inputSchema: {
    properties: {
      pathId: { type: "string" },    // Automatically renamed
      bodyId: { type: "string" }     // Automatically renamed
    }
  },
  mapper: [
    { inputKey: "pathId", type: "path", key: "id" },
    { inputKey: "bodyId", type: "body", key: "id" }
  ]
}

Now you know exactly how to build the HTTP request.

Features

  • Swagger 2.0 and OpenAPI 3.0, 3.1 and 3.2 -- Validated with the rules of the version a document declares. From 3.2: the query operation and additionalOperations methods, in: querystring whole-query parameters, style: cookie, streamed responses (itemSchema), $self, and security schemes named by URI; what the library skips or ignores is recorded in getDiagnostics() instead of dropped. A Swagger 2.0 document is converted to OpenAPI 3.0 (upgradeSwagger2, also exported) and its tools are generated from the conversion, with what could not be carried over exactly recorded the same way
  • Built-in Request Builder -- buildHttpRequest() applies the full OpenAPI serialization table (form/deepObject/pipeDelimited queries, label/matrix paths, content parameters, per-field Encoding Objects in form and multipart bodies, allowReserved that never lets a value add a query pair, OpenAPI 3.2 whole-query (in: querystring) and style: cookie, multipart, binary, wholeBody) so you never hand-write request assembly
  • Client Compatibility Targets -- target: 'claude' | 'openai' | 'gemini' | 'strict' emits schemas each client actually accepts (inlined refs, closed objects, collapsed unions, demoted formats)
  • Context-Budget Reports -- analyzeToolSet() estimates the token bill per tool and warns at the thresholds where agent accuracy degrades
  • Overlays & Lint -- apply OpenAPI Overlay curation files at load time; lint() flags the spec gaps that hurt tool-calling accuracy
  • Curation-Grade Filtering -- Filter by tag, method, path glob (/admin/**), operationId, a readOnlyOnly safety switch, and x-mcp extension flags with root < path < operation precedence
  • Smart Parameter Handling -- Automatic conflict detection and resolution across path, query, header, cookie, and body; an operation-level parameter overrides a path-level one with the same name and location; allOf bodies flatten, union and binary bodies map cleanly (wholeBody, binary markers)
  • Complete Schemas -- Input schema combines all parameters; output schema from responses (with anyOf unions); streamed responses (itemSchema) reported in metadata.responseStream; clean JSON Schema 2020-12 output (nullable unions, normalized examples)
  • MCP-Native Tools -- title and tool annotations (readOnly/destructive/idempotent hints) inferred from HTTP semantics, overridable via the x-mcp extension family; spec-compliant tool names (64-char cap, stable hash truncation, collision dedup); deterministic tool ordering for prompt-cache friendliness; toSdkTool() for one-line SDK registration
  • Security Resolution -- Framework-agnostic auth for Bearer, Basic, Digest, API Key, OAuth2, OpenID, mTLS, HMAC, AWS Sig V4; per-scheme includeSecurityInInput
  • SSRF Prevention -- Blocks internal IPs, localhost, and cloud metadata endpoints by default during $ref resolution; one-flag secureDefaults posture for untrusted specs; a documented trust model for what a spec can make the library read
  • Multiple Input Sources -- Load from URL, file, YAML string, or JSON object; multi-file specs resolve relative $refs against where the document was loaded from (URL, file or documentUri)
  • Rich Metadata -- Authentication, servers, tags, deprecation, external docs, x-frontmcp extension
  • Production Ready -- Full TypeScript support, validation, structured errors, 100% test coverage (enforced)
  • Runtime Agnostic -- Works on Node and V8 isolates (Cloudflare Workers) alike

Installation…

Description from the npm listing.

  • mcp
  • model-context-protocol
  • openapi
  • swagger
  • api
  • rest
  • schema
  • json-schema
  • typescript
  • tool-generator
  • anthropic
  • claude

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

mcp-from-openapi weekly downloads on npm, last 90 days: 17,634 weekly downloads as of Dec 5, 2026, +62.0% over 90 days.mcp-from-openapiWeekly downloads on npm · Last 90 days17,634downloads / week+62.0% over 90 days05K10K15K20KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
mcp-from-openapi weekly downloads on npm, last 90 days: 17,634 weekly downloads as of Dec 5, 2026, +62.0% over 90 days.

7/30/90-day growth

mcp-from-openapi weekly downloads growth on npm: +15.9% over 7 days, +3.0% over 30 days, +62.0% over 90 days.mcp-from-openapiWeekly downloads growth on npm17,634downloads / week now7-day growth+2,425 weekly downloads+15.9%30-day growth+510 weekly downloads+3.0%90-day growth+6,752 weekly downloads+62.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
mcp-from-openapi weekly downloads growth on npm: +15.9% over 7 days, +3.0% over 30 days, +62.0% over 90 days.

Ranking history

mcp-from-openapi npm ranking history: currently #1078 (by weekly downloads).mcp-from-openapinpm ranking · by weekly downloads · Last 90 days#1078current rank#200#400#600#800#1000#1200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
mcp-from-openapi npm ranking history: currently #1078 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 54, #18 (overall #1,078)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 11, #14 (overall #214)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for mcp-from-openapi
Date (UTC)Weekly downloadsChange vs. previous
17,634-2K
19,592+1.5K
18,126+894
17,232+11
17,221+2.3K
14,961-501
15,462+253
15,209+1.3K
13,925-193
14,118+287
13,831+91
13,740+683
13,057+619
12,438—

Similar npm MCP servers plugins

All 20 mcp-from-openapi alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/mcp-from-openapi. First seen Oct 16, 2026; last successful collection Dec 3, 2026. See the methodology.