Reference
Data source: Free Dictionary API (Wiktionary)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/dictionary/
claude_desktop_config.json
{
"mcpServers": {
"gnist-dictionary": {
"url": "https://context.gnist.ai/mcp/dictionary/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/dictionary/" \
-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": "define_word", "arguments": {"word": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/dictionary/
3 endpoints available:
GET /rest/dictionary/define_wordGET /rest/dictionary/get_synonymsGET /rest/dictionary/report_feedback
Shell
curl "https://context.gnist.ai/rest/dictionary/define_word?word=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/dictionary/define_word",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"word": "example"
},
)
print(resp.json())
Command Line
Command
gc dictionary
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (3)
define_wordLook up an English word — definitions, pronunciations, examples, synonyms, and antonyms.
| Parameter | Type | Required | Description |
|---|---|---|---|
word | string | required | English word to look up (e.g. 'serendipity', 'ephemeral'). |
get_synonymsGet synonyms and antonyms for an English word.
| Parameter | Type | Required | Description |
|---|---|---|---|
word | string | required | English word to find synonyms and antonyms for. |
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") |