Utilities
Data source: RDAP (Registration Data Access Protocol)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/whois-lookup/
claude_desktop_config.json
{
"mcpServers": {
"gnist-whois-lookup": {
"url": "https://context.gnist.ai/mcp/whois-lookup/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/whois-lookup/" \
-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": "whois_lookup", "arguments": {"domain": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/whois-lookup/
2 endpoints available:
GET /rest/whois-lookup/whois_lookupGET /rest/whois-lookup/report_feedback
Shell
curl "https://context.gnist.ai/rest/whois-lookup/whois_lookup?domain=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/whois-lookup/whois_lookup",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"domain": "example"
},
)
print(resp.json())
Command Line
Command
gc whois-lookup
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (2)
whois_lookupLook up domain registration (WHOIS) information.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | required |
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") |