Skip to content
VS Code

Calculator for VS Code

io.github.slettmayer/calc-mcp-server

Exact arithmetic: one calculator tool over an AST allowlist, with integers exact at any size.

client:VS Code transport:stdio runtime:pypi

Install Calculator in VS Code

.vscode/mcp.json

{
  "servers": {
    "calc-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "calc-mcp-server"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

Calculator in other clients