Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@rog0x/mcp-schema-toolsclaude mcp add schema -- npx -y @rog0x/mcp-schema-tools@1.0.1
{
"mcpServers": {
"schema": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-schema-tools@1.0.1"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
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
Add to your claude_desktop_config.json:
{
"mcpServers": {
"schema-tools": {
"command": "node",
"args": ["path/to/mcp-schema-tools/dist/index.js"]
}
}
}
License
MIT
Frequently asked questions
What is io.github.rog0x/schema?
JSON Schema, TypeScript types, mocks for AI agents
How do I install io.github.rog0x/schema?
It runs on your machine. In Claude Code: claude mcp add schema -- npx -y @rog0x/mcp-schema-tools@1.0.1. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.rog0x/schema need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.rog0x/schema open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains io.github.rog0x/schema?
It is published by rog0x. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.