Back to MCP Servers

Server Calculator

This server enables LLMs to use calculator for precise numerical calculations

other-tools-and-integrationsllm

Installation

npx -y mcp-server-calculator

Configuration

{
  "mcpServers": {
    "mcp-server-calculator": {
      "command": "npx",
      "args": ["-y", "mcp-server-calculator"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub