io.github.headlessherm-creator/polymath-megablaster-mcp

السجل الرسمي أخرى

Local deterministic calc MCP: exact math, dates, unit conversion, stats, subnet math.

ماذا يمكنك أن تفعل مع io.github.headlessherm-creator/polymath-megablaster-mcp؟

  • Deterministic math: calculate (arbitrary-precision expression evaluator),
  • Date and time: date_add, date_diff (leap years, month boundaries, business
  • Conversion: convert_unit (length, weight, volume, temperature), convert_base
  • Networking: calc_subnet (CIDR math), check_ip_type (private/reserved range
  • Text: levenshtein_distance (exact edit distance and similarity ratio)
  • Geo: haversine_distance (exact great-circle distance between coordinates)
  • Agent utility: count_tokens (GPT tokenizer, for managing context budget before

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package polymath-megablaster-mcp
Claude Code
claude mcp add polymath-megablaster-mcp -- npx -y polymath-megablaster-mcp@3.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "polymath-megablaster-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "polymath-megablaster-mcp@3.1.0"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Polymath MegaBlaster MCP — Deterministic Math, Date, Unit Conversion & Networking Tools for AI Agents
  2. The problem this solves
  3. Why local
  4. Setup
  5. Tools (16, all free)
  6. Dependencies
  7. Keywords
  8. Related tools
  9. License

Polymath MegaBlaster MCP — Deterministic Math, Date, Unit Conversion & Networking Tools for AI Agents

A free, local, 16-tool MCP server that gives AI agents exact, deterministic answers for math, date arithmetic, unit conversion, subnet/networking calculations, statistics, token counting, and real random UUID generation — no network calls, no API keys, no telemetry.

If your AI agent is miscounting days between dates, rounding large numbers incorrectly, getting unit conversions slightly wrong, or messing up subnet/CIDR math, this MCP server exists specifically to fix that class of problem.

The problem this solves

Local and open-weight models (Llama, Qwen, Mistral, etc.) are consistently unreliable at exact math, date arithmetic, unit conversion, and similar deterministic tasks — they "reason" their way to an answer instead of computing it, and get it subtly wrong. (Frontier hosted models like Claude and GPT-4 already handle most of this correctly unaided — this toolkit is aimed at closing the gap for smaller/local models, not replacing what those already do well.) Every tool here uses classical deterministic methods instead of model reasoning, so the answer is always exactly right.

Everyday things it fixes:

  • Exact math on huge numbers, no float rounding errors
  • Correct date math, including leap years and "last day of the month" edge cases
  • Unit conversion (km/miles, °C/°F, kg/lb) without approximation
  • Subnet/CIDR math for networking tasks
  • Great-circle distance between coordinates

More technical tools:

  • Arbitrary-precision arithmetic, factorials, permutations, combinations (no float64 overflow)
  • Statistics (mean, median, stdev, variance, percentiles) on a list of numbers
  • Base conversion (decimal, hex, binary, octal)
  • Levenshtein edit distance and similarity ratio (deterministic fuzzy matching)
  • IANA-aware time zone conversion
  • GPT tokenizer-based token counting, so an agent can manage its own context budget
  • Real cryptographically-random UUID (v4) generation — LLMs reliably fabricate plausible-looking but non-random, potentially colliding UUID strings instead

Why local

Most AI dev tool MCP servers either charge a subscription or call out to a remote API. This one never touches the network. Every tool is pure local computation, verifiable directly in the source: open src/tools.js — there is no fetch or http import anywhere in it.

Setup

1. Install Node.js (v18+) if you don't have it: https://nodejs.org

2. Clone this repo and install dependencies:

git clone https://github.com/headlessherm-creator/polymath-megablaster-mcp.git
cd polymath-megablaster-mcp
npm install

3. Point your MCP client at the local path:

{
  "mcpServers": {
    "polymath": {
      "command": "node",
      "args": ["/absolute/path/to/polymath-megablaster-mcp/src/index.js"]
    }
  }
}

Add that to your MCP client's config and restart it. Setup docs for common clients:

Tools (16, all free)

  • Deterministic math: calculate (arbitrary-precision expression evaluator), factorial, permutations, combinations (all arbitrary-precision, avoid float64 overflow), compute_statistics (mean, median, stdev, variance, percentiles)
  • Date and time: date_add, date_diff (leap years, month boundaries, business days handled correctly), convert_timezone
  • Conversion: convert_unit (length, weight, volume, temperature), convert_base (decimal, hex, binary, octal)
  • Networking: calc_subnet (CIDR math), check_ip_type (private/reserved range lookup)
  • Text: levenshtein_distance (exact edit distance and similarity ratio)
  • Geo: haversine_distance (exact great-circle distance between coordinates)
  • Agent utility: count_tokens (GPT tokenizer, for managing context budget before a large prompt), generate_uuid (real cryptographically-random v4 UUIDs, 1-100 at a time)

Dependencies

All installed automatically by npm install. None of them make network calls at runtime.

Keywords

deterministic math MCP server, MCP date calculator, MCP unit converter, subnet CIDR calculator MCP, local MCP server no API key, Claude MCP math tools, AI agent exact arithmetic, token counter MCP server.

Same local-first philosophy, different problems:

License

MIT

الأسئلة الشائعة

ما هو io.github.headlessherm-creator/polymath-megablaster-mcp؟

Local deterministic calc MCP: exact math, dates, unit conversion, stats, subnet math.

كيف أثبّت io.github.headlessherm-creator/polymath-megablaster-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add polymath-megablaster-mcp -- npx -y polymath-megablaster-mcp@3.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.headlessherm-creator/polymath-megablaster-mcp إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.headlessherm-creator/polymath-megablaster-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.headlessherm-creator/polymath-megablaster-mcp؟

ينشره headlessherm-creator. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.