Sdcvalidator Ts
What it does
Validate and recover SDC4 Governed Data Records in TypeScript, conforming to sdcvalidator.
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "sdcvalidator-ts": { "command": "npx", "args": [ "-y", "sdcvalidator-ts", "mcp" ] } } }Claude を終了してもう一度開く
試してみる
Sdcvalidator Ts を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Sdcvalidator Ts を使っていると言うか、回答に Sdcvalidator Ts のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Sdcvalidator Ts につなげません
Sdcvalidator Ts はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Sdcvalidator Ts につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user sdcvalidator-ts -- npx -y sdcvalidator-ts mcpClaude Code で /mcp と入力
Sdcvalidator Ts が一覧にあり、接続済みと表示されれば OK です
試してみる
Sdcvalidator Ts を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Sdcvalidator Ts を使っていると言うか、回答に Sdcvalidator Ts のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
Cursor の AI チャットを Agent モードで開く
試してみる
Sdcvalidator Ts を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Sdcvalidator Ts を使っていると言うか、回答に Sdcvalidator Ts のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
VS Code の AI チャットを Agent モードで開く
試してみる
Sdcvalidator Ts を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Sdcvalidator Ts を使っていると言うか、回答に Sdcvalidator Ts のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user sdcvalidator-ts -- npx -y sdcvalidator-ts mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"sdcvalidator-ts": {
"command": "npx",
"args": [
"-y",
"sdcvalidator-ts",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"sdcvalidator-ts": {
"command": "npx",
"args": [
"-y",
"sdcvalidator-ts",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"sdcvalidator-ts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sdcvalidator-ts",
"mcp"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント SemanticDataCharter で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:一昨日
- ✓ 合格
ライセンスがある
Apache-2.0を使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5802件のうち0%よりスターが多い
- このカテゴリのほかの5802件のうち90%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5802件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Sdcvalidator Tsは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は一昨日、最新バージョン(4.1.0)がレジストリに届いたのは一昨日です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
sdcvalidator-ts
SDC4 validation in TypeScript. It validates Governed Data Records against their published SDC4 models and recovers semantic errors with ISO 21090 ExceptionalValues, giving the same results as sdcvalidator, the reference implementation, on its conformance suite.
Conforms to: sdcvalidator 4.6.3 (all 151 cases of its conformance suite). CI runs that release's suite, pinned by tag.
It runs in Node (20 or later), Deno (including Supabase Edge Functions) and browsers. You supply the model and record text, so it reads no files and makes no network requests.
import { SDC4Validator, REFERENCE_MODEL_URL } from 'sdcvalidator-ts';
const validator = new SDC4Validator({ text: modelXsd, // the model's published XSD resolve: (location) => sdc4Xsd, // the reference model it includes (REFERENCE_MODEL_URL) });
const result = validator.validate(recordXml); // { valid, structural: [...], semantic: [{ path, ev, kind, constraint, message }, ...] }
const recovered = validator.recover(recordXml); // { ok, recoveries: [{ path, code, name, inserted }], unrecoverable: [...], record, text } // Throws StructuralValidationError if the record has structural errors.
MCP server
The package includes an MCP server, so agents can call it directly. It speaks JSON-RPC 2.0 over stdio and runs on Node; it reads the files you name.
npx sdcvalidator-ts mcp
| Tool | What it does |
|---|---|
validate_instance | Pass or fail, with error counts |
validate_and_report | Every error: path, tier, the constraint that failed, the ExceptionalValue code |
recover_instance | The recovered record and each value covered; a structural error rejects it |
check_schema_compliance | Whether a schema follows SDC4 principles: restriction, never extension |
Each tool takes schema_path and instance_path (except the compliance check, which takes only the schema), plus an optional reference_path. The model's xsd:include of the reference model is fetched from its URL once and cached. With reference_path, it is read from that local copy instead, so the server works offline.
It is registered in the MCP registry as io.github.SemanticDataCharter/sdcvalidator-ts.
What "the same results" means
The conformance suite compares, for every case:
- the verdict;
- structural and semantic errors by path;
- the ExceptionalValue code for each semantic error;
- the recovery outcome;
- the recovered record, compared as a tree with comments ignored.
Error messages are not compared. Errors are classified by the constraint that failed, never by message wording.
The ExceptionalValue codes are the reference's (sdcvalidator 4.6.3):
- `OTH`: a value outside its enumeration.
- `INV`: a value that is not of its type, or that breaks any other facet (pattern, length, range, digits, a built-in type's own range), a fixed value or an assertion.
- `NA`: character data where only elements are allowed.
- No code: an error on a structural element (
label,vtb,vte, ...). It cannot be recovered.
When sdcvalidator's mapping changes, the suite's expectations change, and this library follows before its next release.
The XSD subset
SDC4 schemas use a narrow part of XSD 1.1, and this library implements that part:
- Elements: global and local, with
ref, occurrence,fixed,abstractand substitution groups. - Complex types: complex and simple content, restriction and extension, sequence and choice.
- Simple types: restriction (with the enumeration, pattern, length, range, digits and whiteSpace facets) and list; about forty built-in types.
- `xsd:assert`: evaluated with fontoxpath, inherited by derived types.
- `xsd:include`.
A construct outside the subset raises UnsupportedSchemaError naming it. It is never ignored.
DOCTYPE and entity declarations are refused before parsing, so no external entity is ever resolved.
Development
npm install
npm run typecheck npm test # needs the conformance suite: a sibling sdcvalidator checkout, or CONFORMANCE_DIR npm run build
Dependencies are pinned exactly: @xmldom/xmldom 0.9.12 (parsing) and fontoxpath 3.34.0 (XPath 3.1, for assertions).
License
Apache-2.0.