# String-Utility-Belt/string-utility-belt [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/String-Utility-Belt/string-utility-belt  
**GitHub Stars:** 4  
**npm Downloads (last month):** 1762  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/string-utility-belt-string-utility-belt

## Description
MCP server exposing String Utility Belt's utilities and pipelines as tools for AI agents.

## Tools
Capabilities this server exposes over MCP:

- **list_utilities** — Search the string-transformation utilities this server can run (248 total, across categories like Encoding, Hashing, Ciphers, Compression, Data Formats, Analysis, Generators and more). Returns {items: [{id, name, category, description}], total, categories}, best matches first. Use this first to find an id, then call describe_utility for its exact parameters before run_utility. `category` and `query` combine (a utility must match both); omit both to browse the whole catalog. A category that does not exist matches nothing rather than failing, so take one from `categories`. There is no paging: when `total` exceeds the items returned, raise `limit` or narrow the query. Reads the bundled catalog only: no network access and no rate limit.
- **describe_utility** — Full documentation for one utility: its parameters (kind, default, options/bounds, description), the value types it accepts/produces, tags, aliases, worked examples (input, inputEncoding, params and expected output — byte outputs there use the app's display format, while run_utility returns bytes as base64), and which runtime capabilities it needs. Call this before run_utility to learn the exact parameter names and defaults; skip it for a utility you have already described. `id` must be an exact, case-sensitive utility id: names and aliases are not resolved, so look those up with list_utilities first. An unknown id returns isError ("unknown utility: <id>"). When `unavailable` is set, run_utility and run_pipeline refuse the utility.
- **run_utility** — Run a single utility on `input` and return {output, outputEncoding?}. For two or more transformations in a row, make one run_pipeline call instead of chaining run_utility calls; if you do not know the id yet, find it with list_utilities. Plain text output is returned as-is; a JSON-producing utility returns pretty-printed JSON text; a byte-producing utility (e.g. gzip_compress, get_bytes) returns base64 with `outputEncoding: "base64"`. `inputEncoding` controls how `input` itself is decoded first: "text" (default) uses it as-is, "base64" or "hex" decode it to raw bytes, "json" parses it. Params are validated against describe_utility's spec; invalid ones are rejected. Input is capped at 1,000,000 bytes, output text past 1,000,000 characters is cut off (flagged `truncated`, with `fullLength`), and the call is stopped after 20s. A failing utility returns isError with the error message. Utilities that run arbitrary user JavaScript (e.g. "custom_js") are refused, and the few that need a browser DOM parser (e.g. "xml_to_json", "html_table_to_csv") fail here.
- **run_pipeline** — Run several transformations on `input` in one call: an ordered list of steps (string-utility-belt v3 schema), each step's output feeding the next. Besides utility steps, a pipeline can hold branches (parallel forks merged back together), macros (named sub-pipelines) and "run on each" steps (a sub-pipeline run on every line, delimited piece, JSON array element or JSON object value). Prefer this to chaining run_utility calls; for a single transformation, run_utility is simpler. Returns {output, outputEncoding?, errors, timings, skipped, halted}: `errors` maps step id to its error message, `timings` maps step id to milliseconds. Provide exactly one of `steps` or `share` (a `#/p/<payload>` share link, a full URL containing one, or the bare payload). Untrusted step data is sanitized first, so malformed entries are dropped rather than rejected. Refused outright: pipelines with more than 100 steps (nested steps counted), unknown utility ids, enabled steps with invalid params, and any step that would run arbitrary user JavaScript (e.g. "custom_js") — LLM-driven code execution is out of scope. Input is capped at 1,000,000 bytes, output text past 1,000,000 characters is cut off (flagged `truncated`, with `fullLength`), and the call is stopped after 20s.
- **detect_format** — Guess what `input` is — JSON, YAML, TOML, XML, HTML, CSV/TSV, base64/base32/hex, URL-encoding, JWT, UUID, data URI, gzip/zlib, email, URL, IP address, unix timestamp, Markdown, SQL, Morse code, ROT13, plain binary — and return {candidates: [{format, confidence, note}]}, best first, confidence 0-1. Use it when you are handed an opaque or unlabelled value and must pick a utility for it; skip it when the format is already known. It only identifies, never transforms: to decode, search list_utilities for the top format (base64 -> base64_decode, JWT -> jwt_decode) and run that with run_utility. Ambiguous input yields several candidates (all-digit text can be a timestamp, JSON and hex at once); treat anything below about 0.45 as a weak guess. Use inputEncoding "base64"/"hex" only to deliver binary data such as gzip bytes: it is decoded before detection, so a base64 string you want identified must stay "text" (the default). Empty input yields an empty list.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "string-utility-belt": {
    "command": "npx",
    "args": ["-y","@string-utility-belt/mcp"]
  }
}
```

## Documentation

## What String-Utility-Belt/string-utility-belt does

String-Utility-Belt/string-utility-belt makes the String Utility Belt catalog available as MCP tools for agent workflows. The catalog contains 248 utilities spanning areas such as encoding, hashing, ciphers, compression, data formats, analysis, generators, line and text operations, numbers, dates, and developer helpers.

The server is useful for tasks where an agent needs to transform or inspect a value using a named, documented operation rather than generate ad hoc code. It can process ordinary text, structured JSON, and binary data represented through base64 or hexadecimal input encodings.

## How it works

A typical request starts with `list_utilities`, which searches the catalog by text and category. The result supplies an exact utility ID. `describe_utility` then provides the accepted parameters, defaults, types, examples, aliases, tags, and runtime requirements. Utility IDs are case-sensitive, so names and aliases should be resolved through the catalog before execution.

`run_utility` performs one transformation. Use `run_pipeline` for multiple operations: each step receives the preceding step's output, and a pipeline can also contain branches, macros, or sub-pipelines applied to each line, delimited segment, JSON array item, or object value. Pipelines may be supplied as step data or as a share-link payload. `detect_format` identifies likely formats without transforming the input, which helps select a decoding or parsing utility when the value is unlabeled.

Text output is returned directly, JSON output is pretty-printed, and byte output is returned as base64 with an `outputEncoding` field. Detection can return several candidates with confidence scores when an input is ambiguous.

## Setup and configuration

The MCP package can be launched with Node.js and `npx`:

```bash
claude mcp add subelt -- npx -y @string-utility-belt/mcp
```

The broader project requires Node.js 20.19+ or 22.12+. The MCP server runs over stdio and can be configured in Claude Desktop, Cursor, Claude Code, and other MCP clients. No environment variables are required by the documented launch command.

## Tools and capabilities

- Search the bundled utility catalog by query, category, or both.
- Retrieve per-utility parameter specifications and worked examples.
- Execute one transformation with text, JSON, base64, or hexadecimal input handling.
- Compose ordered pipelines with branches, macros, and per-item processing.
- Infer likely formats including JSON, YAML, XML, CSV, JWT, base64, gzip, URLs, UUIDs, and more.
- Return execution errors, step timings, skipped steps, and halted-state information for pipelines.

## Limitations and notes

The catalog is bundled locally for search and has no network access or rate limit. Inputs are limited to 1,000,000 bytes. Text output beyond 1,000,000 characters is truncated and marked with its full length, and calls stop after 20 seconds. Pipelines allow at most 100 steps, including nested steps.

Utilities that execute arbitrary user JavaScript are refused. Utilities requiring a browser DOM parser, including XML-to-JSON and HTML-table-to-CSV examples, fail in this server context. Pipeline step data is sanitized before execution, so malformed entries may be dropped. `detect_format` only identifies candidates; it does not decode or convert the input. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/string-utility-belt-string-utility-belt/readme_

