Jig

Check JSON against a JSON Schema with exact paths, and schemas for OpenAI, Claude and Gemini strict.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
98%
이름 품질
80%
오염 위험
80%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (2)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains suspicious base64-like encoded stringjig_check_schema에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,424토큰 (도구 정의)
~2.5 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.11%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "jig": {
      "url": "https://jig.clawhard.com/mcp"
    }
  }
}

원격 엔드포인트

https://jig.clawhard.com/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (2)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢jig_validate_json(schema, data, json_text, draft, check_formats, ...)

Use when the user asks whether some JSON matches a JSON Schema, or when JSON from a model reply, structured output, tool call, API response or file has to be checked against its schema before it is used or stored (signals: "validate this JSON", "does this match the schema", "which field is wrong", "the model returned bad JSON", "check the tool-call arguments", "why does my parser reject this"). Validates a JSON value (data), or raw model text (json_text: a ```json fence or prose around one JSON value is stripped; a syntax error comes back with line and column), against JSON Schema draft 2020-12, 2019-09, 07, 06 or 04, including $ref/$defs, anyOf/oneOf/allOf, if/then/else, unevaluatedProperties, patterns and formats (email, date-time, date, time, uuid, uri, hostname, ipv4, ipv6, duration). Returns valid true/false, every problem with its JSON Pointer path, keyword, expected and got values, and retry_message: a ready-to-send list of fixes for the model that produced the JSON. Example: {"schema":{"type":"object","properties":{"price":{"type":"number"}},"required":["price","sku"]},"data":{"price":"12.50"}}. Gives the expected answer on 6,018 of 6,227 official JSON-Schema-Test-Suite cases (ajv 8: 5,981); most misses are external $ref URLs, which are not fetched, $dynamicRef, and the idn-email, idn-hostname and iri formats, which are not checked. Not for repairing broken JSON syntax or for checking whether a schema works with OpenAI, Claude or Gemini (jig_check_schema).

입력 스키마

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "object",
      "description": "The JSON Schema, as a JSON object (not a string). $schema picks the draft; default 2020-12."
    },
    "data": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The JSON value to check: object, array, string, number, boolean or null. Use this or json_text."
    },
    "json_text": {
      "type": "string",
      "maxLength": 300000,
      "description": "Raw text that should contain one JSON value, for example a model reply. Code fences and text around the JSON are stripped. Use this or data."
    },
    "draft": {
      "type": "string",
      "enum": [
        "2020-12",
        "2019-09",
        "7",
        "6",
        "4"
      ],
      "description": "Force a draft: 2020-12, 2019-09, 7, 6 or 4. Default: from $schema, else 2020-12."
    },
    "check_formats": {
      "type": "boolean",
      "description": "Check \"format\" (email, date-time, uuid, uri, ...). Default true."
    },
    "max_errors": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "description": "Most errors to list (default 50). error_count is always the full count."
    }
  },
  "required": [
    "schema"
  ]
}
🟢jig_check_schema(schema, providers, draft, include_converted)

Use when the user asks whether a JSON Schema is valid, or whether it will work with OpenAI Structured Outputs or function calling with strict: true, Claude structured outputs or strict tool use, or Gemini structured output (response_json_schema), or is writing a tool or function schema, an MCP inputSchema, a response_format, or a schema exported from Zod or Pydantic (signals: "Invalid schema for response_format", "strict mode error", "Claude returns 400 for my schema", "will this schema work with OpenAI", "Gemini ignores maxLength", "additionalProperties false", "all fields must be required"). First checks the schema against its draft: type names like "int", "required": true on a property, misspelt keywords, unresolvable $ref, invalid regex, impossible ranges. Then checks each provider's documented rules: OpenAI (every property in required, additionalProperties false on every object, root an object and not anyOf, no allOf/not/if, at most 5000 properties, 10 levels, 1000 enum values, documented formats only), Claude (additionalProperties false, no minimum/maximum/multipleOf/minLength/maxLength, minItems only 0 or 1, no recursion, at most 24 optional and 16 union-typed parameters per request, regex without lookarounds or backreferences), Gemini (minLength, maxLength, uniqueItems, minProperties and similar are dropped without an error). Returns per provider a verdict (ok, warnings, fails), each issue with its JSON Pointer path, rule, fix and the provider's doc URL, plus a converted copy the provider accepts (optional fields made required and nullable for OpenAI, unsupported constraints moved into descriptions the way the official SDK helpers do), and counts (properties, depth, optional and union-typed parameters). Example: {"schema":{"type":"object","properties":{"city":{"type":"string","maxLength":40},"days":{"type":"integer","minimum":1}},"required":["city"]},"providers":["openai","anthropic"]}. Rules are from each provider's docs, checked 2026-11-18; providers can change them, and very large schemas can still hit unpublished size limits.

입력 스키마

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "object",
      "description": "The JSON Schema to check, as a JSON object (not a string)."
    },
    "providers": {
      "type": "array",
      "minItems": 1,
      "maxItems": 3,
      "items": {
        "type": "string",
        "enum": [
          "openai",
          "anthropic",
          "gemini"
        ]
      },
      "description": "Which providers to check. Default: all three."
    },
    "draft": {
      "type": "string",
      "enum": [
        "2020-12",
        "2019-09",
        "7",
        "6",
        "4"
      ],
      "description": "Force a draft: 2020-12, 2019-09, 7, 6 or 4. Default: from $schema, else 2020-12."
    },
    "include_converted": {
      "type": "boolean",
      "description": "Include a converted copy for each provider that does not accept the schema as is. Default true."
    }
  },
  "required": [
    "schema"
  ]
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 2개