
Schema
Gives Claude five schema operations: generating JSON Schema from sample data with automatic type inference and enum detection, converting JSON or schemas into TypeScript interfaces, validating data against schemas with detailed error paths, creating realistic mock data with smart field detection (emails, names, phone numbers), and diffing two schemas to identify breaking changes. Reach for this when you're working with APIs or data structures and need Claude to validate payloads, generate types for your codebase, produce test fixtures, or analyze schema evolution between versions. Runs locally via stdio, so your schemas and data stay on your machine.
- tools
- 5
- transport
- STDIO
- last updated
- Mar 22, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
generate_json_schemaGenerate a JSON Schema from sample JSON data. Infers types, required fields, formats (email, date, URI, UUID), and detects enum patterns from multiple examples.
Generate a JSON Schema from sample JSON data. Infers types, required fields, formats (email, date, URI, UUID), and detects enum patterns from multiple examples.
No parameter schema in public metadata yet.
generate_typescriptGenerate TypeScript interfaces and types from JSON data or a JSON Schema. Handles nested objects, arrays, optional fields, enums, and union types.
Generate TypeScript interfaces and types from JSON data or a JSON Schema. Handles nested objects, arrays, optional fields, enums, and union types.
No parameter schema in public metadata yet.
validate_schemaValidate data against a JSON Schema with detailed error messages including JSON path, expected type, actual value, and the violated constraint keyword.
Validate data against a JSON Schema with detailed error messages including JSON path, expected type, actual value, and the violated constraint keyword.
No parameter schema in public metadata yet.
mock_from_schemaGenerate realistic mock data from a JSON Schema. Smart field-name detection produces contextual values: email fields get valid emails, name fields get realistic names, phone fields get formatted numbers, etc.
Generate realistic mock data from a JSON Schema. Smart field-name detection produces contextual values: email fields get valid emails, name fields get realistic names, phone fields get formatted numbers, etc.
No parameter schema in public metadata yet.
diff_schemasCompare two JSON Schemas to find added, removed, and changed fields. Identifies type changes, constraint changes, and classifies each difference as breaking or non-breaking for backwards compatibility analysis.
Compare two JSON Schemas to find added, removed, and changed fields. Identifies type changes, constraint changes, and classifies each difference as breaking or non-breaking for backwards compatibility analysis.
No parameter schema in public metadata yet.
Sponsors
Readme
mcp-schema-tools
MCP server providing schema validation and generation tools for AI agents.
Tools
generate_json_schema
Generate a JSON Schema from sample JSON data. Infers types, required fields, formats (email, date, URI, UUID), and detects enum patterns from multiple examples.
generate_typescript
Generate TypeScript interfaces and types from JSON data or a JSON Schema. Handles nested objects, arrays, optional fields, enums, and union types.
validate_schema
Validate data against a JSON Schema with detailed error messages including JSON path, expected type, actual value, and the violated constraint keyword.
mock_from_schema
Generate realistic mock data from a JSON Schema. Smart field-name detection produces contextual values: email fields get valid emails, name fields get realistic names, phone fields get formatted numbers, etc.
diff_schemas
Compare two JSON Schemas to find added, removed, and changed fields. Identifies type changes, constraint changes, and classifies each difference as breaking or non-breaking for backwards compatibility analysis.
Setup
npm install
npm run build
Usage with Claude Desktop
Details
- Repository
- github.com/rog0x/mcp-schema-tools
- Category
- Data & Analytics
- Package
@rog0x/mcp-schema-tools- Transport
- STDIO
- Registry
- MCP registry, active