FabTally Utility Belt

io.github.zvmzaretsky由 GitHub 账号 zvmzaretsky 发布v1.0.0更新于 Oct 24, 2026

13 deterministic agent utilities: timezone, cron, RRULE, currency, regex, diff, hashing & more.

发布方自己的服务:Tally

已验证Streamable HTTP可网页运行开发者工具数据与分析

概览

AI 生成的概览

一个远程 MCP 服务器,提供 13 项确定性工具:单位换算、哈希、编码、ID 生成、正则、时区、cron、RRULE、汇率、文本差异与 JSON Schema 校验。

可以做什么
在长度、质量、温度、体积、数据、时间、面积、速度、角度、压力与能量之间换算数值,并对文本做 slugify、大小写转换和模板填充,以及进行 base64、hex、URL 与 HTML 的编码或解码,以及计算加密摘要,支持可选 HMAC 与多种输出编码,以及生成 UUID、ULID、nanoid 或随机标识符,以及执行正则的测试、匹配、提取或替换,并带有回溯保护,以及处理日期与调度:在 IANA 时区之间转换时刻、解析 cron 表达式、展开 iCal RRULE、加减时长与工作日,以及用统一差异比较两段文本,以及按 JSON Schema 校验数据
适用场景
适合助手需要小而精确、可重复的计算时使用,例如单位或汇率换算、哈希与编码、ID 生成、正则处理、时区与 cron 或重复规则计算、文本差异和模式校验,而无需引入许多独立库。
运行要求
远程 streamable-HTTP 端点;未声明认证、环境变量或请求头。README 另记录了通过 npx 的本地 stdio 方式与自托管 HTTP 模式,以及可选的 FABTALLY_BELT_BASE 用于设置 API 基址。
安装前请注意
有七个工具(timezone、cron、rrule、currency、diff、jsonschema、datemath)每次调用收费 0.001 美元,通过 x402 以 Base 上的 USDC 支付;未付款时返回 402 挑战,结算需将 x402 支付授权作为 x_payment 传入。服务器声明不持有私钥,使用仅接收的钱包。汇率仅供参考,不构成可成交报价。输入数据会发送到第三方托管服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 FabTally Utility Belt,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.zvmzaretsky%2Futility-belt/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "fabtally-utility-belt": {
      "type": "http",
      "url": "https://belt.fabtally.com/mcp"
    }
  }
}

README

FabTally Utility Belt — MCP server

The deterministic micro-utilities AI agents call constantly, as an MCP server (stdio + streamable-HTTP) and a pay-per-call HTTP API. One reliable bundle instead of thirteen flaky npm deps.

  • Free tools return real results with no wallet: convert, text, hash, encode, id, regex.
  • Paid tools ($0.001/call, x402 · USDC on Base): timezone, cron, rrule, currency, diff, jsonschema, datemath. With no payment a paid tool returns the decoded x402 402 challenge (price / network / asset / payTo) so an agent can pay and retry with x_payment. Humans can instead prepay by card and use an X-FabTally-Key credit key against the HTTP API.

This server holds no private key. It fronts https://belt.fabtally.com. Every utility is a pure, deterministic function with strict input validation; bad input → 400, never charged; nothing is stored.

Tools

ToolTierWhat it does
convertfreeUnit conversion (length/mass/temperature/volume/data/time/area/speed/angle/pressure/energy).
textfreeslugify · case-convert (camel/pascal/snake/kebab/constant/…) · {{template}} fill.
hashfreesha256/sha512/sha384/sha1/md5/sha3-256/keccak256/ripemd160, optional HMAC, hex/base64 out.
encodefreebase64 / base64url / hex / url / html encode & decode.
idfreeuuid v4/v7, ULID, nanoid, random hex/base64url/int (count up to 1000).
regexfreetest/match/extract/replace with catastrophic-backtracking protection (killable worker + timeout).
timezone$0.001Instant → IANA zone with historically-correct DST; offsets, abbreviations, DST flags.
cron$0.001Cron expression → next N run times + plain-English description.
rrule$0.001iCal RRULE (RFC 5545) → next N occurrences.
currency$0.001Live currency conversion at reference/mid-market rates (keyless ECB feed, cached).
diff$0.001Text diff: unified patch + structured op-list + add/remove/hunk stats.
jsonschema$0.001Validate against JSON Schema (draft 2020-12) and explain every error in plain English.
datemath$0.001Add/subtract ISO-8601 durations, diff into chosen units, business-day add/diff.

Install / run

stdio (Claude Desktop, Cursor, any MCP client)

jsonc
// claude_desktop_config.json{  "mcpServers": {    "fabtally-belt": { "command": "npx", "args": ["-y", "fabtally-belt-mcp"] }  }}

Or clone and run: node index.js (speaks MCP over stdio).

streamable-HTTP (remote)

Hosted: https://belt.fabtally.com/mcp. Or self-host: MCP_HTTP_PORT=8108 node http.js.

