mcpbeat Sign in

Ask Grok MCP Server

local only

Ask Grok runs on your own machine — the client starts it, so there is no endpoint to ping. 119 installs a week from npm. Last commit 28 Oct 2026.

Consult Grok through xAI's metered API with exact model selection and no fallback

Installs per day peak 39 · avg 10 · +177% w/w
a month agotoday
119
Installs / week
npm · @ask-llm/grok-mcp
19
Stars
6 open issues
28 Oct 2026
Last commit
6 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 4 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Builds a database query by concatenation .github/workflows/ci.yml:71
      run: sudo apt-get update -qq && sudo apt-get install -y -qq zsh
    - name: Run test batch ${{ matrix.batch }}/5

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add ask-grok -e 'XAI_API_KEY=<XAI_API_KEY>' -- npx -y @ask-llm/grok-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ask-grok": {
      "command": "npx",
      "args": [
        "-y",
        "@ask-llm/grok-mcp"
      ],
      "env": {
        "XAI_API_KEY": "<XAI_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.ask-grok]
command = "npx"
args = ["-y", "@ask-llm/grok-mcp"]
env = { XAI_API_KEY = "<XAI_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "ask-grok": {
      "command": "npx",
      "args": [
        "-y",
        "@ask-llm/grok-mcp"
      ],
      "env": {
        "XAI_API_KEY": "<XAI_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ask-grok": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ask-llm/grok-mcp"
      ],
      "env": {
        "XAI_API_KEY": "<XAI_API_KEY>"
      }
    }
  }
}

Put your own value in place of <XAI_API_KEY> (xAI API key used only for requests to https://api.x.ai). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: ASK_GROK_HARNESS (Explicit harness: xai-api (default) or grok-cli; no automatic failover), ASK_GROK_MODEL (Exact selected-harness model override (API default grok-4.7; CLI default grok-4.7; no fallback)), ASK_GROK_REASONING_EFFORT (Reasoning effort: low, medium, high, or xhigh (default: high)), ASK_GROK_MAX_OUTPUT_TOKENS (xAI API output-token ceiling to bound accidental spend (default: 16384)), ASK_GROK_TIMEOUT_MS (Timeout for xAI API requests in milliseconds (default: 600000)), GMCPT_LOG_LEVEL (Log verbosity: debug, info, warn, error (default: warn)).

Alternatives to Ask Grok

same job, measured the same way
Zelinqa MCP
by zelinqa

Goal-oriented conversations and next-question selection through the Zelinqa API.

81 installs/wk local only
Corent
by gg13121

Generate images, videos, voice, and text via the Corent API. Auto model routing with fallback.

350 installs/wk local only
Hunchful
by hunchful

Read and grow a person's falsifiable, consent-based model of how they work with AI (CMP).

20 tools answering
Scrapegraph MCP
by scrapegraphai

AI-powered web scraping and data extraction capabilities through ScrapeGraph API

158 installs/wk local only
Recall
by imjakezimmer32

Notes, files, GitHub, and Drive through one MCP connection.

answering
Agent Budget Router
by kasp3965-bit

Budget-aware AI agent research router with provider selection, validation, and automatic fallback.

2 tools answering
dylog
by imjakezimmer32

Notes, files, GitHub, and Drive through one MCP connection.

answering
Microsoft 365 MCP Server
by softeria

Interact with Microsoft 365 and Office services through the Microsoft Graph API.

85 307 installs/wk local only

Ask Grok — questions

Answers built from our own checks of this server.

Why is there no uptime for Ask Grok?
Ask Grok runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @ask-llm/grok-mcp was installed 119 times last week.
How do I connect Ask Grok?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @ask-llm/grok-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Ask Grok?
The npm package @ask-llm/grok-mcp was installed 119 times in the last week. Week over week that is +177%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Ask Grok open source?
Yes — it is published under the MIT licence, written in TypeScript, 19 stars on GitHub and 6 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.