# @pipeworx/mcp-edge-case-museum [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/pipeworx-io/mcp-edge-case-museum  
**GitHub Stars:** 0  
**npm Downloads (last month):** 561  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pipeworx-mcp-edge-case-museum

## Description
Edge Case Museum MCP — 'Your code works. Except for these wonderfully terrible inputs.'

## Tools
Capabilities this server exposes over MCP:

- **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 runnable test file. Curated collection, keyword and tag matching, no upstream calls.
- **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.
- **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.
- **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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-edge-case-museum": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-edge-case-museum"]
  }
}
```

## Documentation

## What @pipeworx/mcp-edge-case-museum does

@pipeworx/mcp-edge-case-museum turns a plain-language implementation idea into a set of failure cases worth testing. Describe work such as parsing CSV uploads, enforcing username uniqueness, handling timezone-aware reminders, or adding monetary amounts, and the server identifies relevant exhibits from its collection.

The collection contains 122 exhibits across Unicode, dates and time, floating point and money, sorting and comparison, filenames and paths, parsing, integers, and names and addresses. Examples include normalization differences between NFC and NFD, daylight-saving gaps, two-digit-year interpretation, unsafe numeric precision, CSV byte-order marks, Windows filename conventions, and leading-zero ZIP codes.

Each exhibit explains the assumption it challenges, includes the exact input, describes the failure and a safer approach, and supplies a reproducible example where available. Python and JavaScript repros include captured output and the runtime used to produce it.

## How it works

Use `edge_cases_find` with a description of the behavior being implemented. The result ranks matching exhibits and includes tags that can be used for refinement. `edge_case_get` retrieves one exhibit with its repros, captured output, explanation, suggested fix, related cases, and cited sources. `edge_cases_browse` lists cases by category or tag when you want to inspect the collection directly.

For turning discovery into a regression suite, `edge_cases_test_file` creates either a pytest file or a `node:test` file. The generated cases run against a stub function marked for replacement; after substituting your implementation, failing cases point back to the relevant exhibit.

The repository’s harness executes repro code and records the resulting output. Exhibits also identify the runtime used for verification, which matters for behavior that can vary across language or runtime versions. Cases based on documentation rather than an executed stack are labeled accordingly.

## Setup and configuration

A remote MCP configuration can use the Pipeworx gateway endpoint:

```json
{
  "mcpServers": {
    "edge-case-museum": {
      "url": "https://gateway.pipeworx.io/edge-case-museum/mcp"
    }
  }
}
```

The remote endpoint also exposes shared Pipeworx tools such as `ask_pipeworx` and `discover_tools`.

For local use, run the package with npx:

```json
{
  "mcpServers": {
    "edge-case-museum": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-edge-case-museum"]
    }
  }
}
```

The local package contains the collection, requires no account or credentials, and makes no network calls. Authentication is keyless.

## Tools and capabilities

- `edge_cases_find({ context, language?, limit? })` finds relevant exhibits and returns refinement tags.
- `edge_case_get({ id })` returns the complete details for one exhibit, including repro output and sources.
- `edge_cases_browse({ category?, tag? })` explores cases by supported category or tag.
- `edge_cases_test_file({ context, language })` generates a runnable pytest or `node:test` file.

Supported collection categories include `unicode`, `datetime`, `float-money`, `sorting`, `filenames`, `parsing`, `integers`, and `names-addresses`. Example tags include `username`, `csv`, `money`, and `timezone`.

## Limitations and notes

The generated test file is a starting point: its stub must be replaced with the function under test. Reproducibility is tied to the language and runtime shown for each exhibit, and behavior on stacks that were not executed is identified as documented rather than verified. The collection uses invented names, addresses, and contact details; it does not contain real people’s personal information.

Exhibits cite standards or documentation such as Unicode annexes, RFCs, ECMAScript references, IEEE 754, ISO 4217, IANA time-zone data, and language documentation. Some inputs are drawn from the Big List of Naughty Strings, whose referenced material is available under the MIT license.

_Full upstream README: https://allmcps.com/mcp/pipeworx-mcp-edge-case-museum/readme_

