Skip to main content
Glama
buildutilities-mcp

buildutilities-mcp

by brentspore

buildutilities-mcp

Deterministic developer utilities as MCP tools. Runs entirely on your machine — no network calls, no telemetry, no API key, no account.

From the people who make buildutilities.com.

Why these tools and not others

A language model is already good at most text manipulation, and a tool it does not need is a tool that only burns its context window. So this server deliberately covers the operations models are genuinely bad at:

  • Randomness. A model cannot generate it. Ask one for a UUID or a password and you get something drawn from its training distribution — repeatable between sessions, sometimes lifted verbatim from a public code sample. For anything security-adjacent that is a real defect.

  • Exact digests and bytes. It cannot compute a SHA-256, so it invents a plausible one. Base64 of anything it has not effectively memorised comes back quietly corrupted.

  • Running a regex. Asked whether a pattern matches, a model reasons about the pattern instead of executing it, so it reports matches that do not exist and misses ones that do.

  • Precise counting over long text, and calendar arithmetic across timezones and DST — including "when does this cron next fire", which models answer confidently and wrongly.

Everything here is a pure function: same arguments, same answer, no state, no side effects.

Related MCP server: mcp-server-devutils

Install

Claude Code

claude mcp add buildutilities -- npx -y buildutilities-mcp

Claude Desktop, Cursor, or any client with a JSON config

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

Requires Node 18 or newer. To see the tool list without an MCP client:

npx -y buildutilities-mcp --help

Tools

Randomness a model cannot fake

Tool

What it does

generate_uuid

Cryptographically random UUID v4s, via the OS CSPRNG.

generate_password

Random password, guaranteeing at least one character from every enabled set.

generate_token

Random token for API keys, session ids, nonces and salts — hex, base64url or alphanumeric.

Exact bytes and digests

Tool

What it does

base64_encode

Encode to Base64, standard or URL-safe.

base64_decode

Decode Base64, reporting invalid input rather than returning mojibake.

url_encode

Percent-encode, in component or full-URI mode.

url_decode

Decode percent-encoding, reporting malformed input.

hash_text

md5, sha1, sha256, sha384 or sha512 digest, with a warning on the broken ones.

hmac_sign

HMAC a message with a secret — webhook and request signing.

hmac_verify

Constant-time check of a message against an expected signature.

Calendar arithmetic

Tool

What it does

convert_timestamp

Unix epoch to human time in any IANA timezone; auto-detects seconds vs milliseconds.

cron_next_runs

Next run times for a 5-field cron expression, in a timezone.

Documents, tokens, diffs

Tool

What it does

format_json

Pretty-print or minify JSON exactly, with line and column on a parse error.

decode_jwt

Read a JWT's header, payload and expiry. Decodes only — never verifies.

diff_text

Line-by-line diff, marking what was added and removed.

Run it, do not predict it

Tool

What it does

test_regex

Actually execute a pattern and return every match with its index and capture groups.

escape_regex

Escape a string for use as a regex literal.

analyze_text

Exact character, word, line, sentence, paragraph and byte counts.

slugify

URL-safe slug, transliterating accents.

check_color_contrast

Exact WCAG 2.2 contrast ratio and which AA/AAA thresholds it passes.

