mcp-from-openapi weekly downloads statistics
By agentfront · npm · MCP servers
Production-ready library for converting OpenAPI specifications into MCP tool definitions
mcp-from-openapi has 8,386 recorded weekly downloads on npm, a decrease of 26.2% over the past 30 days, ranking #959 of 2,256 tracked listings.
About mcp-from-openapi
mcp-from-openapi
Convert OpenAPI specifications into MCP tool definitions with automatic parameter conflict resolution
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:
The Solution:
Now you know exactly how to build the HTTP request.
Features
• Built-in Request Builder -- buildHttpRequest() applies the full OpenAPI serialization table (form/deepObject/pipeDelimited queries, label/matrix paths, 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 = 20.0.0 • TypeScript >= 5.0 (for TypeScript users) • Peer dependency: zod@^4.0.0
Contributing
Contributions are welcome! Start with the contributing guide; this project follows the Contributor Covenant. Bug reports and feature requests go through the issue templates.
Security
Report vulnerabilities privately — see the security policy. When loading untrusted specs, use secureDefaults: true.
Related Projects
• Model Context Protocol • OpenAPI Specification
License
Apache 2.0
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (543)Similar npm MCP servers plugins
All 20 mcp-from-openapi alternativesData 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 Oct 19, 2026. See the methodology.