io.github.Lykhoyda/ask-grok
io.github.Lykhoyda/ask-grok
Consult Grok through xAI's metered API with exact model selection and no fallback
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"ask-grok": {
"command": "npx",
"args": [
"-y",
"@ask-llm/grok-mcp@0.3.0"
],
"env": {
"XAI_API_KEY": "<your XAI_API_KEY>",
"ASK_GROK_HARNESS": "xai-api",
"ASK_GROK_REASONING_EFFORT": "high",
"ASK_GROK_MAX_OUTPUT_TOKENS": "16384",
"ASK_GROK_TIMEOUT_MS": "600000",
"GMCPT_LOG_LEVEL": "warn"
}
}
}
}- XAI_API_KEYrequiredsecretxAI 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_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)
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Developer Tools
- Version
- 0.3.0
- Registry
- active
- Published
- 9/27/2026
More Developer Tools servers
Browse all Developer Tools →io.github.Lykhoyda/ask-llm
Lykhoyda
Unified MCP server for Gemini, Codex, Claude, Grok, Ollama, and Antigravity
io.github.Lykhoyda/ask-ollama
Lykhoyda
Bridge Claude with local Ollama LLMs for private AI-to-AI collaboration — no API keys, fully local
armguard-mcp
Lynn-hh
Safety-first MCP server for ROS 2 robot arms: server-side safety envelope, human approval, audit
U.S. Government Open Data
lzinga
Open data from 40+ U.S. government APIs: economy, spending, Congress, health, energy, disasters
io.github.lzx3in/mcp-aliyun-domain
lzx3in
MCP server for Alibaba Cloud Domain - check availability, query details, list domains, create orders
Zektor
m-akcan
Managed Postgres and Valkey hosted in Germany. Agents can create a trial database with no signup.
Add the badge to your site
Show visitors that io.github.Lykhoyda/ask-grok is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-lykhoyda-ask-grok?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.Lykhoyda/ask-grok — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-lykhoyda-ask-grok?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.