Mathtools
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.
Ask AI about Mathtools
Powered by Claude Β· Grounded in docs
I know everything about Mathtools. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
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
