Reference
Data source: Curated public-domain collection
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/famous-quotes/
claude_desktop_config.json
{
"mcpServers": {
"gnist-famous-quotes": {
"url": "https://context.gnist.ai/mcp/famous-quotes/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/famous-quotes/" \
-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_quotes", "arguments": {"query": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/famous-quotes/
6 endpoints available:
GET /rest/famous-quotes/get_random_quoteGET /rest/famous-quotes/search_quotesGET /rest/famous-quotes/get_quotes_by_authorGET /rest/famous-quotes/list_categoriesGET /rest/famous-quotes/list_authorsGET /rest/famous-quotes/report_feedback
Shell
curl "https://context.gnist.ai/rest/famous-quotes/search_quotes?query=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/famous-quotes/search_quotes",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"query": "example"
},
)
print(resp.json())
Command Line
Command
gc famous-quotes
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (6)
get_random_quoteGet a random famous quote.
| Parameter | Type | Required | Description |
|---|---|---|---|
category | any | optional | Filter by category (e.g. wisdom, science, humor). Omit for any category. |
search_quotesSearch for famous quotes by keyword.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search keyword — matches quote text, author name, or category. |
max_results | any | optional | Maximum number of results (default: 10, max: 100). |
get_quotes_by_authorGet all quotes by a specific author.
| Parameter | Type | Required | Description |
|---|---|---|---|
author | string | required | Author name (case-insensitive, partial match). |
max_results | any | optional | Maximum number of results (default: 10, max: 100). |
list_categoriesList all available quote categories.
list_authorsList all authors in the quotes database.
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") |