Skip to content
Grok

mcp for Grok

io.github.clocknext/mcp

Meter usage and manage usage-based billing from AI tools via the ClockNext API.

client:Grok transport:stdio runtime:npm

Install mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@clocknext/mcp"
      ],
      "env": {
        "CLOCKNEXT_API_KEY": "<CLOCKNEXT_API_KEY>",
        "CLOCKNEXT_BASE_URL": "<CLOCKNEXT_BASE_URL>",
        "CLOCKNEXT_DOCS_URL": "<CLOCKNEXT_DOCS_URL>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

mcp in other clients