random_word
Pack: wordnik · Endpoint: https://gateway.pipeworx.io/wordnik/mcp
Return a single random word from Wordnik; filter by part of speech, min/max length, and minimum corpus or dictionary occurrence count.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
hasDictionaryDef | boolean | no | |
includePartOfSpeech | string | no | |
excludePartOfSpeech | string | no | |
minCorpusCount | number | no | |
minDictionaryCount | number | no | |
minLength | number | no | |
maxLength | number | no |
Example call
Arguments
{
"hasDictionaryDef": true,
"minLength": 5,
"maxLength": 10
}
curl
curl -X POST https://gateway.pipeworx.io/wordnik/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"random_word","arguments":{"hasDictionaryDef":true,"minLength":5,"maxLength":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('random_word', {
"hasDictionaryDef": true,
"minLength": 5,
"maxLength": 10
});
Response shape
| Field | Type | Description |
|---|---|---|
word | string | Random word |
id | number | Word ID |
Full JSON Schema
{
"type": "object",
"properties": {
"word": {
"type": "string",
"description": "Random word"
},
"id": {
"type": "number",
"description": "Word ID"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"wordnik": {
"url": "https://gateway.pipeworx.io/wordnik/mcp"
}
}
}
See Getting Started for client-specific install steps.