# Math-MCP

Enable your LLMs to perform accurate numerical calculations with a simple API. Leverage basic arithmetic and statistical functions to enhance your applications. Simplify complex mathematical tasks ef…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add EthanHenrickson/math-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list EthanHenrickson/math-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get EthanHenrickson/math-mcp add

# Call a tool
npx -y @smithery/cli@latest tool call EthanHenrickson/math-mcp add '{}'
```

## Direct MCP Connection

Endpoint: `https://math-mcp--ethanhenrickson.run.tools`

## Tools (22)

- `add` — Adds two numbers together
- `subtract` — Subtracts the second number from the first number
- `multiply` — Multiplies two numbers together
- `division` — Divides the first number by the second number
- `sum` — Adds any number of numbers together
- `modulo` — Divides two numbers and returns the remainder
- `mean` — Calculates the arithmetic mean of a list of numbers
- `median` — Calculates the median of a list of numbers
- `mode` — Finds the most common number in a list of numbers
- `min` — Finds the minimum value from a list of numbers
- `max` — Finds the maximum value from a list of numbers
- `floor` — Rounds a number down to the nearest integer
- `ceiling` — Rounds a number up to the nearest integer
- `round` — Rounds a number to the nearest integer
- `sin` — Calculates the sine of a number in radians
- `arcsin` — Calculates the arcsine of a number in radians
- `cos` — Calculates the cosine of a number in radians
- `arccos` — Calculates the arccosine of a number in radians
- `tan` — Calculates the tangent of a number in radians
- `arctan` — Calculates the arctangent of a number in radians
- `radiansToDegrees` — Converts a radian value to its equivalent in degrees
- `degreesToRadians` — Converts a degree value to its equivalent in radians

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get EthanHenrickson/math-mcp <tool-name>
```

---

Source: https://github.com/EthanHenrickson/math-mcp
