Skip to content
Gemini CLI

math tools mcp for Gemini CLI

io.github.mrfentmen/math-tools-mcp

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

client:Gemini CLI transport:stdio runtime:npm

Install math tools mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

math tools mcp in other clients