PatternHoop

免费、只读的十字绣工具:DMC 和 Anchor 线色、DMC 到 Anchor 的转换、任意颜色最接近的 DMC 线色、图案尺寸、博客搜索。无需密钥。

托管 MCP 服务器

npx add-mcp 'https://patternhoop.com/api/mcp'

可安装到 Claude Code、Codex、Cursor 等客户端

文档

PatternHoop for developers and AI agents

Updated November 10, 2026

PatternHoop has free, read-only tools for programs and AI agents: look up DMC and Anchor thread colours, convert a thread between the two brands, match any colour to DMC threads, work out the size of a pattern and the fabric for it, and search the cross-stitch blog. There is no key and no sign-up. Making a pattern from a photo stays in the editor: the photo never leaves the person's browser.

Tools

  • get_dmc_color: a DMC thread by its number ("310", "Blanc", "B5200"): name, hex, RGB and colour family.
  • get_anchor_color: an Anchor thread by its number ("403", "2"): name, hex, RGB and colour family.
  • find_nearest_dmc_colors: the DMC threads closest to any colour (#rrggbb or rgb()), ranked by CIEDE2000, the matching the editor uses.
  • list_dmc_colors: all 489 DMC colours, by colour family or by a search in the number and name.
  • convert_thread: the closest threads of the other brand for a DMC or Anchor number, nearest first, with the CIEDE2000 distance and a rating (same, close, noticeable, far). Calculated by colour: approximate, not an official manufacturer equivalent.
  • pattern_size: finished size in cm and inches for width × height stitches on Aida 11, 14, 16 or 18, the fabric to cut and stitches per skein.
  • search_articles: articles of the blog in English, Russian, Ukrainian, Spanish, Polish, German or Portuguese.

REST API

JSON over HTTPS at https://patternhoop.com/api/v1, described by OpenAPI and listed in the API catalog (RFC 9727). Examples:

  • GET /api/v1/colors/310
  • GET /api/v1/anchor-colors/403
  • GET /api/v1/convert?from=dmc&code=310&limit=3
  • GET /api/v1/colors/nearest?color=%23c0392b&limit=3
  • GET /api/v1/colors?family=blues
  • GET /api/v1/pattern-size?width=140&height=100&aida=14
  • GET /api/v1/articles?query=aida&locale=en

Errors come as problem details (RFC 9457). CORS is open. Please keep to a few requests a second: the edge blocks bursts for a few seconds.

MCP server

Streamable HTTP at https://patternhoop.com/api/mcp, stateless, with the same seven tools, all read-only. Its server card describes it. Add it to an MCP client as a remote server with that URL; no authorization is needed.

A2A agent

An Agent2Agent agent at https://patternhoop.com/api/a2a (JSON-RPC), described by its agent card. It answers message/send with the same skills. Send a data part {"skill": "find_nearest_dmc_colors", "input": {"color": "#c0392b"}}, or plain text such as "DMC 310", "Anchor 403", "DMC 310 in Anchor", "#c0392b" or "140x100 aida 14".

In the browser

On the editor page, browsers with WebMCP get tools to change the pattern settings and read the thread list, so an agent working in the page can help with the pattern.

Discovery

llms.txt, llms-full.txt, the agent skill, the ARD catalog, auth.md and DNS-AID records under _agents.patternhoop.com. Every page also answers Accept: text/markdown with Markdown.

Terms

The data is free to use. DMC and Anchor are trademarks of their owners; the colours are approximations of the real threads. The terms of use apply. Questions: privacy@patternhoop.com.