A comprehensive mathematical operations MCP (Model Context Protocol) server written in Go.
1.1K
A comprehensive mathematical operations MCP (Model Context Protocol) server written in Go. This server exposes 70+ mathematical tools that can be used by AI assistants and MCP-compatible clients.
linux/amd64 and linux/arm64docker run -d --rm -p 8080:8080 tejzpr/math-mcp-server
The server will be available at http://localhost:8080/mcp.
docker run -d --rm -p 8080:8080 \
-e MATH_CATEGORIES=arithmetic,trig,statistics \
tejzpr/math-mcp-server
docker run -i --rm -e TRANSPORT=stdio tejzpr/math-mcp-server
| Variable | Description | Default |
|---|---|---|
MATH_CATEGORIES | Comma-separated list of categories or all | all |
TRANSPORT | Transport protocol: stdio or http | http |
| Category | Tools |
|---|---|
arithmetic | add, subtract, multiply, divide, mod, remainder, abs |
power | pow, pow10, sqrt, cbrt, exp, exp2, expm1, hypot |
logarithm | log, log10, log2, log1p, logb |
trig | sin, cos, tan, asin, acos, atan, atan2, sincos |
hyperbolic | sinh, cosh, tanh, asinh, acosh, atanh |
rounding | ceil, floor, round, round_to_even, trunc |
comparison | max, min, dim, copysign |
special | gamma, lgamma, erf, erfc, erfinv, erfcinv, j0, j1, y0, y1 |
float_utils | frexp, ldexp, modf, ilogb, nextafter, fma, signbit, is_nan, is_inf |
conversion | degrees_to_radians, radians_to_degrees |
number_theory | gcd, lcm, factorial, fibonacci, is_prime, prime_factors |
statistics | sum, product, mean, median, mode, variance, std_dev, range_stat |
bitwise | bit_and, bit_or, bit_xor, bit_not, bit_left_shift, bit_right_shift |
complex | complex_abs, complex_phase, complex_conj, complex_exp, complex_log, complex_sqrt, complex_pow, complex_sin, complex_cos, complex_tan, complex_polar, complex_rect |
constants | Resource: math://constants |
{
"mcpServers": {
"math": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "TRANSPORT=stdio", "tejzpr/math-mcp-server"],
"env": {
"MATH_CATEGORIES": "all"
}
}
}
}
latest - Latest stable releasex.y.z - Specific version (e.g., 1.0.0)x.y - Minor version (e.g., 1.0)x - Major version (e.g., 1)Content type
Image
Digest
sha256:357d3d1a3…
Size
7 MB
Last updated
8 months ago
docker pull tejzpr/math-mcp-server