🎉Public beta is now open, welcome to try!
Skip to content

ApiSorceryAPI Platform for Modern Front-end

One platform, all frameworks. Generate type-safe APIs for React, Vue, Angular, Svelte, and Flutter from Swagger/OpenAPI.

ApiSorcery

MCP — Let Your AI Assistant Generate APIs

ApiSorcery ships a built-in MCP (Model Context Protocol) server, making it the first API code generator your AI coding assistant can call directly.

json
// .mcp.json — drop this in your project root, commit it, done
{
  "mcpServers": {
    "apisorcery": { "command": "apisorcery-mcp" }
  }
}

Once configured, just ask your assistant:

  • "Generate the API client" — calls generate, reads .apisorceryrc.json, writes typed files
  • "Init ApiSorcery for a Vue 3 TypeScript project" — calls init
  • "Register my device with token abc123" — calls register

Works with Claude Code, Cursor, Windsurf, and any MCP-compatible editor.

Full MCP setup guide →


Why not just use openapi-generator?

Many teams start with openapi-generator or Swagger Codegen. Here's the honest comparison:

FeatureApiSorceryopenapi-generatorSwagger Codegen
TypeScript (framework-idiomatic)⚠️ Generic style⚠️ Generic style
Dart / Flutter✅ Optimized⚠️ Community, often buggy
MCP / AI tool integration
Setup complexitySimple (JSON config)High (hundreds of options)High
SaaS console + device management
Free to use✅ 50 calls/month✅ Fully free✅ Fully free

Common openapi-generator pain points (what we hear from developers who switch):

  • The Dart generator is community-maintained and frequently breaks on complex schemas
  • Generated TypeScript is class-based — doesn't fit modern React/Vue hooks patterns
  • Configuration has hundreds of parameters with poor documentation

ApiSorcery generates framework-idiomatic code for each target, with the reliability and support of a managed service.