Config

  • FABTALLY_BELT_BASE — API base (default https://belt.fabtally.com).

Paying for paid tools

A paid tool with no x_payment returns:

json
{ "payment_required": true, "http_status": 402,  "challenge": { "x402Version": 2, "accepts": [ { "scheme": "exact", "network": "eip155:8453",    "amount": "1000", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "payTo": "0x…" } ] } }

Build an x402 payment authorization (EIP-3009 transferWithAuthorization to payTo) for the accepts entry and call the tool again with the token in x_payment. amount is atomic USDC (1000 = $0.001).

Guarantees

Deterministic. Stateless — no PII or request data stored. Receive-only wallet (no custody). Currency figures are reference/mid-market rates for informational use, not a dealable quote. MIT licensed.

来源:README.md,提交 50dae27

工具

13

convert

Unit conversion

FREE. Convert a value between units in the same dimension: length, mass, temperature, volume, data, time, area, speed, angle, pressure, energy. Deterministic. Args: value (number), from (unit), to (unit). e.g. {value:100, from:'c', to:'f'} or {value:1, from:'GiB', to:'MB'}. Different-dimension conversions 400.

输入参数to必填from必填value必填

text

Slugify / case-convert / template-fill

FREE. Text transforms. op='slugify' -> URL slug; op is one of camel|pascal|snake|kebab|constant|dot|path|title|sentence|upper|lower for case conversion; op='template' fills {{placeholders}} from `data`. Args: op, text (for slugify/case), or template + data (for template).

输入参数op必填datatextstricttemplateseparator

hash

Hash / HMAC

FREE. Compute a cryptographic digest: sha256, sha512, sha384, sha1, md5, sha3-256, keccak256, ripemd160. Optional HMAC via hmac_key. Output hex (default), base64, or base64url. keccak256 also returns a 0x-form (handy for Ethereum). Args: algorithm, text (+ input_encoding utf8|hex|base64, output_encoding, hmac_key).

输入参数text必填hmac_keyalgorithm必填input_encodingoutput_encoding

encode

Encode / decode (base64, hex, url, html)

FREE. Encode or decode text. op is one of base64-encode|base64-decode|base64url-encode|base64url-decode|hex-encode|hex-decode|url-encode|url-decode|html-encode|html-decode. Args: op, text.

输入参数op必填text必填

id

Generate IDs (uuid v4/v7, ULID, nanoid)

FREE. Generate identifiers. kind is one of uuidv4|uuidv7|ulid|nanoid|hex|base64url|int. count up to 1000. nanoid takes `size`; hex/base64url take `bytes`. Uses a CSPRNG. Args: kind, count.

输入参数kindsizebytescount

regex

Regex test / match / extract / replace (safe)

FREE. Run a regular expression against input with catastrophic-backtracking protection (it runs in a killable worker with a hard timeout, so a pathological pattern returns a 400 instead of hanging). op is test|match|extract|replace. Args: pattern, input, flags (gimsuy), op, replacement (for replace).

输入参数opflagsinput必填limitpattern必填replacement

timezone

Timezone / DST convert (paid $0.001)

PAID $0.001 (x402, USDC on Base). Convert an instant between IANA time zones with historically-correct DST. Returns converted datetime, UTC offsets, tz abbreviations, DST flags, and the offset difference. Args: datetime (ISO 8601 or epoch), from_zone, to_zone. Without payment returns the x402 challenge; pass x_payment to settle. Free teaser exists on the HTTP API at /v1/timezone/free.

输入参数to_zone必填datetime必填from_zonex_payment

cron

Cron -> next N runs + description (paid $0.001)

PAID $0.001. Parse a 5- or 6-field cron expression and return the next N run times plus a plain-English description. Args: expression, timezone (IANA, default UTC), count (default 5), from (ISO, optional). Without payment returns the x402 challenge; pass x_payment to settle.

输入参数fromcounttimezonex_paymentexpression必填

rrule

iCal RRULE -> next N occurrences (paid $0.001)

PAID $0.001. Expand an iCal RRULE (RFC 5545) recurrence into its next N occurrences. Args: rrule (e.g. 'FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10'), after (ISO, default now), count (default 5), timezone. Tip: include DTSTART for anchored series. Without payment returns the x402 challenge; pass x_payment.

输入参数aftercountrrule必填timezonex_payment

currency

Live currency convert (paid $0.001)

PAID $0.001. Convert an amount between currencies at reference/mid-market rates from a keyless public central-bank feed (ECB), cached. Informational, not a dealable quote. Args: amount, from, to (ISO-4217, e.g. USD, EUR, JPY). Without payment returns the x402 challenge; pass x_payment to settle.

输入参数to必填from必填amount必填x_payment

diff

Text diff (unified + structured) (paid $0.001)

PAID $0.001. Diff two texts: a unified patch, a structured op-list (add/remove/equal), and add/remove/hunk stats. Args: a, b, mode (lines|words|chars, default lines), context (default 3), label_a, label_b. Without payment returns the x402 challenge; pass x_payment to settle.

输入参数a必填b必填modecontextlabel_alabel_bx_payment

jsonschema

JSON-Schema (2020-12) validate + explain (paid $0.001)

PAID $0.001. Validate a value against a JSON Schema (draft 2020-12) and explain every error in plain English (which property, what was wrong, allowed values). Args: schema (object), data (any). Without payment returns the x402 challenge; pass x_payment to settle.

输入参数dataschema必填x_payment

datemath

Date math: durations & business days (paid $0.001)

PAID $0.001. Calendar date math. op='add'/'subtract' an ISO-8601 duration (P1Y2M10DT2H30M) to a date; op='diff' two datetimes into chosen units; op='business-add' add business days (configurable weekend + holidays); op='business-diff' count business days between two dates. Without payment returns the x402 challenge; pass x_payment to settle.

输入参数op必填todatedaysfromunitsweekenddurationholidaystimezonex_payment

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Tally 集成