xpay tools logo
  • Providers
  • Collections
  • Explore
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Providers
  4. ›
  5. Math

Math logo

Math

22 tools

$0.01/call

Mathematical calculations, algebra, calculus, and statistics

​
​
Add
add

Adds two numbers together


flat

$0.01/call

Subtract
subtract

Subtracts the second number from the first number


flat

$0.01/call

Multiply
multiply

Multiplies two numbers together


flat

$0.01/call

Division
division

Divides the first number by the second number


flat

$0.01/call

Sum
sum

Adds any number of numbers together


flat

$0.01/call

Modulo
modulo

Divides two numbers and returns the remainder


flat

$0.01/call

Mean
mean

Calculates the arithmetic mean of a list of numbers


flat

$0.01/call

Median
median

Calculates the median of a list of numbers


flat

$0.01/call

Mode
mode

Finds the most common number in a list of numbers


flat

$0.01/call

Min
min

Finds the minimum value from a list of numbers


flat

$0.01/call

Max
max

Finds the maximum value from a list of numbers


flat

$0.01/call

Floor
floor

Rounds a number down to the nearest integer


flat

$0.01/call

Ceiling
ceiling

Rounds a number up to the nearest integer


flat

$0.01/call

Round
round

Rounds a number to the nearest integer


flat

$0.01/call

Sin
sin

Calculates the sine of a number in radians


flat

$0.01/call

Arcsin
arcsin

Calculates the arcsine of a number in radians


flat

$0.01/call

Cos
cos

Calculates the cosine of a number in radians


flat

$0.01/call

Arccos
arccos

Calculates the arccosine of a number in radians


flat

$0.01/call

Tan
tan

Calculates the tangent of a number in radians


flat

$0.01/call

Arctan
arctan

Calculates the arctangent of a number in radians


flat

$0.01/call

RadiansToDegrees
radiansToDegrees

Converts a radian value to its equivalent in degrees


flat

$0.01/call

DegreesToRadians
degreesToRadians

Converts a degree value to its equivalent in radians


flat

$0.01/call

Connect Math tools
​
​

Cursor

Claude Code

Claude Desktop

Windsurf

VS Code

Cline

Roo Code

ChatGPT

Gemini CLI

Amazon Q

Goose

Augment

n8n

API / cURL

AI SDK

TypeScript SDK

Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "math": {
      "url": "https://math.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Or connect all tools

Access all tools (including Math) through a single MCP connection.

https://mcp.xpay.sh/mcp?key=***
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Agent Discovery

Machine-readable catalogs for LLM agents and automation.

llms.txt — Human-readable tool catalog
curl https://xpay.tools/llms.txt
agents.txt — Structured JSON for agents
curl https://xpay.tools/agents.txt
skill.md — Claude Code skill
curl https://xpay.tools/skill.md
Pricing

Pay per tool call. No subscriptions.

22 Math tools available
Frequently Asked Questions

Math is an API provider available on xpay with 22 tools. Mathematical calculations, algebra, calculus, and statistics All tools are pay-per-call with no monthly fees.

Math tools are priced at $0.01/call. You only pay when you use a tool — there are no subscriptions or monthly fees. New accounts get $5 in free credits to try any tool.

Add xpay's MCP server to your AI client (Claude Code, Cursor, VS Code, Windsurf, or Cline) with the endpoint: https://mcp.xpay.sh/mcp?key=YOUR_API_KEY. Once connected, use xpay_discover to find Math tools, then xpay_run to execute them. For Claude Code: claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

Math provides 22 tools: add, subtract, multiply, division, sum, and 17 more. Each tool can be called independently and has its own pricing.

No. With xpay, one API key gives you access to all 22 Math tools plus 1000+ tools from 80+ other providers. You don't need to sign up for Math's API directly — xpay handles authentication, billing, and rate limiting.

Yes. Every new xpay account gets $5 in free credits. You can use these credits to try any Math tool — no credit card required. Sign up at xpay.tools to get started.

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

Product
ExploreCollectionsBundles
Resources
Documentationxpay.shGitHub

© 2026 Agentically Inc. All rights reserved.Microtransactions happen via Stablecoins