related
Pack: wordnik · Endpoint: https://gateway.pipeworx.io/wordnik/mcp
Return words related to a given word by relationship type (synonym, antonym, hypernym, hyponym, etc.) from Wordnik’s relatedWords endpoint.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
word | string | yes | |
relationshipTypes | string | no | |
limitPerRelationshipType | number | no | |
useCanonical | boolean | no |
Example call
Arguments
{
"word": "happiness"
}
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":"related","arguments":{"word":"happiness"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('related', {
"word": "happiness"
});
More examples
{
"word": "beautiful",
"relationshipTypes": "synonym,antonym"
}
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"relationshipType": {
"type": "string",
"description": "Type of relationship"
},
"words": {
"type": "array",
"items": {
"type": "string"
},
"description": "Related words"
}
}
}
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
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.