Entertainment
Data source: In-memory curated collection
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/jokes/
claude_desktop_config.json
{
"mcpServers": {
"gnist-jokes": {
"url": "https://context.gnist.ai/mcp/jokes/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/jokes/" \
-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_jokes", "arguments": {"query": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/jokes/
5 endpoints available:
GET /rest/jokes/get_random_jokeGET /rest/jokes/get_random_jokesGET /rest/jokes/search_jokesGET /rest/jokes/list_joke_categoriesGET /rest/jokes/report_feedback
Shell
curl "https://context.gnist.ai/rest/jokes/search_jokes?query=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/jokes/search_jokes",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"query": "example"
},
)
print(resp.json())
Command Line
Command
gc jokes
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (5)
get_random_jokeGet a random joke.
| Parameter | Type | Required | Description |
|---|---|---|---|
category | any | optional | Filter by category (e.g. Programming, Dad Jokes, Science, Math). Omit for any category. |
get_random_jokesGet multiple random jokes.
| Parameter | Type | Required | Description |
|---|---|---|---|
count | any | optional | Number of jokes to return (1-20, default 5). |
category | any | optional | Filter by category. Omit for any category. |
search_jokesSearch for jokes by keyword.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search keyword — matches joke text, punchline, or category. |
max_results | any | optional | Maximum number of results (default: 20, max: 100). |
list_joke_categoriesList all available joke categories.
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") |