orval
orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
Orval MCP server generates type-safe TypeScript clients from OpenAPI v3 and Swagger v2 specifications in YAML or JSON formats. It produces models, API requests, hooks, and mock data for popular frameworks including React Query, Vue Query, Angular, Svelte Query, Hono, and native fetch. Developers use it to automatically create fully-typed API clients that stay synchronized with their OpenAPI definitions, eliminating manual client code maintenance and reducing type errors.
Key Features
Use Cases
- 01Auto-generating type-safe API clients for React applications using React Query or SWR
- 02Creating Angular services with full TypeScript typing from backend OpenAPI specs
- 03Building Vue or Svelte applications with query hooks generated from API definitions
- 04Generating Hono server route handlers with validated request/response types
- 05Producing MSW mock handlers for testing frontend applications against API contracts
- 06Maintaining synchronized frontend-backend types as OpenAPI specifications evolve
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
orval — FAQ
What is the Orval MCP server?+
Orval is an MCP server and code generator that creates type-safe TypeScript API clients from OpenAPI v3 or Swagger v2 specifications. It produces framework-specific hooks, models, and requests for React, Angular, Vue, Svelte, and other popular JavaScript frameworks.
How do I install the Orval MCP server?+
Install Orval via npm, configure it with an orval.config.ts file pointing to your OpenAPI specification, then add it to your MCP client settings. Alternatively, use the official Docker image if your project runs Node.js versions older than 22.18.
Which AI clients work with Orval?+
Orval supports MCP-compatible clients and generates code for React Query, Vue Query, Svelte Query, Angular Query, Solid Query, SWR, Hono, and native fetch implementations.
Do I need an API key to use Orval?+
No API key is required. You only need a valid OpenAPI v3 or Swagger v2 specification file (YAML or JSON) that describes your API endpoints and schemas.
Is Orval free to use?+
Yes, Orval is open source and released under the MIT License, making it free for both personal and commercial use.
What Node.js version does Orval require?+
Orval version 8 and above requires Node.js 22.18 or newer. Projects on older Node LTS versions can use the official Docker image for code generation.
How do I install orval?+
Open the source repository on GitHub and follow its README. orval is a mcp server — MCP Agents Market links you directly to the official repo.
Is orval free?+
orval is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.