What it does not do

  • It does not verify JWT signatures. decode_jwt reads a token; it cannot tell you the token is genuine. Never trust its output as authentication.

  • md5 and sha1 are included but not secure. They are there for checksums and legacy interop, and the tool says so in its output.

  • Cron is standard 5-field only. Non-standard syntax (L, W, #, ?) is refused rather than guessed at, because a plausible wrong schedule is worse than an error. Times inside a DST spring-forward gap are still listed; real cron implementations disagree about that case.

The no-network claim is tested

Three tests in test/no-network.test.ts enforce it, so it cannot quietly stop being true:

  1. No source file imports node:net, http, https, dns, tls or dgram, or calls fetch.

  2. Running every tool in the catalogue loads no network-related native binding.

  3. The package declares exactly two runtime dependencies (the MCP SDK and zod); adding a third fails the suite and forces a re-check.

npm test    # 48 tests

Licence

MIT

Available Tools

20 tools
analyze_textAnalyze TextA
Read-onlyIdempotent

Exact counts for a text: characters, words, lines, sentences, paragraphs, bytes. Use this rather than estimating — counting long text is a classic model failure. Web version: https://buildutilities.com/word-counter

Inputs: text (required).

base64_decodeBase64 DecodeA
Read-onlyIdempotent

Decode Base64 (standard or URL-safe) back to text. Reports whether the input was valid rather than returning mojibake. Web version: https://buildutilities.com/base64-codec

Inputs: encoded (required).

base64_encodeBase64 EncodeA
Read-onlyIdempotent

Encode text to Base64. Set urlSafe for the URL/filename-safe alphabet (-_ instead of +/, no padding). Web version: https://buildutilities.com/base64-codec

Inputs: text (required), urlSafe.

check_color_contrastCheck Colour ContrastA
Read-onlyIdempotent

Compute the exact WCAG 2.2 contrast ratio between two colours and report which AA/AAA thresholds it passes. This is a specific formula, not a judgement call — do not estimate it. Web version: https://buildutilities.com/color-contrast-checker

Inputs: background (required), foreground (required).

convert_timestampConvert TimestampA
Read-onlyIdempotent

Convert between Unix epoch and human-readable time, in any IANA timezone. Auto-detects seconds vs milliseconds. Use this rather than doing the arithmetic in your head. Web version: https://buildutilities.com/timestamp-converter

Inputs: value (required), timeZone.

cron_next_runsCron Next RunsA
Read-onlyIdempotent

Parse a standard 5-field cron expression and list its next run times in a timezone. Handles the Vixie rule that day-of-month and day-of-week are OR'd when both are restricted — the case models most often get wrong. Rejects non-standard syntax (L, W, #) rather than guessing. Web version: https://buildutilities.com/cron-expression-generator

Inputs: expression (required), count, timeZone.

decode_jwtDecode JWTA
Read-onlyIdempotent

Decode a JSON Web Token's header and payload and report expiry. This DECODES ONLY — it does not verify the signature, so never treat the contents as trusted on the strength of this output. Models asked to read a JWT tend to invent its claims; this reads them. Web version: https://buildutilities.com/jwt-decoder

Inputs: token (required).

diff_textDiff TextA
Read-onlyIdempotent

Line-by-line diff of two texts, marking - removed and + added. Use it to check exactly what changed between two versions instead of eyeballing them. Web version: https://buildutilities.com/text-diff-checker

Inputs: after (required), before (required), ignoreWhitespace.

escape_regexEscape Regex LiteralA
Read-onlyIdempotent

Escape a string so it can be used as a literal inside a regular expression.

Inputs: text (required).

format_jsonFormat or Minify JSONA
Read-onlyIdempotent

Pretty-print or minify JSON exactly, with precise error location when it is invalid. Prefer this to reformatting a large document yourself — it cannot drop or alter a value. Web version: https://buildutilities.com/json-formatter

Inputs: json (required), mode, indent, sortKeys.

generate_passwordGenerate PasswordA
Read-only

Generate a cryptographically random password. Guarantees at least one character from every enabled set. Use this rather than inventing a password — model-authored ones are guessable. Web version: https://buildutilities.com/password-generator

Inputs: count, digits, length, symbols, +3 more.

generate_tokenGenerate Random TokenA
Read-only

Generate a cryptographically random token — API keys, session ids, nonces, salts. Choose hex, base64url or alphanumeric encoding. Web version: https://buildutilities.com/random-string-generator

Inputs: bytes, count, encoding.

generate_uuidGenerate UUIDA
Read-only

Generate cryptographically random UUID v4 identifiers. Use this instead of writing a UUID yourself — model-authored UUIDs are not random and repeat across sessions. Web version: https://buildutilities.com/uuid-generator

Inputs: count, uppercase.

hash_textHash TextA
Read-onlyIdempotent

Compute a cryptographic digest of text. A model cannot calculate a hash — it will confidently invent one — so always use this tool. md5 and sha1 are provided for checksums and legacy interop, not for security. Web version: https://buildutilities.com/hash-generator

Inputs: text (required), encoding, algorithm.

hmac_signHMAC SignA
Read-onlyIdempotent

Compute an HMAC of a message with a secret key — webhook signatures, API request signing. Web version: https://buildutilities.com/hmac-generator

Inputs: secret (required), message (required), encoding, algorithm.

hmac_verifyHMAC VerifyA
Read-onlyIdempotent

Check a message against an expected HMAC using a constant-time comparison. Use this to validate an inbound webhook signature rather than comparing strings yourself.

Inputs: secret (required), message (required), signature (required), algorithm.

slugifySlugifyB
Read-onlyIdempotent

Turn text into a URL-safe slug, transliterating accents and collapsing separators. Web version: https://buildutilities.com/slug-generator

Inputs: text (required), maxLength, separator.

test_regexTest Regular ExpressionA
Read-onlyIdempotent

Actually execute a regular expression against text and return every match with its index and capture groups. Use this instead of predicting what a pattern matches — reasoning about a regex is not the same as running it. Web version: https://buildutilities.com/regex-tester

Inputs: text (required), pattern (required), flags, maxMatches.

url_decodeURL DecodeA
Read-onlyIdempotent

Decode percent-encoded text. Web version: https://buildutilities.com/url-codec

Inputs: text (required).

url_encodeURL EncodeA
Read-onlyIdempotent

Percent-encode text. component mode escapes & = ? / for use inside a query value; uri mode preserves them. Web version: https://buildutilities.com/url-codec

Inputs: text (required), mode.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 20 tools

    Disambiguation5/5

    Each tool targets a distinct utility: UUID, password, token, base64, URL, regex, hash, HMAC, timestamp, cron, JSON, JWT, diff, text analysis, slug, and color contrast. Even the three generators (UUID, password, token) are clearly separated by output format and use case.

    Naming Consistency4/5

    Most tools follow a verb_noun pattern like generate_uuid, hash_text, decode_jwt, and test_regex. A few deviate—hmac_sign/hmac_verify invert the object-verb order, cron_next_runs has no verb, and slugify is a standalone verb—but the overall style remains readable and predictable.

    Tool Count3/5

    At 20 tools, this sits in the 16-25 range that feels heavy for a single server, especially since it is a grab-bag of unrelated utilities rather than a focused workflow. That said, every tool is atomic and has a clear purpose, so the count is defensible even if slightly bloated.

    Completeness4/5

    The set covers the main developer-utility categories well: random generation, encoding, hashing/HMAC, time, JSON/JWT, regex, and text analysis. Minor gaps exist—such as JWT signature verification, HTML entity encoding, and regex replacement—but agents can work around these with existing tools or general knowledge.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      Swiss-army-knife utility MCP server for AI agents. 18 tools for JSON validation/formatting, base64 encode/decode, hash generation, UUID generation, URL parsing, regex testing, markdown↔HTML conversion, text stats, slug generation, datetime conversion, cron parsing, text diffing, CSV↔JSON conversion, and JWT decoding. Zero API Key required
      18
      5
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides various developer utilities such as UUID generation, timestamp conversion, Base64 encoding, color conversion, password generation, hash generation, and JSON formatting via MCP.
      13 npm
      1
      ISC
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides offline developer utilities for generating UUIDs, converting timestamps and units, formatting or validating JSON, and creating QR codes via MCP tools.
      MIT