Skip to content
Gemini CLI

mathjs mcp for Gemini CLI

io.github.mrfentmen/mathjs-mcp

mathjs: evaluate any maths expression remotely with the math.js service - keyless.

client:Gemini CLI transport:stdio runtime:npm

Install mathjs mcp in Gemini CLI

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

{
  "mcpServers": {
    "mathjs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/mathjs-mcp"
      ]
    }
  }
}

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

mathjs mcp in other clients