# Patchwork
> A catalog of interactive HTML artifacts that people and agents can reuse.
## Find an artifact
- [Catalog API](/api/artifacts): use optional q, category, limit, and offset query parameters. Use nextOffset to read more results.
- [Agent setup](/agents): API, file format, and MCP examples.
## Build from an artifact
Read /api/artifacts/{id} for a title, guide, version, format, and URLs.
Fetch the source URL for the self-contained HTML, including its styles and interaction logic.
Save the raw response as {id}.html and open it in a browser. Confirm the original interactions work, then make any changes the user requested.
## MCP
Connect with Streamable HTTP at /api/mcp. Tools: search_artifacts, get_artifact. Pass an artifact ID or a Patchwork page URL to get_artifact. Its html field is the same source as urls.source.