
apifable
Read the spec. Understand the API. Integrate with confidence.
[![NPM version][ico-version]][link-npm] ![Software License][ico-license] [![GitHub Tests Action Status][ico-github-action]][link-github-action] [![Total Downloads][ico-downloads]][link-downloads]
English | 繁體中文
Overview
apifable is an MCP server that helps AI integrate APIs more smoothly into TypeScript frontend projects. It makes it easy to explore API structure, search endpoints, and generate TypeScript types, giving your AI agent the context it needs to write accurate integration code.
✨ Features
- 📦 AI-ready API context — give AI the structure it needs to understand and work with your API
- 📘 OpenAPI 3.0 / 3.1 support — works with standard specs as a reliable source of truth
- 🤖 MCP server for AI agents — plug into Claude, Cursor, and Windsurf
- 🔍 API exploration tools — browse endpoints, search by keyword, and inspect full request/response details
- 🏷️ TypeScript type generation — generate TypeScript type definitions ready to use in frontend code
Getting Started
Installation
Run apifable init to set up your project configuration:
npx apifable@latest initThis creates apifable.config.json in your project root. The config file should be committed to version control so the spec path is shared with your team.






