XKCD (Unofficial)

v1.1.2
io.github.pipeworx-io/xkcd Checked 4 days ago Published 19 days ago

Unofficial XKCD MCP — wraps xkcd.com JSON API (free, no auth)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

xkcd_get_latest

Fetch the most recently published XKCD comic. Returns comic number, title, image URL, alt/hover text, publication date, transcript (if available), and permalink.

get_comic

Fetch a specific XKCD comic by its number (e.g., 353 for 'Python'). Returns title, image URL, alt text, publication date, transcript, and permalink.

ParameterTypeDescription
number *numberThe XKCD comic number (e.g. 1, 353, 2867).

random_comic

Fetch a randomly selected XKCD comic from the full archive (skips #404). Returns comic number, title, image URL, alt text, publication date, and transcript.