rog0x/mcp-schema-tools
MCP server for schemas: generate JSON Schema from data, generate TypeScript types, validate data, create mock data from schema, compare schemas Install: npx @rog0x/mcp-schema-tools
Platform-specific configuration:
{
"mcpServers": {
"mcp-schema-tools": {
"command": "npx",
"args": [
"-y",
"mcp-schema-tools"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
MCP server providing schema validation and generation tools for AI agents.
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 interfaces and types from JSON data or a JSON Schema. Handles nested objects, arrays, optional fields, enums, and union types.
Validate data against a JSON Schema with detailed error messages including JSON path, expected type, actual value, and the violated constraint keyword.
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.
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.
npm install
npm run buildAdd to your claude_desktop_config.json:
{
"mcpServers": {
"schema-tools": {
"command": "node",
"args": ["path/to/mcp-schema-tools/dist/index.js"]
}
}
}MIT
Loading reviews...