MCP Calculator Server

by yinebebt

297 downloads Not rated yet

About

A Model Context Protocol (MCP) server that provides calculator functionality for MCP clients.

Explore

- Mathematical Operations: Supports addition (+), subtraction (-), multiplication (*), and division (/)
- MCP Protocol Compliance: Fully compatible with Claude Desktop and other MCP clients

go install github.com/yinebebt/mcp-calculator-server

Add this server to your Claude Desktop configuration file:

{
  "mcpServers": {
    "calculator": {
      "command": "/path/to/mcp-calculator-server"
    }
  }
}

A Model Context Protocol (MCP) server that provides calculator functionality for MCP clients.

Features

- Mathematical Operations: Supports addition (+), subtraction (-), multiplication (), and division (/)
- MCP Protocol Compliance: Fully compatible with Claude Desktop and other MCP clients

Installation

go install github.com/yinebebt/mcp-calculator-server

Configuration

Claude Desktop Configuration

Add this server to your Claude Desktop configuration file:

{
  "mcpServers": {
    "calculator": {
      "command": "/path/to/mcp-calculator-server"
    }
  }
}

Restart Claude Desktop

After updating the configuration, restart Claude Desktop to load the new server.

Usage

Once configured, you can ask Claude to perform calculations like "Can you calculate 2 + 3?"

Tool Reference

calculate

Performs basic mathematical operations.

Parameters:
- expression (string, required): A mathematical expression to evaluate

Supported operations:
- Addition: +
- Subtraction: -
- Multiplication:

- Division: /

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.