ycs77/apifable
MCP server that helps AI agents explore OpenAPI specs, search endpoints, and generate TypeScript types.
Platform-specific configuration:
{
"mcpServers": {
"apifable": {
"command": "npx",
"args": [
"-y",
"apifable"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<div align="center">
Read the spec. Understand the API. Integrate with confidence.
[![NPM version][ico-version]][link-npm] [![Software License][ico-license]](LICENSE) [![Total Downloads][ico-downloads]][link-downloads]
English | 繁體中文
</div>
---
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.
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.
After the command starts, you can choose between Manual file and Remote URL.
Use this mode if your OpenAPI spec already lives in the project, or if you want to manage spec updates yourself.
init will ask for the local file path, such as openapi.yaml.
You then need to place your OpenAPI spec at that path manually. When the backend API changes, you also need to update that file manually.
Use this mode if your OpenAPI spec is available from a stable remote URL, such as the OpenAPI spec end
Loading reviews...