Generate a Zod validation schema (TypeScript source) from a JSON sample. Detects email, URL, UUID, and ISO date strings, marks integers with .int(), and emits the z.infer type.
This page documents the MCP tool findutils:json_to_zod_schema. See the REST reference →
Call it over MCP
Tool name findutils:json_to_zod_schema
· no API keys · 120 requests/min per IP
Claude Code
claude mcp add findutils --transport http https://mcp.findutils.com/ Claude Desktop — claude_desktop_config.json
{
"mcpServers": {
"findutils": {
"url": "https://mcp.findutils.com/"
}
}
} Raw JSON-RPC (any MCP client) — verified example
curl -X POST https://mcp.findutils.com/ \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "json_to_zod_schema",
"arguments": {
"json": "{\"id\":1,\"email\":\"[email protected]\"}"
}
}
}' Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| json | string | yes | JSON sample to convert. |
| add_comments | boolean | no | Append a short comment after detected formats (e.g. "// email format"). Default: true. Default: true. |
| use_optional | boolean | no | Append .optional() to every object property. Default: false. Default: false. |
| export_type | string (const | named | default) | no | How the schema is exported: "const" (no export), "named" (export const), or "default" (export default). Default: "const". Default: "const". |
Example arguments (verified)
{
"json": {
"id": 1,
"email": "[email protected]"
}
} Arguments that carry JSON as a string are shown decoded for readability. The Copy button copies the exact wire arguments.
Also a REST endpoint
The same tool answers plain HTTP at
POST /api/tools/json-to-zod-schema/execute — no key, 60 requests/min.
More Seo tools
Bot Crawl Checker
Return which of 24 well-known crawlers (Googlebot, BingBot, GPTBot, ClaudeBot, PerplexityBot, AhrefsBot, Twitterbot and more) are allowed or
Domain Rating Checker
Return the Ahrefs Domain Rating (0-100) for up to 25 domains in one call, with a per-domain status.
Faq Schema Generator
Generate FAQPage JSON-LD structured data from question-answer pairs, and return the JSON-LD string, a ready <script> tag, the schema object,
Form To Json Schema
Returns a form schema object ({ formId, method, action, fields, submitText }) extracted from HTML form markup.
Geo Analyzer
Return a Generative Engine Optimization (GEO) report for a public web page: an overall 0-100 score, per-category scores (technical, content,
Graphql Playground
Check a GraphQL query for balanced braces and, when a schema is supplied, unknown fields on Query/Mutation/Subscription types.
Graphql Schema Validator
Validate a GraphQL SDL schema and return errors, naming-convention warnings, and counts of types, queries, mutations, and subscriptions.
Heading Structure Analyzer
Analyze the H1-H6 heading hierarchy of an HTML document and return every heading, SEO warnings (missing or multiple H1, skipped levels, empt