Nanoid Generate

Generators REST API MCP

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.

This page documents the HTTP endpoint POST /api/tools/nanoid-generate/execute. See the MCP reference →

View as Markdown

Call it over REST

POST https://api.findutils.com/api/tools/nanoid-generate/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

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

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/nanoid-generate

Interactive docs · OpenAPI 3.1 spec · All REST tools

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)

{
  "count": 1
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:nanoid_generate after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Nanoid Generate →

More Generators tools