API Doc Generator MCP server
Generate OpenAPI 3.1 specs, endpoint docs, TypeScript SDKs, and test suites from code
19 downloads/wk
Reviews
Write oneNobody has reviewed API Doc Generator yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
API Doc Generator tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
document_endpointGenerates full documentation for a single API endpoint in Markdown. Includes parameter tables, request/response examples with realistic data, error response documentation (400, 401, 403, 404, 500), cURL command example, JavaScript fetch example, and Python requests example.
generate_openapiGenerates a complete OpenAPI 3.1 specification from endpoint definitions. Produces properly structured output with paths, parameters, request/response schemas using $ref components, authentication sections, server URLs, tags, and grouping. Supports YAML and JSON output.
generate_sdkGenerates a TypeScript SDK client from endpoint definitions. Produces typed interfaces for all request/response models, a client class with methods for each endpoint, error handling helpers (ApiError class with retry support), and authentication wrappers (Bearer, API Key, Basic).
generate_testsGenerates comprehensive API test suites for endpoints. Creates happy path tests, validation tests (missing required fields), edge case tests (empty values, null values, extra fields), authentication tests, HTTP method tests, and response structure checks. Includes mock data generator functions. Outputs as Jest or Vitest test files.
validate_apiValidates an OpenAPI specification (YAML or JSON). Checks schema correctness, missing descriptions, inconsistent naming conventions, missing error responses, security scheme completeness, and server URLs. Returns categorized issues (errors, warnings, suggestions) with specific fix suggestions for each.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan23 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 qualitystatic API keys via environment variables6/15
- Maintenancerepository not readable: repo not found3/15
- Maintainer identityno repository or website to verify2/10
Install directly
Runs npx -y mcp-api-doc-generator on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-api-doc-generator -- npx -y mcp-api-doc-generator
API Doc Generator: common questions
- Is API Doc Generator MCP server safe?
- With care: it is graded C, so read the findings first (55/100). Read the API Doc Generator safety report
- How do I install API Doc Generator?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does API Doc Generator need an API key?
- Yes. The registry entry asks for
LICENSE_KEY. - Is API Doc Generator maintained?
- The latest release is v1.1.4.
- What can I use instead of API Doc Generator?
- Servers from other publishers that do the same job: Twitterapi Io MCP server, Unifi Applications MCP server and Context7 MCP server. Compare all API Doc Generator alternatives.
Alternatives to API Doc Generator
Same job from other publishers: the closest match first, then the best rated.
- Twitterapi IoOffline access to TwitterAPI.io docs for AI assistants. 67 endpoints, 32 pages, 24 blog posts.not reviewedGrowingA
- Unifi ApplicationsQueryable UniFi API docs: endpoint search, schemas, code examples. No controller access.not reviewedGrowingA
Context7Up-to-date code docs for any promptnot reviewedWidely usedA- Svelte MCPThe official Svelte MCP server providing docs and autofixing tools for Svelte developmentnot reviewedEstablishedA
- Coolify45 optimized tools for managing Coolify infrastructure, diagnostics, and docs searchnot reviewedEstablishedB