rog0x avatar

Schema

rog0x/mcp-schema-tools

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 tools

Public 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


View the full README on GitHub

Details

Repository
github.com/rog0x/mcp-schema-tools
Category
Data & Analytics
Package
@rog0x/mcp-schema-tools
Transport
STDIO
Registry
MCP registry, active

More from rog0x

Related Data & Analytics MCP servers

View all
1rustamismail avatarHealthy Aging Atlasrustamismail/healthyagingatlas-mcpEvidence-ranked supplement data: search, compare, price history, goal recs. No API key.0stars
2sean-bravo avatarTaxformattersean-bravo/trwParse crypto CSVs and bank PDFs into clean transaction data for Koinly, TurboTax, CoinLedger.0stars
3siliconanalysts avatarSilicon Analystsio.github.siliconanalysts/silicon-analystsDated, sourced semiconductor data: chip costs, HBM/wafer pricing, fab capacity, policy, forecasts.0stars
4unirate-api avatarMcpunirate-api/unirate-mcpCurrency conversion and exchange rates for AI. 170+ currencies, historical data back to 1999.0stars
5vinaybhosle avatarShippingRates MCP Servervinaybhosle/shippingrates-mcpOcean shipping intelligence: D&D, freight rates, vessel schedules, port data. 24 tools, 6 carriers.0stars
6blockparty-global avatarOneSource MCPblockparty-global/1s-mcpBlockchain data, Deepstate and Standard Reserve markets, live chain queries, and API docs0stars