Edge Case Museum
v0.2.1Edge Case Museum MCP — 'Your code works.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
edge_cases_find
Edge Case Museum: describe what you are implementing in plain words ("username uniqueness", "parse a CSV upload", "store and add up money amounts", "schedule a reminder in the user's timezone", "sort customer names") and get the surprising inputs that break that kind of code. Each exhibit gives the assumption it breaks, the exact input with escapes, what goes wrong, the fix, and a repro in your language whose expected_output was captured by actually running it (Python 3 or Node.js). Returns a short form plus refine_tags; use edge_case_get for the full exhibit or edge_cases_test_file for a runn…
| Parameter | Type | Description |
|---|---|---|
context * | string | What you are implementing, in plain words, e.g. "username uniqueness" or "parse a CSV upload". |
language | string | Language of the repro to include with each exhibit. "javascript" means Node.js. Omit for the first available repro. |
limit | number | Maximum exhibits to return (default 8, max 25). |
edge_case_get
Edge Case Museum: one exhibit in full by id (from edge_cases_find or edge_cases_browse): the assumption it breaks, the exact input, what goes wrong and why, every repro (executed Python/Node.js repros with their captured output and runtime version; other stacks labelled documented with a source), the fix, related exhibits, cited sources and test inputs.
| Parameter | Type | Description |
|---|---|---|
id * | string | Exhibit id, e.g. "nfc-nfd-same-name-two-accounts". |
edge_cases_browse
Edge Case Museum: browse the collection. With no arguments, lists the categories (unicode, datetime, float-money, sorting, filenames, parsing, integers, names-addresses) with counts and their most common tags. With category or tag, lists the exhibits in it: id, title, the assumption each breaks, tags and which languages have executed repros.
| Parameter | Type | Description |
|---|---|---|
category | string | Category to list. |
tag | string | Tag to list, e.g. "username", "csv", "timezone", "money". |
edge_cases_test_file
Edge Case Museum: one runnable test file (pytest for python, node:test for javascript) bundling the inputs from the exhibits relevant to what you are implementing, as parametrized cases you point at your own function. The file runs as generated against a stub, with TODO marks where your function goes; each case names its exhibit id so edge_case_get can explain a failure.
| Parameter | Type | Description |
|---|---|---|
context * | string | What you are implementing, e.g. "parse a CSV upload". |
language * | string | python produces a pytest file; javascript produces a node:test file. |