io.github.Lykhoyda/ask-grok
Consult Grok through xAI's metered API with exact model selection and no fallback
The current version, v0.1.4, was published to the official MCP registry on 2026-09-11. It is distributed as @ask-llm/grok-mcp on npm, filed under Other by this index, and declares 7 environment variables. Removals and unreachable sources are measured across every server this index tracks, contract drift across the servers that answer in consecutive snapshots; the index's current counts put this record in context.
Using io.github.Lykhoyda/ask-grok in Claude, Cursor, Gemini CLI, Cline, or Zed?
MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).
Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less
uv tool install mcpindex-gate && mcpindex-config-wireVerdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands (15/150 labels to graduation). The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.
Own this server? Screen its description →
That verdict was true at screening time (snapshot 2026-09-11).
Contracts can change after screening, with no version bump. The gate pins io.github.Lykhoyda/ask-grok’s tool contracts on first sight and holds any silent change before your agent acts - the check that keeps being true on Tuesday.
See your first HOLD in 2 minutes →
Related: how to trust an MCP server · screen before install · silent contract drift
XAI_API_KEYxAI API key used only for requests to https://api.x.ai
ASK_GROK_HARNESSExplicit harness: xai-api (default) or grok-cli; no automatic failover
ASK_GROK_MODELExact selected-harness model override (API default grok-4.6; CLI default grok-build; no fallback)
ASK_GROK_REASONING_EFFORTReasoning effort: low, medium, high, or xhigh (default: high)
ASK_GROK_MAX_OUTPUT_TOKENSxAI API output-token ceiling to bound accidental spend (default: 16384)
ASK_GROK_TIMEOUT_MSTimeout for xAI API requests in milliseconds (default: 600000)
GMCPT_LOG_LEVELLog verbosity: debug, info, warn, error (default: warn)
Buy travel eSIMs, gift cards and mobile top-ups with crypto — user confirms before any order.
Give your AI agent a spending limit: approval controls and single-use virtual cards.
Bridge Claude with local Ollama LLMs for private AI-to-AI collaboration — no API keys, fully local