Data source: In-memory curated collection
https://context.gnist.ai/mcp/random-words/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (5)
get_random_wordGet a random English word.
Returns a word with its type and length. Optionally filter by word type and length range.
| 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). |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_random_word",
"arguments": {}
}
}get_random_wordsGet multiple random English words at once.
Returns a list of words, optionally filtered by type. Words are sampled without repeats.
| 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. |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_random_words",
"arguments": {}
}
}search_wordsSearch for words by substring.
Searches across word text and word types. Case-insensitive.
| 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). |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "search_words",
"arguments": {
"query": "example"
}
}
}list_word_typesList all available word types.
Returns the type names that can be used to filter random words (noun, verb, adjective, adverb).
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "list_word_types",
"arguments": {}
}
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "report_feedback",
"arguments": {
"feedback": "example"
}
}
}Quick Start
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"}}}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/mcp/random-words/",
headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
json={
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "search_words",
"arguments": {
"query": "example"
}
}
},
)
print(resp.json())