Toolars
v0.2.1Local-first dev CLI/MCP: hash, base64, JWT, UUID, cron, prompt sanitizer, tokens, JSON->TS/Zod.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
toolars_hash
Compute the hex digest of UTF-8 text with any algorithm the Toolars hash-checker tools ship (md5, sha1, sha224, sha256, sha384, sha512). Defaults to sha256. Identical to the corresponding Toolars *-hash-checker web tools. MD5 and SHA-1 are integrity-only legacy digests, never signatures. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
algorithm | string | Digest algorithm. MD5 and SHA-1 are legacy integrity-only checks and are never signatures. |
toolars_hash_sha256
Compute a SHA-256 hex digest. Compatibility alias for toolars_hash with algorithm sha256. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
toolars_base64_encode
Encode UTF-8 text as Base64 (standard or URL-safe alphabet), identical to the Toolars base64-encoder-decoder web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
urlSafe | boolean | Use the URL-safe alphabet (- and _) and omit padding. |
toolars_base64_decode
Decode Base64 text (standard or URL-safe alphabet) as UTF-8, identical to the Toolars base64-encoder-decoder web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
urlSafe | boolean | Accept the URL-safe alphabet (- and _). |
toolars_jwt_decode
Parse a JWT (header, payload, time-claim report) WITHOUT verifying the signature. Never trust the claims; verification is intentionally not offered. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
token * | string | The compact JWT: header.payload.signature. |
toolars_uuid_generate
Generate random RFC 9562 UUIDs (version 4 or 7), identical to the Toolars uuid-ulid-generator web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
count | integer | How many identifiers to generate. |
version | string | UUID version to generate. |
toolars_ulid_generate
Generate ULIDs (timestamp-ordered identifiers), identical to the Toolars uuid-ulid-generator web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
count | integer | How many identifiers to generate. |
toolars_timestamp_convert
Convert a Unix timestamp (seconds/milliseconds), ISO 8601, RFC 2822, or wall time into all common representations, identical to the Toolars timestamp-time-zone-converter web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
source * | string | Timestamp to convert, e.g. "1726848000", "1726848000000", "2024-09-20T12:34:56Z", or wall time "2024-09-20 12:34" (interpreted in outputTimeZone). |
outputTimeZone | string | One of UTC, local, America/New_York, Europe/London, Europe/Berlin, Asia/Shanghai, Asia/Tokyo, Asia/Seoul, Asia/Kolkata, Australia/Sydney. |
toolars_cron_explain
Explain a 5-field cron expression and list the next scheduled runs, identical to the Toolars cron-builder-explainer web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
expression * | string | Five-field cron expression, e.g. "*/15 9-17 * * MON-FRI". |
count | integer | How many upcoming runs to list (at most 25). |
timeZone | string | One of UTC, local, America/New_York, Europe/London, Europe/Berlin, Asia/Shanghai, Asia/Tokyo, Asia/Seoul, Asia/Kolkata, Australia/Sydney. |
toolars_url_encode
Percent-encode text (encodeURIComponent or encodeURI semantics), identical to the Toolars url-encoder-decoder web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
mode | string | component encodes every reserved character (encodeURIComponent); uri leaves URI structure characters (encodeURI). |
toolars_url_decode
Decode percent-encoded text (decodeURIComponent or decodeURI semantics), identical to the Toolars url-encoder-decoder web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
mode | string | component decodes every escape sequence; uri preserves URI structure characters. |
toolars_prompt_log_sanitize
Redact API keys, private key blocks, JWTs, Bearer tokens, emails, IPv4 addresses, and secret query parameters from logs or prompts using deterministic placeholders, identical to the Toolars prompt-log-sanitizer web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
emails | boolean | Redact email addresses. |
ips | boolean | Redact IPv4 addresses. |
queryParams | boolean | Redact sensitive URL query parameter values. |
secrets | boolean | Redact API keys, private key blocks, and env secrets. |
tokens | boolean | Redact JWTs and Bearer tokens. |
toolars_token_count
Estimate LLM token counts locally with a multilingual BPE-calibrated heuristic and check fit against 128K, 200K, and 1M context windows, identical to the Toolars token-counter web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
toolars_json_to_types
Convert a JSON payload into a TypeScript interface/type or Zod validation schema locally, inferring nested objects, arrays, optional keys, and union types, identical to the Toolars json-to-types web tool. Runs entirely locally; no network or filesystem access. Input and result enter the MCP client context and may be sent to its model provider.
| Parameter | Type | Description |
|---|---|---|
text * | string | UTF-8 text to process. Nothing is read from files or URLs. |
exportKeyword | boolean | Prefix generated declarations with export. |
format | string | Target output format. |
rootName | string | Name of the root TypeScript type or Zod schema. |