Labsco
MCP SERVER

MCP SGF Server

by ragnar-johannsson

Read a Go game record's details and render the board position as an image.

Games, Entertainment & Fandom
Summary
Two tools, and the second one produces a picture you can actually look at.

Reading an SGF as text tells you almost nothing about the position; rendering it at move 4 or across a range is what makes a game record discussable. SVG output is worth choosing when the diagram is going somewhere it will be resized.

What it is

A server for SGF files, the standard format for Go game records. It extracts the game metadata from SGF content and renders board diagrams at a chosen move or move range.

What you get
  • get-sgf-info — players, ranks, board size, komi, result, date and file format from SGF content
  • get-sgf-diagram — a board diagram at a given move, or across a move range
  • PNG or SVG output, returned as base64 with its MIME type
  • Three themes — classic, modern and minimal — plus optional coordinate labels and move numbers
  • Image size configurable from 100 to 2000 pixels per side, defaulting to 600
  • Board size detected from the SGF content, covering the common 9x9, 13x13 and 19x19 boards
  • Validation with detailed errors rather than a silent failure on malformed input
Requirements

Npx and the package mcp-sgf, run over stdio, or a global npm install. No credentials. You pass the SGF content itself, so the file does not need to be reachable by the server.

Setup effort

One command — npx mcp-sgf