find_related
Pack: words · Endpoint: https://gateway.pipeworx.io/words/mcp
Find words related to a given word by a specific relation type. Relation types: “syn” (synonyms), “ant” (antonyms), “rhy” (rhymes), “trg” (triggers/associated words), “jja” (adjectives for a noun), “jjb” (nouns for an adjective).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
word | string | yes | The word to find related words for |
relation | string | no | Relation type: “syn” (synonyms), “ant” (antonyms), “rhy” (rhymes), “trg” (associated words), “jja” (adjectives for noun), “jjb” (nouns for adjective). Default: “trg” |
limit | number | no | Maximum number of results to return (default: 10) |
Example call
Arguments
{
"word": "dog",
"relation": "trg"
}
curl
curl -X POST https://gateway.pipeworx.io/words/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_related","arguments":{"word":"dog","relation":"trg"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('find_related', {
"word": "dog",
"relation": "trg"
});
More examples
{
"word": "quick",
"relation": "jjb",
"limit": 6
}
Response shape
Always returns: word, relation, results
| Field | Type | Description |
|---|---|---|
word | string | The word related words were found for |
relation | string | The relation type used in the search |
results | array | List of related words ranked by score |
Full JSON Schema
{
"type": "object",
"properties": {
"word": {
"type": "string",
"description": "The word related words were found for"
},
"relation": {
"type": "string",
"description": "The relation type used in the search"
},
"results": {
"type": "array",
"description": "List of related words ranked by score",
"items": {
"type": "object",
"properties": {
"word": {
"type": "string",
"description": "The related word"
},
"score": {
"type": "number",
"description": "Relevance score"
}
},
"required": [
"word",
"score"
]
}
}
},
"required": [
"word",
"relation",
"results"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"words": {
"url": "https://gateway.pipeworx.io/words/mcp"
}
}
}
See Getting Started for client-specific install steps.