Skip to content
Grok

math tools mcp for Grok

io.github.mrfentmen/math-tools-mcp

Prime checks, factors, GCD, and basic statistics computed locally. No network and no key.

client:Grok transport:stdio runtime:npm

Install math tools mcp in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "math-tools-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "math-tools-mcp"
      ]
    }
  }
}

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

math tools mcp in other clients