Research & Data · Education & Learning

Math-MCP logo

Math-MCP

EthanHenrickson/math-mcp

A Model Context Protocol (MCP) server that provides basic mathematical, statistical and trigonometric functions to Large Language Models (LLMs). This server enables LLMs to perform accurate numerical calculations through a simple API.

Install

Client configuration

{
  "mcpServers": {
    "server": {
      "command": "node",
      "args": [
        "PATH\\TO\\PROJECT\\math-mcp\\build\\index.js"
      ]
    }
  }
}
GitHub stars
9
Category
Research & Data, Education & Learning
Updated
Oct 6, 2026

Features

  • Basic arithmetic operations (addition, subtraction, multiplication, division, sum, modulo)

  • Statistical functions (mean, median, mode, min, max)

  • Rounding functions (floor, ceiling, round)

  • Trigonometric functions (sin, cos, tan, and their inverses; degrees/radians conversions)

Tools (22)

  • add

    Adds two numbers together

  • subtract

    Subtracts the second number from the first number

  • multiply

    Multiplies two numbers together

  • division

    Divides the first number by the second number

  • sum

    Adds any number of numbers together

  • modulo

    Divides two numbers and returns the remainder

  • floor

    Rounds a number down to the nearest integer

  • ceiling

    Rounds a number up to the nearest integer

  • round

    Rounds a number to the nearest integer

  • mean

    Calculates the arithmetic mean of a list of numbers

  • median

    Calculates the median of a list of numbers

  • mode

    Finds the most common number in a list of numbers

  • min

    Finds the minimum value from a list of numbers

  • max

    Finds the maximum value from a list of numbers

  • sin

    Calculates the sine of a number in radians

  • arcsin

    Calculates the arcsine (in radians) of a number

  • cos

    Calculates the cosine of a number in radians

  • arccos

    Calculates the arccosine (in radians) of a number

  • tan

    Calculates the tangent of a number in radians

  • arctan

    Calculates the arctangent (in radians) of a number

  • radiansToDegrees

    Converts a radian value to its equivalent in degrees

  • degreesToRadians

    Converts a degree value to its equivalent in radians

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
Firecrawl MCP Server logo

Firecrawl MCP Server

mendableai/firecrawl-mcp-server

2.8k

A Model Context Protocol (MCP) server that brings Firecrawl to MCP-compatible AI agents — search, scrape, and interact with the live web for clean, agent-ready context.

Research & Data
Exa Web Search logo

Exa Web Search

exa-labs/exa-mcp-server

1.4k

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Research & Data
ArXiv logo

ArXiv

blazickjp/arxiv-mcp-server

1k

A local MCP server for agent literature work. The differentiator is original-LaTeX section reads, BibTeX from arXiv metadata, and topic watches. Papers stay on disk.

Research & Data
sail logo

sail

lakehq/sail

730

Sail is a drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads on a distributed, multimodal compute engine.

Research & Data

OpenAPI Proxy

janwilmake/openapi-mcp-server

554

A Model Context Protocol (MCP) server for Claude/Cursor that enables searching and exploring OpenAPI specifications through oapis.org.

Research & Data
Excel MCP Server logo

Excel MCP Server

haris-musa/excel-mcp-server

393

A Model Context Protocol server that lets AI assistants create, read and edit Excel workbooks. It needs no Microsoft Excel installation.

Research & Data