rest-to-graphql
Convert REST API routes to GraphQL schema. Use when migrating APIs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Convert REST API routes to GraphQL schema. Use when migrating APIs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | rest-to-graphql |
| description | Convert REST API routes to GraphQL schema. Use when migrating APIs. |
Migrating REST to GraphQL means mapping endpoints to queries and mutations. This tool reads your REST routes and generates a GraphQL schema.
One command. Zero config. Just works.
npx ai-rest-to-graphql ./src/routes/
# Convert routes
npx ai-rest-to-graphql ./src/routes/
# Single file
npx ai-rest-to-graphql ./routes/users.ts -o schema.graphql
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-rest-to-graphql --help
Parses your REST route files to understand endpoints and response shapes. Then maps them to GraphQL types, queries, and mutations following best practices.
MIT. Free forever. Use it however you want.