Skip to content
Grok

apimodels for Grok

io.github.stimqq/apimodels-mcp

Image, video, chat and speech models with one API key. The model can review its own images.

client:Grok transport:stdio runtime:npm

Install apimodels 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": {
    "apimodels-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "apimodels-mcp"
      ],
      "env": {
        "APIMODELS_API_KEY": "<APIMODELS_API_KEY>",
        "APIMODELS_BASE_URL": "<APIMODELS_BASE_URL>",
        "APIMODELS_WAIT_SECONDS": "<APIMODELS_WAIT_SECONDS>",
        "APIMODELS_TIMEOUT_MS": "<APIMODELS_TIMEOUT_MS>"
      }
    }
  }
}

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

apimodels in other clients