# io.github.rog0x/schema (npm · @rog0x/mcp-schema-tools)

JSON Schema, TypeScript types, mocks for AI agents

- Trust score: 65/100 (medium)
- Change this week: +19
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@rog0x/mcp-schema-tools`: 65/100 (this document), [markdown](https://verifymcp.io/servers/rog0x-schema/rog0x-mcp-schema-tools.md), [page](https://verifymcp.io/servers/rog0x-schema/rog0x-mcp-schema-tools)

## Channel facts

- Registry: `npm`
- Package: `@rog0x/mcp-schema-tools`
- Version: `1.0.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 133 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 487 tokens (~97/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add rog0x-schema -- npx -y @rog0x/mcp-schema-tools
```

### Codex

```bash
codex mcp add rog0x-schema -- npx -y @rog0x/mcp-schema-tools
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "rog0x-schema": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@rog0x/mcp-schema-tools"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add rog0x-schema --command npx --arg -y --arg @rog0x/mcp-schema-tools
```

### Hermes

```yaml
mcp_servers:
  rog0x-schema:
    command: "npx"
    args: ["-y", "@rog0x/mcp-schema-tools"]
```

### Other

```json
{
  "mcpServers": {
    "rog0x-schema": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-schema-tools"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 65, +29)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 36, +15)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → excellent

### 2026-07-31 (score 21, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (5)

### `generate_json_schema` (~113 tokens)

Generate a JSON Schema from one or more sample JSON values. Infers types, required fields, formats (email, date, URI, UUID), and detects enum patterns from multiple examples.

Input parameters:

- `detect_enums` (boolean): Whether to detect enum values from string fields across samples (default: true, requires >= 3 samples)
- `samples` (array, required): Array of sample JSON values to infer the schema from. More samples produce a more accurate schema.
- `title` (string): Optional title for the generated schema

### `generate_typescript` (~104 tokens)

Generate TypeScript interfaces and types from JSON data or a JSON Schema. Handles nested objects, arrays, optional fields, enums, union types, and Record types.

Input parameters:

- `json`: Sample JSON data to convert to TypeScript types. Provide either this or 'schema'.
- `root_name` (string): Name for the root interface/type (default: 'Root')
- `schema` (object): A JSON Schema to convert to TypeScript types. Provide either this or 'json'.

### `validate_schema` (~68 tokens)

Validate data against a JSON Schema. Returns detailed error messages with JSON path, expected type, actual value, and the violated keyword (type, required, format, pattern, minimum, etc.).

Input parameters:

- `data` (required): The data to validate
- `schema` (object, required): The JSON Schema to validate against

### `mock_from_schema` (~119 tokens)

Generate realistic mock data from a JSON Schema. Uses smart field-name detection to produce contextual values: email fields get valid emails, name fields get realistic names, dates get ISO strings, etc. Supports all JSON Schema types and constraints.

Input parameters:

- `count` (number): Number of mock objects to generate (default: 1). If > 1, returns an array.
- `schema` (object, required): The JSON Schema to generate mock data from
- `seed` (number): Random seed for reproducible output. Same seed + same schema = same data.

### `diff_schemas` (~83 tokens)

Compare two JSON Schemas and identify all differences: added/removed/changed fields, type changes, constraint changes (min/max, patterns, enums). Classifies each change as breaking or non-breaking for backwards compatibility analysis.

Input parameters:

- `new_schema` (object, required): The updated (new) JSON Schema
- `old_schema` (object, required): The original (old) JSON Schema

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/rog0x-schema/rog0x-mcp-schema-tools#diagnostics

## Score history

- 2026-08-03: 65
- 2026-08-02: 65
- 2026-08-01: 36
- 2026-07-31: 21
- 2026-07-30: 28
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@rog0x/mcp-schema-tools
- Socket report: https://socket.dev/npm/package/@rog0x/mcp-schema-tools
- Repository: https://github.com/rog0x/mcp-schema-tools
- Changelog RSS feed: https://verifymcp.io/servers/rog0x-schema/rog0x-mcp-schema-tools/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/rog0x-schema/rog0x-mcp-schema-tools/changelog.json
- HTML version of this page: https://verifymcp.io/servers/rog0x-schema/rog0x-mcp-schema-tools
