One Build Script Publishes a Game Ontology as HTML, Graph, Search, and AI Tools
A developer behind 'The Genome of Games' has built a single Node.js script that publishes 1,180 records across four distinct surfaces — static HTML pages, an interactive graph, a search index, and a Model Context Protocol (MCP) server — in under half a second with no npm dependencies. The knowledge base covers 168 game mechanics, 618 games, and 394 companies spanning 1962 to 2025, sourced from six hand-edited JSON files totalling around 1.3 MB. The build expands that source data 12.7× into over 16 MB of generated output, all of which can be deleted and fully regenerated on the next run. A key architectural decision was to have the MCP server statically import a pre-built index rather than query a live API, ensuring that AI agents and web crawlers always derive answers from the same single source of truth. The approach is presented as a reusable pattern for any structured knowledge base that must serve both search engines and AI models consistently.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in