Skip to content
Grok

python for Grok

io.github.dave-london/python

Structured Python tool output (ruff, mypy, pip-audit, pip-install) as typed JSON.

client:Grok transport:stdio runtime:npm

Install python in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "python": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@paretools/python"
      ]
    }
  }
}

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

python in other clients