Toolars

v0.2.1
io.github.aixtral/toolars Checked 3 days ago Published 7 days ago

Local-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.

ParameterTypeDescription
text *stringUTF-8 text to process. Nothing is read from files or URLs.
algorithmstringDigest 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.

ParameterTypeDescription
text *stringUTF-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.

ParameterTypeDescription
text *stringUTF-8 text to process. Nothing is read from files or URLs.
urlSafebooleanUse 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.

ParameterTypeDescription
text *stringUTF-8 text to process. Nothing is read from files or URLs.
urlSafebooleanAccept 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.

ParameterTypeDescription
token *stringThe 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.

ParameterTypeDescription
countintegerHow many identifiers to generate.
versionstringUUID 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.

ParameterTypeDescription
countintegerHow 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.

ParameterTypeDescription
source *stringTimestamp to convert, e.g. "1726848000", "1726848000000", "2024-09-20T12:34:56Z", or wall time "2024-09-20 12:34" (interpreted in outputTimeZone).
outputTimeZonestringOne 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.

ParameterTypeDescription
expression *stringFive-field cron expression, e.g. "*/15 9-17 * * MON-FRI".
countintegerHow many upcoming runs to list (at most 25).
timeZonestringOne 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.

ParameterTypeDescription
text *stringUTF-8 text to process. Nothing is read from files or URLs.
modestringcomponent 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.

ParameterTypeDescription
text *stringUTF-8 text to process. Nothing is read from files or URLs.
modestringcomponent 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.

ParameterTypeDescription
text *stringUTF-8 text to process. Nothing is read from files or URLs.
emailsbooleanRedact email addresses.
ipsbooleanRedact IPv4 addresses.
queryParamsbooleanRedact sensitive URL query parameter values.
secretsbooleanRedact API keys, private key blocks, and env secrets.
tokensbooleanRedact 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.

ParameterTypeDescription
text *stringUTF-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.

ParameterTypeDescription
text *stringUTF-8 text to process. Nothing is read from files or URLs.
exportKeywordbooleanPrefix generated declarations with export.
formatstringTarget output format.
rootNamestringName of the root TypeScript type or Zod schema.