---
name: "xpay-math"
description: "Mathematical calculations, algebra, calculus, and statistics"
version: "1.0.0"
provider: "Math"
tools: 22
---

# Math

Mathematical calculations, algebra, calculus, and statistics

## Math

Mathematical calculations, algebra, calculus, and statistics

### Available Tools (22)

- **add**: Adds two numbers together — $0.01/call
- **subtract**: Subtracts the second number from the first number — $0.01/call
- **multiply**: Multiplies two numbers together — $0.01/call
- **division**: Divides the first number by the second number — $0.01/call
- **sum**: Adds any number of numbers together — $0.01/call
- **modulo**: Divides two numbers and returns the remainder — $0.01/call
- **mean**: Calculates the arithmetic mean of a list of numbers — $0.01/call
- **median**: Calculates the median of a list of numbers — $0.01/call
- **mode**: Finds the most common number in a list of numbers — $0.01/call
- **min**: Finds the minimum value from a list of numbers — $0.01/call
- **max**: Finds the maximum value from a list of numbers — $0.01/call
- **floor**: Rounds a number down to the nearest integer — $0.01/call
- **ceiling**: Rounds a number up to the nearest integer — $0.01/call
- **round**: Rounds a number to the nearest integer — $0.01/call
- **sin**: Calculates the sine of a number in radians — $0.01/call
- **arcsin**: Calculates the arcsine of a number in radians — $0.01/call
- **cos**: Calculates the cosine of a number in radians — $0.01/call
- **arccos**: Calculates the arccosine of a number in radians — $0.01/call
- **tan**: Calculates the tangent of a number in radians — $0.01/call
- **arctan**: Calculates the arctangent of a number in radians — $0.01/call
- *...and 2 more tools*


### Quick Start

```json
{
  "mcpServers": {
    "math": {
      "url": "https://math.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
    }
  }
}
```

### Pricing

$0.01 per tool call. Pay per use from your XPay wallet. No subscriptions.

Get an API key at [xpay.tools](https://xpay.tools).


**Tools:** 22
**Category:** Utility & Reference

## When to Use

Use Math tools when you need to mathematical calculations, algebra, calculus, and statistics. All tools are available through xpay✦'s single MCP connection.

## MCP Connection

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## Available Tools

- **Add** — Adds two numbers together — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/add/SKILL.md)
- **Subtract** — Subtracts the second number from the first number — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/subtract/SKILL.md)
- **Multiply** — Multiplies two numbers together — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/multiply/SKILL.md)
- **Division** — Divides the first number by the second number — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/division/SKILL.md)
- **Sum** — Adds any number of numbers together — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/sum/SKILL.md)
- **Modulo** — Divides two numbers and returns the remainder — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/modulo/SKILL.md)
- **Mean** — Calculates the arithmetic mean of a list of numbers — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/mean/SKILL.md)
- **Median** — Calculates the median of a list of numbers — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/median/SKILL.md)
- **Mode** — Finds the most common number in a list of numbers — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/mode/SKILL.md)
- **Min** — Finds the minimum value from a list of numbers — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/min/SKILL.md)
- **Max** — Finds the maximum value from a list of numbers — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/max/SKILL.md)
- **Floor** — Rounds a number down to the nearest integer — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/floor/SKILL.md)
- **Ceiling** — Rounds a number up to the nearest integer — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/ceiling/SKILL.md)
- **Round** — Rounds a number to the nearest integer — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/round/SKILL.md)
- **Sin** — Calculates the sine of a number in radians — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/sin/SKILL.md)
- **Arcsin** — Calculates the arcsine of a number in radians — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/arcsin/SKILL.md)
- **Cos** — Calculates the cosine of a number in radians — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/cos/SKILL.md)
- **Arccos** — Calculates the arccosine of a number in radians — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/arccos/SKILL.md)
- **Tan** — Calculates the tangent of a number in radians — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/tan/SKILL.md)
- **Arctan** — Calculates the arctangent of a number in radians — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/arctan/SKILL.md)
- **RadiansToDegrees** — Converts a radian value to its equivalent in degrees — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/radianstodegrees/SKILL.md)
- **DegreesToRadians** — Converts a degree value to its equivalent in radians — $0.01/call — [SKILL.md](https://xpay.tools/skills/math/degreestoradians/SKILL.md)

## How to Execute

1. **`xpay_discover`** — Search for tools: `xpay_discover("math")`
2. **`xpay_details`** — Get input schema: `xpay_details("math/TOOL_NAME")`
3. **`xpay_run`** — Execute: `xpay_run("math/TOOL_NAME", { ...inputs })`
4. **`xpay_balance`** — Check credits

## Links

- Provider page: https://xpay.tools/math/
- All providers: https://xpay.tools/explore
- Docs: https://docs.xpay.sh
