Math.Tools MCP Server

tools.mathPublished by math.toolsOfficial publisherv1.0.0Updated Nov 17, 2026

Number theory, numeral conversion, pi digits, number spelling, and equation-image rendering.

VerifiedStreamable HTTPWeb executableData & Analytics

Overview

AI-generated overview

Remote math.tools endpoint giving an assistant number-theory checks, numeral and base conversion, pi digits, number spelling, and equation images.

What you can do
  • Check numbers: primality and shape checks, prime factorization, divisors, totient, aliquot sum, coprimality
  • Compute GCF/LCM and list the first N primes, composites, or palindromes
  • Convert numbers between bases 2-64 and to Roman, Chinese, Egyptian, Babylonian, or Mayan numerals
  • Spell numbers as cardinal, ordinal, or currency words
  • Fetch pi digits and number trivia, including a number of the day
  • Render compact LaTeX-like equations as PNG images
When to use it
Useful when an assistant needs reliable arithmetic lookups or conversions rather than guessing: number-theory facts, base and numeral-system conversion, spelled-out numbers, pi digits, or a rendered equation image.
Requirements
Remote streamable HTTP endpoint at math.tools; no local install. Tool discovery needs no token, but every tool call requires a math.tools API token with the numbers:* and/or equations:image ability, obtained by subscription or a time-boxed pass.
Before you install
Calls are metered by a paid API token, so usage may incur subscription or pass costs. The token is a credential and should be kept private. Equation rendering sends the equation text to math.tools.

Installation

In SourceWeft

  1. Open Math.Tools MCP Server in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/tools.math%2Fmath-tools/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "math-tools": {
      "type": "http",
      "url": "https://math.tools/mcp/math-tools"
    }
  }
}

Tools

10

pi-digits

Pi Digits Tool

Returns a slice of the digits of pi. Requires a math.tools API token (numbers:* ability).

Parameterstofrom

number-facts

Number Facts Tool

Get a trivia fact about a specific number, a batch of random integers, or today's curated number of the day. Requires a math.tools API token (numbers:* ability).

Parametersmaxmintotalactionrequirednumbercategory

spell-number

Spell Number Tool

Spell a number out in words: cardinal (e.g. "seven"), ordinal (e.g. "7th"), or currency (e.g. "seven dollars"). Requires a math.tools API token (numbers:* ability).

Parameterslangactionrequirednumberrequired

convert-numeral

Convert Numeral Tool

Convert a base-10 number to another numeral system: Roman, Chinese, Egyptian, Babylonian (sexagesimal digits), or Mayan (vigesimal, real Unicode glyphs). Requires a math.tools API token (numbers:* ability).

Parametersnumberrequiredsystemrequired

gcf-lcm

Gcf Lcm Tool

Compute the greatest common factor (GCF/GCD) or least common multiple (LCM) of two or more numbers. Requires a math.tools API token (numbers:* ability).

Parametersoprequirednumbersrequired

number-lists

Number Lists Tool

The first N prime numbers, composite numbers, or palindromic numbers. Requires a math.tools API token (numbers:* ability).

Parameterskindrequiredcount

convert-base

Convert Base Tool

Convert a number from one base to another (2-64). Common shorthands: to=2 for binary, to=8 for octal, to=16 for hex. Requires a math.tools API token (numbers:* ability).

Parameterstorequiredfromnumberrequired

number-theory-check

Number Theory Check Tool

Run a primality/shape check on a number, or get its prime factorization. Requires a math.tools API token (numbers:* ability).

Parameterscheckrequirednumberrequired

number-properties

Number Properties Tool

Divisor-related properties of a number: abundant/deficient/squarefree checks, Euler's totient, divisor count/sum, aliquot sum, or whether two numbers are coprime. Requires a math.tools API token (numbers:* ability).

Parametersabnumberpropertyrequired

equation-image

Equation Image Tool

Render a math equation (compact LaTeX-like markup) as a PNG image. Requires a math.tools API token (equations:image ability).

Parametersequationrequiredfontsize

Version history

1
  1. v1.0.0LatestNov 17, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.

Other Math integrations