</>MCP Agents Market
MCP Server

orval

by orval-labs6.4kTypeScriptUpdated 2026-08-28

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. 🍺

Claude Desktop

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

Generates TypeScript clients with complete type signatures from OpenAPI v3 or Swagger v2 specifications
Supports YAML and JSON input formats for API specifications
Creates hooks, models, requests, and MSW mocks for multiple frameworks
Integrates with React Query, Vue Query, Svelte Query, Solid Query, Angular Query, and SWR
Works with Hono, Zod validation, Effect, and native fetch implementations
Includes official Docker image for projects on older Node.js LTS versions
Provides interactive playground for testing code generation
Offers localhost API access via Docker with host.docker.internal configuration

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 more

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.

Related searches