# Punchneedle.ai MCP server

> Converts images into punch needle patterns, estimates yarn requirements, and provides material compatibility guidance.

- Repository: https://github.com/pyxlino/punchneedle-mcp
- Page: https://hostedmcp.org/servers/punchneedle/punchneedle-ai
- Transport: remote
- Stars: 0
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add --transport http punchneedle-ai https://punchneedle.ai/api/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "punchneedle-ai": {
      "url": "https://punchneedle.ai/api/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "punchneedle-ai": {
      "type": "http",
      "url": "https://punchneedle.ai/api/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"punchneedle-ai","type":"http","url":"https://punchneedle.ai/api/mcp"}'
```

### Codex

```sh
codex mcp add punchneedle-ai --url https://punchneedle.ai/api/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.punchneedle-ai]
url = "https://punchneedle.ai/api/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http punchneedle-ai https://punchneedle.ai/api/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "punchneedle-ai": {
      "url": "https://punchneedle.ai/api/mcp",
      "type": "http"
    }
  }
}
```

## Tools (7)

- `make_pattern_from_image`
- `find_patterns`
- `get_pattern`
- `calculate_yarn`
- `resize_pattern`
- `match_materials`
- `get_material_guide`

## FAQ

### How can I create a pattern from an image?

You can provide an image address to convert a public PNG, JPEG, or WebP image into a stitch-grid pattern with yarn requirements.

### Can I estimate how much yarn I need?

Yes, the server can estimate yarn based on design size, color shares, needle/loop height, or a measured swatch.

### Does it check if my materials are compatible?

Yes, it can check if a specific needle, fabric, and yarn work together using the website's material guidance.
