Reference
Data source: In-memory curated collection
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/random-words/
claude_desktop_config.json
{
"mcpServers": {
"gnist-random-words": {
"url": "https://context.gnist.ai/mcp/random-words/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/random-words/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_words", "arguments": {"query": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/random-words/
5 endpoints available:
GET /rest/random-words/get_random_wordGET /rest/random-words/get_random_wordsGET /rest/random-words/search_wordsGET /rest/random-words/list_word_typesGET /rest/random-words/report_feedback
Shell
curl "https://context.gnist.ai/rest/random-words/search_words?query=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/random-words/search_words",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"query": "example"
},
)
print(resp.json())
Command Line
Command
gc random-words
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (5)
get_random_wordGet a random English word.
| Parameter | Type | Required | Description |
|---|---|---|---|
word_type | any | optional | Filter by word type (noun, verb, adjective, adverb). Omit for any type. |
min_length | any | optional | Minimum word length (inclusive). |
max_length | any | optional | Maximum word length (inclusive). |
get_random_wordsGet multiple random English words at once.
| Parameter | Type | Required | Description |
|---|---|---|---|
count | any | optional | Number of random words to return (default: 5, max: 50). |
word_type | any | optional | Filter by word type (noun, verb, adjective, adverb). Omit for any type. |
search_wordsSearch for words by substring.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search substring — matches word text or word type. |
max_results | any | optional | Maximum number of results (default: 20, max: 100). |
list_word_typesList all available word types.
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |