Search / io.github.Lykhoyda/ask-grok
ask-grok
L0· runs locallyConsult Grok through xAI's metered API with exact model selection and no fallback
v0.3.0 · active · repository · descriptor JSON · versions
Search / io.github.Lykhoyda/ask-grok
L0· runs locallyConsult Grok through xAI's metered API with exact model selection and no fallback
v0.3.0 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"ask-grok": {
"command": "npx",
"args": [
"-y",
"@ask-llm/[email protected]"
],
"env": {
"XAI_API_KEY": "${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"
}
}
}
}claude mcp add ask-grok -e "XAI_API_KEY=${XAI_API_KEY}" -e "ASK_GROK_HARNESS=xai-api" -e "ASK_GROK_REASONING_EFFORT=high" -e "ASK_GROK_MAX_OUTPUT_TOKENS=16384" -e "ASK_GROK_TIMEOUT_MS=600000" -e "GMCPT_LOG_LEVEL=warn" -- npx -y @ask-llm/[email protected][mcp_servers.ask-grok]
command = "npx"
args = ["-y", "@ask-llm/[email protected]"]
env = { "XAI_API_KEY" = "${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" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ask-grok": {
"type": "local",
"command": [
"npx",
"-y",
"@ask-llm/[email protected]"
],
"enabled": true,
"environment": {
"XAI_API_KEY": "{env: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"
}
}
}
}{
"mcpServers": {
"ask-grok": {
"command": "npx",
"args": [
"-y",
"@ask-llm/[email protected]"
],
"env": {
"XAI_API_KEY": "${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"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=ask-grok&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBhc2stbGxtL2dyb2stbWNwQDAuMy4wIl0sImVudiI6eyJYQUlfQVBJX0tFWSI6IiR7WEFJX0FQSV9LRVl9IiwiQVNLX0dST0tfSEFSTkVTUyI6InhhaS1hcGkiLCJBU0tfR1JPS19SRUFTT05JTkdfRUZGT1JUIjoiaGlnaCIsIkFTS19HUk9LX01BWF9PVVRQVVRfVE9LRU5TIjoiMTYzODQiLCJBU0tfR1JPS19USU1FT1VUX01TIjoiNjAwMDAwIiwiR01DUFRfTE9HX0xFVkVMIjoid2FybiJ9fQ%3D%3D"
}{
"servers": {
"ask-grok": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ask-llm/[email protected]"
],
"env": {
"XAI_API_KEY": "${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"
}
}
}
}{
"mcpServers": {
"ask-grok": {
"command": "npx",
"args": [
"-y",
"@ask-llm/[email protected]"
],
"env": {
"XAI_API_KEY": "${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"
}
}
}
}extensions:
"ask-grok":
enabled: true
name: "ask-grok"
type: stdio
cmd: "npx"
args:
- "-y"
- "@ask-llm/[email protected]"
envs:
"XAI_API_KEY": "${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"
timeout: 300
Placeholders to fill from your own secret store: ${XAI_API_KEY}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulns, deps.mcp_sdk_version, deps.resolvabledeps.dev does not know @ask-llm/[email protected]No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo ~liveness-unmeasured +updated-23d-ago -duplicate-repo(7 names)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
@ask-llm/[email protected] npmthis version is not known to the dependency resolver
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
@ask-llm/grok-mcp | npm | 0.3.0 | – | XAI_API_KEY |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
6 other active names share this repository: io.github.Lykhoyda/ask-antigravity, io.github.Lykhoyda/ask-claude, io.github.Lykhoyda/ask-codex, io.github.Lykhoyda/ask-gemini, io.github.Lykhoyda/ask-llm, io.github.Lykhoyda/ask-ollama
{
"name": "io.github.Lykhoyda/ask-grok",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.3.0",
"packages": [
{
"version": "0.3.0",
"transport": {
"type": "stdio"
},
"identifier": "@ask-llm/grok-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "XAI_API_KEY",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "xAI API key used only for requests to https://api.x.ai"
},
{
"name": "ASK_GROK_HARNESS",
"format": "string",
"default": "xai-api",
"description": "Explicit harness: xai-api (default) or grok-cli; no automatic failover"
},
{
"name": "ASK_GROK_MODEL",
"format": "string",
"description": "Exact selected-harness model override (API default grok-4.7; CLI default grok-4.7; no fallback)"
},
{
"name": "ASK_GROK_REASONING_EFFORT",
"format": "string",
"default": "high",
"description": "Reasoning effort: low, medium, high, or xhigh (default: high)"
},
{
"name": "ASK_GROK_MAX_OUTPUT_TOKENS",
"format": "string",
"default": "16384",
"description": "xAI API output-token ceiling to bound accidental spend (default: 16384)"
},
{
"name": "ASK_GROK_TIMEOUT_MS",
"format": "string",
"default": "600000",
"description": "Timeout for xAI API requests in milliseconds (default: 600000)"
},
{
"name": "GMCPT_LOG_LEVEL",
"format": "string",
"default": "warn",
"description": "Log verbosity: debug, info, warn, error (default: warn)"
}
]
}
],
"repository": {
"url": "https://github.com/Lykhoyda/ask-llm",
"source": "github"
},
"description": "Consult Grok through xAI's metered API with exact model selection and no fallback"
}