MCP Server

APIShed

com.apished/apished
Developer Tools Public & reachable MCP 2025-11-25

What this MCP does

Provides deterministic utility functions for identifier validation, date arithmetic, hashing, JSON Schema validation, regular expressions, text processing, and calculations.

color_contrast
Computes the WCAG 2.1 contrast ratio between two hex colors. Alpha, if present, is composited over white first.
Input schema
{'type': 'object', 'required': ['colorA', 'colorB'], 'properties': {'colorA': {'type': 'string'}, 'colorB': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['ratio', 'formula'], 'properties': {'ratio': {'type': 'number'}, 'formula': {'type': 'string'}}, 'additionalProperties': False}
color_convert
Converts a color between hex, rgb, hsl, and hsv. value's shape depends on from/to: a string for hex, an object ({r,g,b,a?} etc.) otherwise.
Input schema
{'type': 'object', 'required': ['from', 'to', 'value'], 'properties': {'to': {'type': 'string', 'description': 'hex, rgb, hsl, or hsv'}, 'from': {'type': 'string', 'description': 'hex, rgb, hsl, or hsv'}, 'value': {'description': 'a hex string, or an {r,g,b,a?}/{h,s,l,a?}/{h,s,v,a?} object per from'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['value'], 'properties': {'value': True}, 'additionalProperties': False}
csv_from_json
Converts JSON records to CSV text. columns is the explicit, ordered header — JSON object key order can't be relied on to infer it.
Input schema
{'type': 'object', 'required': ['columns', 'records'], 'properties': {'columns': {'type': ['null', 'array'], 'items': {'type': 'string'}}, 'records': {'type': ['null', 'array'], 'items': {'type': 'object', 'additionalProperties': {'type': 'string'}}}, 'delimiter': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
csv_parse
Parses CSV text into rows of string fields (no type guessing). Ragged rows are tolerated — use csv_validate to detect them.
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}, 'delimiter': {'type': 'string', 'description': "a single character, default ','"}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['rows'], 'properties': {'rows': {'type': ['null', 'array'], 'items': {'type': ['null', 'array'], 'items': {'type': 'string'}}}}, 'additionalProperties': False}
csv_stats
Parses CSV text (header row required) and reports per-column non-empty/empty value counts across the data rows. No numeric aggregation.
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}, 'delimiter': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['rowCount', 'columnCount', 'columns'], 'properties': {'columns': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['name', 'nonEmpty', 'empty'], 'properties': {'name': {'type': 'string'}, 'empty': {'type': 'integer'}, 'nonEmpty': {'type': 'integer'}}, 'additionalProperties': False}}, 'rowCount': {'type': 'integer'}, 'columnCount': {'type': 'integer'}}, 'additionalProperties': False}
csv_to_json
Converts CSV text to JSON: header=true (default) returns one object per data row keyed by the header row; header=false returns raw rows. Every value is a string.
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}, 'header': {'type': 'boolean', 'description': 'default true'}, 'delimiter': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['result'], 'properties': {'result': True}, 'additionalProperties': False}
csv_validate
Reports whether CSV text is structurally well-formed: every row has the same field count as the first.
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}, 'delimiter': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'error': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'rowCount': {'type': 'integer'}, 'fieldCount': {'type': 'integer'}}, 'additionalProperties': False}
datemath_add
Adds years/months/days to date. years/months are applied together with end-of-month clamping — e.g. 2026-01-31 + 1 month = 2026-02-28, not an overflowed 2026-03-03. days is then applied as plain calendar-day arithmetic.
Input schema
{'type': 'object', 'required': ['date'], 'properties': {'date': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'days': {'type': 'integer'}, 'years': {'type': 'integer'}, 'months': {'type': 'integer'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
datemath_age
Age in whole years as of asOf (optional, defaults to the current UTC date). A Feb-29 birthDate is treated as falling on March 1 in a non-leap asOf year.
Input schema
{'type': 'object', 'required': ['birthDate'], 'properties': {'asOf': {'type': 'string', 'description': 'YYYY-MM-DD, defaults to today'}, 'birthDate': {'type': 'string', 'description': 'YYYY-MM-DD'}}, 'additionalProperties': False}
Output schema
{'type': 'integer'}
datemath_businessdays
Counts days in [from, to] (inclusive on both ends) whose weekday is in weekdays (default mon-fri) and which aren't in holidays.
Input schema
{'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'from': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'holidays': {'type': ['null', 'array'], 'items': {'type': 'string'}, 'description': 'YYYY-MM-DD dates to exclude'}, 'weekdays': {'type': ['null', 'array'], 'items': {'type': 'string'}, 'description': 'sun/mon/tue/wed/thu/fri/sat, default mon-fri'}}, 'additionalProperties': False}
Output schema
{'type': 'integer'}
datemath_dayofweek
Day of the week for date: both the weekday name and its ISO 8601 weekday number (1=Monday..7=Sunday).
Input schema
{'type': 'object', 'required': ['date'], 'properties': {'date': {'type': 'string', 'description': 'YYYY-MM-DD'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['dayOfWeek', 'isoWeekday'], 'properties': {'dayOfWeek': {'type': 'string'}, 'isoWeekday': {'type': 'integer'}}, 'additionalProperties': False}
datemath_diff
Day difference between two YYYY-MM-DD dates: to minus from, in whole days. Negative if to is before from.
Input schema
{'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'from': {'type': 'string', 'description': 'YYYY-MM-DD'}}, 'additionalProperties': False}
Output schema
{'type': 'integer'}
datemath_leapyear
Checks whether year is a leap year in the Gregorian calendar.
Input schema
{'type': 'object', 'required': ['year'], 'properties': {'year': {'type': 'integer'}}, 'additionalProperties': False}
Output schema
{'type': 'boolean'}
datetime_now
Returns the actual current date/time — an LLM has a training cutoff and no live clock, so it can't know what time it actually is right now.
Input schema
{'type': 'object', 'properties': {'format': {'type': 'string', 'description': 'iso8601 (default), unix, unixmilli, or rfc1123'}, 'timezone': {'type': 'string', 'description': 'IANA timezone name, e.g. Europe/Warsaw; default UTC'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['value', 'format', 'timezone'], 'properties': {'value': {'type': 'string'}, 'format': {'type': 'string'}, 'timezone': {'type': 'string'}}, 'additionalProperties': False}
ean_validate
Validates an 8-digit (EAN-8), 12-digit (UPC-A), 13-digit (EAN-13), or 14-digit (GTIN-14) barcode checksum: alternating weights 1 3 applied right-to-left, check digit is (10 - sum mod 10) mod 10.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
email_validate
Checks value is a single, bare RFC 5322 email address — syntax only, not a deliverability check. user@localhost is valid (no TLD required). "Name <email>" display syntax is rejected.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
encode_decode
Decodes rot13, base64, base64url, base32, hex, uuencode, urlcomponent, urlform, or html text back to the original. encoding in the result is "text" if the decoded bytes are valid UTF-8, or "base64" if they're binary.
Input schema
{'type': 'object', 'required': ['format', 'input'], 'properties': {'input': {'type': 'string', 'description': 'encoded text to decode'}, 'format': {'type': 'string', 'description': 'rot13, base64, base64url, base32, hex, uuencode, urlcomponent, urlform, or html'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['output', 'encoding'], 'properties': {'output': {'type': 'string'}, 'encoding': {'type': 'string'}}, 'additionalProperties': False}
encode_encode
Encodes plain UTF-8 text into rot13, base64, base64url, base32, hex, uuencode, urlcomponent (RFC 3986 percent-encoding, space -> %20), urlform (application/x-www-form-urlencoded, space -> +), or html (entity-escapes < > & ' "). Returns plain ASCII.
Input schema
{'type': 'object', 'required': ['format', 'input'], 'properties': {'input': {'type': 'string', 'description': 'plain UTF-8 text to encode'}, 'format': {'type': 'string', 'description': 'rot13, base64, base64url, base32, hex, uuencode, urlcomponent, urlform, or html'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
hash_digest
Computes a hash digest of input (decoded per encoding: "text" default, "base64", or "hex") using algo: md5, sha1, sha256, sha512, or crc32. Returns the digest as lowercase hex.
Input schema
{'type': 'object', 'required': ['algo', 'input'], 'properties': {'algo': {'type': 'string', 'description': 'md5, sha1, sha256, sha512, or crc32'}, 'input': {'type': 'string', 'description': 'data to hash, encoded per encoding'}, 'encoding': {'type': 'string', 'description': 'text (default), base64, or hex'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
hash_hmac
Computes an HMAC of input (decoded per encoding) using algo: md5, sha1, sha256, or sha512 (crc32 isn't offered — it's a checksum, not a cryptographic primitive HMAC composes with). key is used as its raw UTF-8 bytes, not decoded per encoding. Returns the MAC as lowercase hex.
Input schema
{'type': 'object', 'required': ['algo', 'key', 'input'], 'properties': {'key': {'type': 'string', 'description': 'secret key, used as raw UTF-8 bytes'}, 'algo': {'type': 'string', 'description': 'md5, sha1, sha256, or sha512'}, 'input': {'type': 'string', 'description': 'data to authenticate, encoded per encoding'}, 'encoding': {'type': 'string', 'description': 'text (default), base64, or hex'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
iban_validate
Validates an IBAN's length for its issuing country (per the SWIFT IBAN registry) and its mod-97 checksum. Does not decompose the BBAN into a bank code/account number or resolve a BIC.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
isbn_validate
Validates a 10- or 13-character ISBN. ISBN-10 uses weights 10..1 over 10 characters (last may be X, worth 10), sum mod 11 must be 0. ISBN-13 uses the same GTIN checksum as barcodes.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
jsonschema_validate
Validates document against schema (JSON Schema draft-07 or 2020-12). Reports one specific violation per call, not an aggregated list.
Input schema
{'type': 'object', 'required': ['schema', 'document'], 'properties': {'schema': {'description': 'a JSON Schema (draft-07 or 2020-12)'}, 'document': {'description': 'the JSON value to validate against schema'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
luhn_validate
Validates a numeric string against the Luhn (mod-10) checksum — payment card numbers, IMEI numbers, and similar identifiers.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
network_cidr_contains
Reports whether a CIDR block contains an address. Different address families (IPv4 vs IPv6) never match.
Input schema
{'type': 'object', 'required': ['cidr', 'address'], 'properties': {'cidr': {'type': 'string'}, 'address': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'boolean'}
network_cidr_info
Parses a CIDR block and reports its network address, address range, and address count. An address with host bits set (e.g. 10.14.32.17/21) is normalized to its network address in the result.
Input schema
{'type': 'object', 'required': ['cidr'], 'properties': {'cidr': {'type': 'string', 'description': 'an IPv4 or IPv6 CIDR block, e.g. 10.14.32.17/21'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['cidr', 'network', 'firstAddress', 'lastAddress', 'prefixLength', 'version', 'addresses'], 'properties': {'cidr': {'type': 'string'}, 'network': {'type': 'string'}, 'version': {'type': 'integer'}, 'addresses': {'type': 'string'}, 'lastAddress': {'type': 'string'}, 'firstAddress': {'type': 'string'}, 'prefixLength': {'type': 'integer'}}, 'additionalProperties': False}
network_cidr_overlaps
Reports whether two CIDR blocks share any address.
Input schema
{'type': 'object', 'required': ['cidrA', 'cidrB'], 'properties': {'cidrA': {'type': 'string'}, 'cidrB': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'boolean'}
nip_validate
Validates the checksum of a 10-digit Polish tax identification number (NIP). Checksum uses weights 6 5 7 2 3 4 5 6 7 over the first 9 digits; sum mod 11 must equal the 10th digit. A sum mod 11 of 10 is itself invalid.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'digits-only identifier to validate (no spaces or dashes)'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
pesel_validate
Validates the checksum of an 11-digit Polish national identification number (PESEL). Checksum uses weights 1 3 7 9 1 3 7 9 1 3 over the first 10 digits; control digit is (10 - sum mod 10) mod 10. On success also decodes the date of birth and sex embedded in the number; a checksum-valid number with an impossible calendar date (e.g. Feb 30) is still reported invalid.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'digits-only identifier to validate (no spaces or dashes)'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'sex': {'type': 'string'}, 'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'birthDate': {'type': 'string'}}, 'additionalProperties': False}
pipe_run
Runs a short ordered chain of existing apished operations in one call (same as POST /v1/pipe/run), passing one named field of each step's result into the next step's args. Stops at the first failing step.
Input schema
{'type': 'object', 'required': ['steps'], 'properties': {'steps': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['path'], 'properties': {'args': {'description': "that operation's normal JSON request body"}, 'from': {'type': ['null', 'object'], 'required': ['field', 'as'], 'properties': {'as': {'type': 'string', 'description': "field name to set it as in this step's args"}, 'field': {'type': 'string', 'description': "field name to read from the previous step's result"}}, 'description': "carries one field of the previous step's result into this step's args", 'additionalProperties': False}, 'path': {'type': 'string', 'description': 'canonical REST path of the operation, e.g. /v1/hash/digest'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
Output schema
{'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['step', 'path', 'result'], 'properties': {'path': {'type': 'string'}, 'step': {'type': 'integer'}, 'result': {'type': ['null', 'array'], 'items': {'type': 'integer', 'maximum': 255, 'minimum': 0}}}, 'additionalProperties': False}}
random_int
Generates cryptographically random integers in [min, max] (inclusive), using crypto/rand — an actual random value, not a guess. count defaults to 1, max 1000.
Input schema
{'type': 'object', 'required': ['min', 'max'], 'properties': {'max': {'type': 'integer', 'description': 'upper bound, inclusive; must be >= min'}, 'min': {'type': 'integer', 'description': 'lower bound, inclusive'}, 'count': {'type': 'integer', 'description': 'how many numbers to generate, 1-1000, default 1'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['numbers'], 'properties': {'numbers': {'type': ['null', 'array'], 'items': {'type': 'integer'}}}, 'additionalProperties': False}
regex_extract
Extracts up to maxMatches non-overlapping regex matches from input, using Go's RE2-based regexp engine (linear-time, no backreferences/lookaround). Named groups (?P<name>...) are reported in namedGroups.
Input schema
{'type': 'object', 'required': ['pattern', 'input'], 'properties': {'input': {'type': 'string'}, 'pattern': {'type': 'string', 'description': 'an RE2 regex pattern'}, 'maxMatches': {'type': 'integer', 'description': 'stop after this many matches; omitted/<=0 means no limit'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['matches'], 'properties': {'matches': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['match', 'start', 'end'], 'properties': {'end': {'type': 'integer'}, 'match': {'type': 'string'}, 'start': {'type': 'integer'}, 'groups': {'type': ['null', 'array'], 'items': {'type': 'string'}}, 'namedGroups': {'type': 'object', 'additionalProperties': {'type': 'string'}}}, 'additionalProperties': False}}}, 'additionalProperties': False}
regex_match
Tests input against pattern (Go's regexp package: RE2 syntax, not PCRE — no backreferences or lookaround; use inline flags like (?i) for case-insensitive matching). Returns the full match and captured groups.
Input schema
{'type': 'object', 'required': ['pattern', 'input'], 'properties': {'input': {'type': 'string'}, 'pattern': {'type': 'string', 'description': 'RE2 syntax'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['matches'], 'properties': {'match': {'type': 'string'}, 'groups': {'type': ['null', 'array'], 'items': {'type': 'string'}}, 'matches': {'type': 'boolean'}}, 'additionalProperties': False}
regex_replace
Replaces every regex match of pattern in input with replacement, which may reference capture groups as $1, $name, etc. (Go's Regexp.Expand syntax).
Input schema
{'type': 'object', 'required': ['pattern', 'input', 'replacement'], 'properties': {'input': {'type': 'string'}, 'pattern': {'type': 'string'}, 'replacement': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
regex_split
Splits input around regex matches of pattern, returning at most limit substrings (the last holds the unsplit remainder). limit<=0 means no limit.
Input schema
{'type': 'object', 'required': ['pattern', 'input'], 'properties': {'input': {'type': 'string'}, 'limit': {'type': 'integer'}, 'pattern': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['parts'], 'properties': {'parts': {'type': ['null', 'array'], 'items': {'type': 'string'}}}, 'additionalProperties': False}
regon_validate
Validates the checksum of a 9- or 14-digit Polish business registry number (REGON). 9-digit: weights 8 9 2 3 4 5 6 7 over the first 8 digits, sum mod 11 (10 mapped to 0) must equal the 9th digit. 14-digit: the first 9 digits must themselves be a valid 9-digit REGON, and weights 2 4 8 5 0 9 7 3 6 1 2 4 8 over the first 13 digits (sum mod 11, 10 mapped to 0) must equal the 14th digit.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'digits-only identifier to validate (no spaces or dashes)'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
rpncalc_eval
Evaluates a Reverse Polish Notation (postfix) expression: whitespace-separated tokens, each a number or an operator/function that pops its operands off a stack and pushes the result. Supports arithmetic, exponentiation/modulo, roots, trigonometry, logarithms, rounding, bitwise ops, and constants (pi, e, phi). Always returns the decimal result — for hex/bin/oct rendering, convert the returned number yourself.
Input schema
{'type': 'object', 'required': ['expr'], 'properties': {'expr': {'type': 'string', 'description': 'space-separated RPN expression, e.g. "3 4 + 2 *"'}}, 'additionalProperties': False}
Output schema
{'type': 'number'}
swiftbic_validate
Structural format validation only for a SWIFT/BIC code: 8 or 11 characters (4 letters bank code + 2 letters country code + 2 alphanumeric location code + optional 3 alphanumeric branch code). The country code is not cross-checked against ISO 3166-1.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
text_charat
Returns the 0-indexed character (rune) at index in text.
Input schema
{'type': 'object', 'required': ['text', 'index'], 'properties': {'text': {'type': 'string'}, 'index': {'type': 'integer', 'description': '0-indexed'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
text_count
Counts non-overlapping occurrences of substring in text (rune-safe, not byte-based).
Input schema
{'type': 'object', 'required': ['text', 'substring'], 'properties': {'text': {'type': 'string'}, 'substring': {'type': 'string', 'description': 'must be non-empty'}}, 'additionalProperties': False}
Output schema
{'type': 'integer'}
text_palindrome
Checks whether text reads the same forwards and backwards. ignoreCase/ignoreNonAlnum default false (strict, literal comparison); set both true for phrase-style palindromes like "A man, a plan, a canal: Panama".
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}, 'ignoreCase': {'type': 'boolean'}, 'ignoreNonAlnum': {'type': 'boolean'}}, 'additionalProperties': False}
Output schema
{'type': 'boolean'}
text_reverse
Reverses text by Unicode code point (rune), not grapheme cluster.
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
text_sort
Sorts text's characters or words alphabetically. by: "chars" (default, sorts runes, no separator) or "words" (splits on whitespace, rejoins with a single space).
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'by': {'type': 'string', 'description': 'chars (default) or words'}, 'text': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
text_stats
Descriptive statistics for text: rune/byte/word/line counts, a unique-rune count, a letters/digits/spaces/punctuation/other breakdown, an exact per-character frequency table, and word-length min/max/average plus the actual shortest/longest word (ties resolve to the first occurrence).
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['runes', 'bytes', 'words', 'lines', 'uniqueRunes', 'charTypes', 'charFrequency', 'wordLengths'], 'properties': {'bytes': {'type': 'integer'}, 'lines': {'type': 'integer'}, 'runes': {'type': 'integer'}, 'words': {'type': 'integer'}, 'charTypes': {'type': 'object', 'required': ['letters', 'digits', 'spaces', 'punctuation', 'other'], 'properties': {'other': {'type': 'integer'}, 'digits': {'type': 'integer'}, 'spaces': {'type': 'integer'}, 'letters': {'type': 'integer'}, 'punctuation': {'type': 'integer'}}, 'additionalProperties': False}, 'uniqueRunes': {'type': 'integer'}, 'wordLengths': {'type': 'object', 'required': ['min', 'max', 'average', 'shortest', 'longest'], 'properties': {'max': {'type': 'integer'}, 'min': {'type': 'integer'}, 'average': {'type': 'number'}, 'longest': {'type': 'string'}, 'shortest': {'type': 'string'}}, 'additionalProperties': False}, 'charFrequency': {'type': 'object', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}
text_wordcount
Counts whitespace-delimited words in text.
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}}, 'additionalProperties': False}
Output schema
{'type': 'integer'}
tokens_count
Counts tokens under an OpenAI-compatible (tiktoken) encoding. Provide exactly one of model (e.g. "gpt-4o") or encoding ("o200k_base" or "cl100k_base"). No Claude/Anthropic tokenizer.
Input schema
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string'}, 'model': {'type': 'string', 'description': 'e.g. gpt-4o; exactly one of model/encoding'}, 'encoding': {'type': 'string', 'description': 'o200k_base or cl100k_base; exactly one of model/encoding'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['tokens'], 'properties': {'tokens': {'type': 'integer'}, 'encoding': {'type': 'string'}}, 'additionalProperties': False}
units_convert_datasize
Converts a data-size value (decimal string) between bit, Kbit, Mbit, Gbit, Tbit (SI bits), B, KB, MB, GB, TB, PB (SI bytes), and KiB, MiB, GiB, TiB, PiB (IEC bytes). Always exact.
Input schema
{'type': 'object', 'required': ['value', 'from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}, 'value': {'type': 'string', 'description': 'decimal string'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
units_convert_temperature
Converts a temperature value (decimal string) between C, F, and K. Offset-aware, not a bare multiplier.
Input schema
{'type': 'object', 'required': ['value', 'from', 'to'], 'properties': {'to': {'type': 'string', 'description': 'C, F, or K'}, 'from': {'type': 'string', 'description': 'C, F, or K'}, 'value': {'type': 'string', 'description': 'decimal string'}}, 'additionalProperties': False}
Output schema
{'type': 'string'}
url_validate
Checks value is a well-formed absolute URL (has both a scheme and a host) — syntax only, not a reachability check.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
uuid_generate
Generates count (default 1, max 1000) random version-4 UUIDs from crypto/rand-backed entropy.
Input schema
{'type': 'object', 'properties': {'count': {'type': 'integer', 'description': 'default 1, max 1000'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['values'], 'properties': {'values': {'type': ['null', 'array'], 'items': {'type': 'string'}}}, 'additionalProperties': False}
uuid_validate
Parses value as a UUID and reports its version/variant if well-formed.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'digits-only identifier to validate (no spaces or dashes)'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['value', 'valid'], 'properties': {'valid': {'type': 'boolean'}, 'value': {'type': 'string'}, 'variant': {'type': 'string'}, 'version': {'type': 'integer'}}, 'additionalProperties': False}
vateu_validate
Format validation only (no VIES lookup) for an EU VAT number: checks the 2-letter member-state prefix (EL for Greece, XI for Northern Ireland) against that country's digit/letter pattern. A format-valid result does not mean the number is actually registered.
Input schema
{'type': 'object', 'required': ['value'], 'properties': {'value': {'type': 'string', 'description': 'identifier or value to check'}}, 'additionalProperties': False}
Output schema
{'type': 'object', 'required': ['valid'], 'properties': {'valid': {'type': 'boolean'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}
Added
uuid_validate
Oct. 1, 2026, 2:53 a.m.
Added
uuid_generate
Oct. 1, 2026, 2:53 a.m.
Added
units_convert_temperature
Oct. 1, 2026, 2:53 a.m.
Added
units_convert_datasize
Oct. 1, 2026, 2:53 a.m.
Added
regex_split
Oct. 1, 2026, 2:53 a.m.
Added
regex_replace
Oct. 1, 2026, 2:53 a.m.
Added
regex_extract
Oct. 1, 2026, 2:53 a.m.
Added
pipe_run
Oct. 1, 2026, 2:53 a.m.
Added
network_cidr_overlaps
Oct. 1, 2026, 2:53 a.m.
Added
network_cidr_info
Oct. 1, 2026, 2:53 a.m.
Added
network_cidr_contains
Oct. 1, 2026, 2:53 a.m.
Added
hash_hmac
Oct. 1, 2026, 2:53 a.m.
Changed
encode_encode
Oct. 1, 2026, 2:53 a.m.
Changed
encode_decode
Oct. 1, 2026, 2:53 a.m.
Added
csv_validate
Oct. 1, 2026, 2:53 a.m.
Added
csv_to_json
Oct. 1, 2026, 2:53 a.m.
Added
csv_stats
Oct. 1, 2026, 2:53 a.m.
Added
csv_parse
Oct. 1, 2026, 2:53 a.m.
Added
csv_from_json
Oct. 1, 2026, 2:53 a.m.
Added
color_convert
Oct. 1, 2026, 2:53 a.m.
Added
color_contrast
Oct. 1, 2026, 2:53 a.m.
Added
datetime_now
Sept. 29, 2026, 3:01 a.m.
Added
encode_encode
Sept. 23, 2026, 2:52 a.m.
Added
encode_decode
Sept. 23, 2026, 2:52 a.m.
Added
random_int
Sept. 19, 2026, 2:50 a.m.
Added
vateu_validate
Sept. 17, 2026, 12:33 p.m.
Added
url_validate
Sept. 17, 2026, 12:33 p.m.
Added
tokens_count
Sept. 17, 2026, 12:33 p.m.
Added
text_wordcount
Sept. 17, 2026, 12:33 p.m.
Added
text_stats
Sept. 17, 2026, 12:33 p.m.