About Mathtools
Mathtools is an MCP server in the Science category: mCP server with 12 math & statistics tools - precise arithmetic, statistics, unit conversion, percentages, financial calculations, base conversion, and more. Perfect for giving LLMs accurate math capabilities.
Install
claude mcp add mathtools -- npx -y mcp-mathtoolsnpx -y mcp-mathtoolsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (12)
base_convertConvert between number bases (2–36)
Parameters not published.
calcEvaluate math expressions safely (no eval) — supports sqrt, trig, log, etc.
Parameters not published.
compound_interestCompound interest with optional contributions
Parameters not published.
gcd_lcmGreatest common divisor and least common multiple
Parameters not published.
loan_paymentMonthly payment and total interest for loans
Parameters not published.
matrixAdd, multiply, transpose, determinant
Parameters not published.
percentagePercentage of, is-what-percent, percent change
Parameters not published.
prime_checkPrimality test with factorization
Parameters not published.
proportionSolve direct and inverse proportions
Parameters not published.
random_numberRandom integers or floats in a range
Parameters not published.
statisticsMean, median, mode, stddev, variance, range, sum
Parameters not published.
unit_convertLength, weight, temperature, data size, time
Parameters not published.
Ask AI
Ask AI about Mathtools
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
mcp-mathtools
MCP server with 12 math & statistics tools for Claude Desktop, Cursor, and any MCP-compatible AI assistant. Precise arithmetic, statistics, unit conversion, financial calculations, and more.
Install
{
"mcpServers": {
"mathtools": {
"command": "npx",
"args": ["-y", "mcp-mathtools"]
}
}
}
Tools (12)
| Tool | Description |
|---|---|
calc |
Evaluate math expressions safely (no eval) — supports sqrt, trig, log, etc. |
statistics |
Mean, median, mode, stddev, variance, range, sum |
percentage |
Percentage of, is-what-percent, percent change |
base_convert |
Convert between number bases (2–36) |
unit_convert |
Length, weight, temperature, data size, time |
compound_interest |
Compound interest with optional contributions |
loan_payment |
Monthly payment and total interest for loans |
proportion |
Solve direct and inverse proportions |
prime_check |
Primality test with factorization |
gcd_lcm |
Greatest common divisor and least common multiple |
random_number |
Random integers or floats in a range |
matrix |
Add, multiply, transpose, determinant |
Zero dependencies
Only requires @modelcontextprotocol/sdk. All tools use Node.js built-ins.
Part of the MCP Toolkit
Want all 60+ tools in one server? Try mcp-all-tools.
Support
If this tool saves you time, consider supporting development:
Like this? Try mcp-devutils
mcp-devutils — 44 developer tools in one MCP server. UUID, hash, JWT, JSON diff, AES encryption, and more. 15 free, unlock all 44 for $5.
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.