MCP Server

PlaySudoku

io.github.vincentping/playsudoku
Education Gaming Public & reachable MCP 2025-11-25

What this MCP does

Generates, checks, explains, and logically solves Sudoku puzzles with step-by-step deductions.

check_progress
Check a user's current progress against the correct solution. Returns factual information only: whether the puzzle is complete, whether all filled cells are correct, which cells are incorrect (with the entered digit), and how many cells remain empty. Does not give hints or coaching — use explain_next_step for that. Use this when the user asks "am I done?" or "did I make any mistakes?" Every response includes a solve_url where the same puzzle can be continued in the interactive solver.
Read only
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['puzzle', 'progress'], 'properties': {'puzzle': {'type': 'string', 'description': 'Original 81-char sudoku clue string (0 or . for empty cells).'}, 'progress': {'type': 'string', 'description': 'Current 81-char board state to check.'}}, 'additionalProperties': False}
explain_next_step
Get the next logical solving step for a sudoku puzzle, optionally from a partially-filled state. TWO-BOARD MODE (puzzle + progress) — use when you know both the original clue grid and the user's current work: puzzle: the original 81-char clue string (the given digits only, 0/. for empty cells). progress: the user's current 81-char board — must keep all original clue digits in place. This mode detects incorrect entries: if any user-filled cell contradicts the solution, the tool returns incorrect_cells instead of a step hint, so the user can correct errors before continuing. Use this when the user is solving a puzzle they received from get_sudoku_puzzle (puzzle is known). SINGLE-BOARD MODE (puzzle only, no progress) — use when the original clue grid is unknown (e.g. photo OCR): Pass the user's current full board as puzzle with no progress argument. The tool treats the board as both the clue grid and the current state, so it will not perform error checking (it cannot distinguish given digits from user entries). It simply returns the next logical step. Use this when you cannot separate the original clues from the user's entries. Returns: { technique, explanation, action, tutorial_links } on success, or { incorrect_cells, message } if errors found. Use this for step-by-step coaching — one hint at a time. Every response includes a solve_url for continuing the same board interactively and, on success, tutorial_links for the named technique.
Read only
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['puzzle'], 'properties': {'puzzle': {'type': 'string', 'description': 'Original 81-char sudoku clue string (0 or . for empty cells).'}, 'progress': {'type': 'string', 'description': 'Current board state (81-char string). Clue cells must remain unchanged. Optional — omit to get the very first hint.'}}, 'additionalProperties': False}
get_sudoku_puzzle
Get a random sudoku puzzle from the PlaySudoku.us collection. Puzzle is returned as an 81-character string: digits 1–9 for given cells, 0 for empty cells. The response includes the techniques required to solve the puzzle and a solve_url to the interactive solver. Difficulties: easy (30–38 givens), medium (44–50), hard (50–55), expert (56–62), evil (56–62). Optional: pass a technique name (e.g. "X-Wing", "Hidden Pair") to get a puzzle that specifically requires that technique — useful when the user wants to practice a particular solving method. If no puzzle at the requested difficulty uses that technique, the error message lists which difficulties do have it. Use solve_sudoku for a full step-by-step solution, or explain_next_step to get one hint at a time. Every response includes a solve_url where the same puzzle can be continued in the interactive solver.
Read only
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['difficulty'], 'properties': {'technique': {'type': 'string', 'description': 'Optional technique name to filter by (e.g. "X-Wing", "Hidden Pair", "Naked Triple"). The returned puzzle will require this technique to solve. Omit for a random puzzle of the given difficulty.'}, 'difficulty': {'enum': ['easy', 'medium', 'hard', 'expert', 'evil'], 'type': 'string', 'description': "Puzzle difficulty. Choose based on the user's skill level."}}, 'additionalProperties': False}
solve_sudoku
Solve a sudoku puzzle completely with step-by-step logical deduction. Input: 81-character string of digits (0 or . for empty cells). Whitespace is tolerated. Returns: every solving step with technique name + human-readable explanation + action, the final solution string, a technique summary (counts), and tutorial links. Only uses logical techniques — never guesses. If the puzzle cannot be solved logically, the steps will end before completion. Use this when the user wants to understand how to solve a puzzle from scratch. The response includes a solve_url for continuing the same board interactively and tutorial_links for techniques used in the solution.
Read only
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['puzzle'], 'properties': {'puzzle': {'type': 'string', 'description': '81-character sudoku string. Digits 1–9 for given cells, 0 or . for empty. Whitespace is ignored.'}}, 'additionalProperties': False}
Added
check_progress
Sept. 17, 2026, 12:53 p.m.
Added
explain_next_step
Sept. 17, 2026, 12:53 p.m.
Added
solve_sudoku
Sept. 17, 2026, 12:53 p.m.
Added
get_sudoku_puzzle
Sept. 17, 2026, 12:53 p.m.