Skip to content
MCP server

Polymath Megablaster MCP

Local MCP server of 16 exact tools for math, dates, units, subnets and token counts

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, Linux, macOS
Runs
Locally
Version
3.1.0
Listing updated
today

Similar MCP servers

About Polymath Megablaster MCP

Polymath Megablaster MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Polymath Megablaster targets a specific weakness: smaller local models often reason their way to wrong answers on arithmetic, dates and conversions. The README is frank that frontier hosted models already handle most of this, so the toolkit is aimed at open-weight models such as Llama, Qwen or Mistral.

Sixteen tools cover arbitrary-precision math (calculate, factorial, permutations, combinations), statistics, date addition and difference with leap years and business days, time zone conversion, unit and base conversion, CIDR subnet math, private or reserved IP checks, Levenshtein distance, haversine distance, GPT-tokenizer token counts and genuinely random v4 UUIDs, one to 100 at a time.

Everything is local computation with no network calls, API keys or telemetry; the author points to the source file as proof there is no fetch or http import. You clone the repo, run npm install and point the client at the script. Node 18 or newer is needed, and the licence is MIT.

Install

Run in a terminal

claude mcp add polymath-megablaster-mcp -- npx -y polymath-megablaster-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "polymath-megablaster-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "polymath-megablaster-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "polymath-megablaster-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "polymath-megablaster-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "polymath-megablaster-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "polymath-megablaster-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "polymath-megablaster-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "polymath-megablaster-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "polymath-megablaster-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "polymath-megablaster-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (16)

Taken from the project documentation; the running server may differ.

calculate
Evaluates expressions with arbitrary precision.
factorial
Computes exact factorials.
permutations
Computes exact permutation counts.
combinations
Computes exact combination counts.
compute_statistics
Mean, median, stdev, variance and percentiles for a list.
date_add
Adds time to a date.
date_diff
Finds the difference between dates.
convert_timezone
Converts times between IANA time zones.
convert_unit
Converts length, weight, volume and temperature.
convert_base
Converts between decimal, hex, binary and octal.
calc_subnet
Performs CIDR subnet math.
check_ip_type
Looks up private or reserved IP ranges.
levenshtein_distance
Returns edit distance and similarity ratio.
haversine_distance
Computes great-circle distance between coordinates.
count_tokens
Counts tokens with a GPT tokenizer.
generate_uuid
Generates random v4 UUIDs.

What it does

Exact arithmetic
Arbitrary-precision math without float rounding or overflow.
Date maths
Date add and diff handling leap years, month ends and business days.
Unit and base conversion
Length, weight, volume, temperature and number bases.
Subnet tools
CIDR calculations and private or reserved IP lookups.
Token counting
Counts tokens with a GPT tokenizer to manage context.
Real UUIDs
Cryptographically random v4 UUIDs, up to 100 at once.

Good for

  • Give a small local model reliable calculator tools
  • Compute days between two dates exactly
  • Plan a subnet split for a network task
  • Check a prompt's token count before sending

Pricing

Open source

Free; MIT licence

Polymath Megablaster MCP FAQ

Does it call any API?

No. Every tool is local computation with no network calls, keys or telemetry.

How many tools are there?

Sixteen, all free.

What does it need?

Node.js 18 or newer; clone the repo, run npm install and point your client at src/index.js.

Which models is it for?

Mainly local and open-weight models; frontier hosted models already do most of this well.

Is Polymath Megablaster MCP free?

Yes. Polymath Megablaster MCP is open source, so you can use and self-host it for free.

How do I add Polymath Megablaster MCP to Claude Code?

Run this command in your terminal: claude mcp add polymath-megablaster-mcp -- npx -y polymath-megablaster-mcp

What are the best alternatives to Polymath Megablaster MCP?

The closest alternatives to Polymath Megablaster MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers