OpenAPI & Swagger to MCP Tools + RAG Chunks Converter avatar

OpenAPI & Swagger to MCP Tools + RAG Chunks Converter

Pricing

$1.00 / 1,000 api endpoint converteds

Go to Apify Store
OpenAPI & Swagger to MCP Tools + RAG Chunks Converter

OpenAPI & Swagger to MCP Tools + RAG Chunks Converter

Convert any OpenAPI 3.x or Swagger 2.0 spec (JSON/YAML) into ready-to-use MCP tool schemas, OpenAI/Claude function schemas, and clean Markdown RAG chunks with recursive $ref resolution.

Pricing

$1.00 / 1,000 api endpoint converteds

Rating

0.0

(0)

Developer

Weiyi Wang

Weiyi Wang

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 hours ago

Last modified

Categories

Features

Limited permissions

Share

Instantly turn any OpenAPI 3.0 / 3.1 or Swagger 2.0 specification (JSON or YAML) into ready-to-use MCP Tool definitions, OpenAI / Claude Function Calling schemas, and clean Markdown RAG chunks — with zero LLM API fees and automatic $ref resolution.


Why AI Engineers Use This Actor

  • Universal Agent Schema Output: Converts every API endpoint into mcpTool, openaiTool, anthropicTool, and structured ragMarkdown (including parameter tables & response codes) in one pass.
  • Recursive $ref Resolution: Automatically expands nested #/components/schemas/... and #/definitions/... references with cycle protection.
  • Auto-Discovery: Accepts direct .json / .yaml spec URLs or site roots (auto-probing /openapi.json, /swagger.json, /v3/api-docs).
  • Tag Filtering & Incremental Hashes: Filter by OpenAPI tags, exclude deprecated endpoints, and detect changes via deterministic endpointHash (SHA-256).

Quick Input Example

{
"specUrls": [
{ "url": "https://petstore3.swagger.io/api/v3/openapi.json" }
],
"outputFormat": "all",
"maxEndpoints": 50,
"excludeDeprecated": true
}