MCP Server

diglabo 漢字プリント

com.diglabo/kanji-prints
Education Public & reachable MCP 2025-11-25

What this MCP does

Creates and revises Japanese kanji worksheet plans from existing questions and provides review links.

check_available_kanji
作れる範囲を調べる
作れる漢字プリントの範囲(教育漢字・漢検の級)、形式、指定した字の問題の数を返します。
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'chars': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 24}}, 'additionalProperties': False}
create_kanji_worksheet
プリント案を作る
既存の問題を組み合わせて A4・24マスのプリント案を作り、問題一覧(番号・種類・問題文・答え・字)と確認用の短いリンク(30日有効)を返します。形式を省くと書きと読みのテストになります。プリントの保存と PDF の作成はしません。
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['chars'], 'properties': {'chars': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 48, 'minItems': 1, 'description': 'プリントに載せる字(重複なし)。テストは8〜24字、練習は1〜6字。テストで25字以上・8字未満のときは、字の絞り方や分け方の案(proposals)を返す。'}, 'grade': {'type': 'integer', 'maximum': 6, 'minimum': 1, 'description': '教育漢字のプリントの学年(1〜6)。省くと字の配当学年の最大。漢検のプリントでは使わない。'}, 'title': {'type': 'string', 'maxLength': 60, 'minLength': 1, 'description': '紙面のタイトル(1〜60文字)。省くと自動で付く。テストのタイトルに出題する字が入っていると、答えが見えるため受け付けない。'}, 'words': {'type': 'array', 'items': {'type': 'string', 'maxLength': 12, 'minLength': 1}, 'maxItems': 40, 'minItems': 1, 'description': '優先して出題する語(例:想像・経験)。指定した字の問題に同じ語があれば先に選ぶ。'}, 'format': {'enum': ['practice', 'test_mixed', 'test_write', 'test_read'], 'type': 'string', 'description': 'practice(練習)・test_mixed(書きと読み)・test_write(書きだけ)・test_read(読みだけ)。省くと test_mixed。'}, 'practiceMax': {'enum': [3, 6], 'type': 'number', 'description': '練習(format=practice)の1枚に載せる字数の上限。3字までなら3、6字までなら6(字の練習回数ではない)。練習のときは必須。'}, 'learningScope': {'anyOf': [{'type': 'object', 'required': ['system'], 'properties': {'system': {'type': 'string', 'const': 'jp_elementary'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['system', 'level'], 'properties': {'level': {'enum': [10, 9, 8, 7, 6, 5], 'type': 'number'}, 'system': {'type': 'string', 'const': 'kanken'}, 'edition': {'type': 'string', 'const': '2020', 'description': '級別漢字表の版。省略時は2020年度版。'}}, 'additionalProperties': False}], 'description': "学習範囲。省くと小学校の教育漢字。漢検は {system:'kanken', level:10〜5}。"}}, 'additionalProperties': False}
find_replacement_questions
差し替えの候補を探す
指定した字の既存の問題を最大20件、問題文と答え付きで返します。プリント案の1問を差し替える候補になります。
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['char'], 'properties': {'char': {'type': 'string', 'description': '候補を調べる字(1字)。'}, 'type': {'enum': ['compound', 'reading', 'okurigana'], 'type': 'string', 'description': '熟語(書き)・読み・送りがなで絞る。'}, 'grade': {'type': 'integer', 'maximum': 6, 'minimum': 1, 'description': '教育漢字のとき、プリントの学年。省けば字の配当学年。'}, 'learningScope': {'anyOf': [{'type': 'object', 'required': ['system'], 'properties': {'system': {'type': 'string', 'const': 'jp_elementary'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['system', 'level'], 'properties': {'level': {'enum': [10, 9, 8, 7, 6, 5], 'type': 'number'}, 'system': {'type': 'string', 'const': 'kanken'}, 'edition': {'type': 'string', 'const': '2020', 'description': '級別漢字表の版。省略時は2020年度版。'}}, 'additionalProperties': False}], 'description': '学習範囲。省くと教育漢字。漢検の級を指定すると、その級の範囲の問題だけを返す。'}}, 'additionalProperties': False}
replace_question
1問を差し替える
プリント案の1問を同じ字の別の問題に差し替えた新しいプリント案を作り、新しい問題一覧と確認用リンクを返します。元のリンクは元の内容のまま残ります。
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['proposalId', 'index', 'replacement'], 'properties': {'index': {'type': 'integer', 'maximum': 23, 'minimum': 0, 'description': '差し替えるマスの位置(問題一覧の index。0始まりで、番号とは別)。手本・空白のマスは差し替えられない。'}, 'proposalId': {'type': 'string', 'pattern': '^[0-9A-Za-z]{12}$', 'description': '差し替えるプリント案の ID(proposalId)。'}, 'replacement': {'type': 'object', 'required': ['type', 'char', 'itemId'], 'properties': {'char': {'type': 'string'}, 'type': {'enum': ['compound', 'reading', 'okurigana'], 'type': 'string'}, 'itemId': {'type': 'string', 'maxLength': 100, 'minLength': 1}}, 'description': '差し替え先の問題の ref(差し替え候補の検索結果に含まれるもの)。対象マスと同じ字に限る。', 'additionalProperties': False}}, 'additionalProperties': False}
Added
replace_question
Oct. 1, 2026, 2:40 a.m.
Added
create_kanji_worksheet
Oct. 1, 2026, 2:40 a.m.
Added
find_replacement_questions
Oct. 1, 2026, 2:40 a.m.
Added
check_available_kanji
Oct. 1, 2026, 2:40 a.m.