Skip to main content
Glama
mcp-math

mcp-math

by jaknow01

mcp-math

Exact calculations over numbers, as an MCP server — so a model computes averages, trends and correlations in code instead of in its head. No data source of its own: the client passes the numbers.

Tool

What it does

calculate_statistics

count, sum, mean, median, min, max, range, standard deviation, variance

percentage_change

absolute and % change between an old and a new value

linear_trend

least-squares slope/direction over an ordered sequence

correlation

Pearson correlation of two equal-length series

whoami

which client your key belongs to

Part of the Jarvis tool servers; built on jarvis-mcp-kit (API keys, rate limits, logs).

Run

cp config/clients.example.yaml config/clients.yaml
uv run jarvis-mcp-keys new me --servers math     # paste the printed block into config/clients.yaml
uv run mcp-math serve                            # http://localhost:8010/mcp/math

Docker: docker run -p 8010:8010 -v $PWD/config:/config ghcr.io/jaknow01/mcp-math:latest. Kubernetes: deploy/kubernetes.yaml.

Related MCP server: precisioncalc-mcp

Connect

  • Claude Code: claude mcp add --transport http math https://<host>/mcp/math --header "Authorization: Bearer jvk_…"

  • Claude app (custom connector): URL https://<host>/mcp/math/jvk_… (key in the path, no OAuth)

  • Jarvis: an entry in its config/subagents.yaml pointing at the in-cluster URL.

Configuration: see .env.example and the kit README.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      The most comprehensive everyday calculator MCP server — 501 tools across 22 categories covering 8 countries' tax systems (FR, BE, CH, CA, US, UK, MA, SN). Finance, health, math, science, construction, conversions, education, sport, cooking, travel, and more. Free, no API key required. Streamable HTTP transport.
      15
      23 npm
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      An MCP server that provides deterministic, high-precision business, finance, and operational calculations such as SaaS metrics, currency conversion, business days, and financial formulas, returning structured JSON results.
      11
      41 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to perform basic arithmetic operations such as addition, subtraction, multiplication, and division through a remotely hosted HTTP endpoint.
      303 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables LLMs to perform deterministic arithmetic, high-precision decimal math, unit conversions, statistics, finance, matrix operations, complex-number calculations, numerical calculus, probability distributions, date math, and root solving through MCP tools. It supports both Streamable HTTP and stdio transport.
      13
      MIT