# Nanoid Generate — MCP tool `findutils:nanoid_generate`

Generate one or more NanoID-style identifiers. Defaults to the standard 21-char URL-safe alphabet used by the npm `nanoid` package. Uses rejection sampling so custom alphabets stay unbiased.

- Category: generators
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/nanoid-generate/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/nanoid-generate/
- Same tool on the other surface: https://findutils.com/api/nanoid-generate/

## Connect

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Claude Desktop (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}
```

## Call the tool (verified example)

```bash
curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "nanoid_generate",
      "arguments": {
        "count": 1
      }
    }
  }'
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `size` | integer | no | Length of each ID. Default: 21. |
| `count` | integer | no | How many IDs to generate. Default: 1. |
| `alphabet` | string | no | Character set to draw from. Default: nanoid URL-safe. |

Example arguments (verified):

```json
{
  "count": 1
}
```

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/nanoid-generate/execute \
  -H "Content-Type: application/json" \
  -d '{
    "count": 1
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/nanoid-generate
```

Full REST reference: https://findutils.com/api/nanoid-generate/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
