SuFetch

•
18
•

Generate type-safe OpenAPI clients and enable AI assistants to explore and interact with APIs using an MCP server.

SuFetch offers a dual solution for robust API interaction: it generates fully type-safe TypeScript clients directly from OpenAPI specifications, providing comprehensive autocomplete and type checking for all API calls. Simultaneously, it acts as an MCP (Model Context Protocol) server, empowering AI assistants like Claude to intelligently explore your APIs, understand their capabilities, and generate relevant code snippets. This powerful combination provides developers with strong type guarantees and streamlines the process of integrating AI-driven API exploration into their workflows.

主な機能

01Modern Stack: Built with TypeScript 5.7, ESNext, and strict mode for robust development.
02Fully Type-Safe API Clients: Offers autocomplete and type checking for all API calls generated from OpenAPI specifications.
035 GitHub stars
04Well-Tested: Boasts over 76 tests with more than 60% code coverage for reliability.
05MCP Integration: Enables AI assistants to explore, understand, and generate code for your APIs.
06Auto-Discovery: Automatically detects services and generates corresponding types for seamless integration.

ユースケース

01Generate type-safe TypeScript clients for OpenAPI-compliant APIs, such as Hetzner Cloud or DigitalOcean, ensuring robust development.
02Integrate AI assistants (like Claude) to explore, understand, and generate code for your APIs via the MCP server.
03Extract specific type definitions from API endpoints to enhance type safety in functions and application logic.