Penniless Data Utilities

io.github.danielarif26由 GitHub 帳號 danielarif26 發布v3.1.0更新於 Oct 24, 2026

Ten x402-paid tools for JSON, YAML, cron, diff, text, DNS, WHOIS, GitHub, crypto, and email.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取開發者工具

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供九種小型資料工具——JSON 修復、YAML 轉換、cron、diff、文字擷取、DNS、WHOIS、GitHub 統計與電子郵件驗證,按次付費。

可以做什麼
修復格式錯誤的 JSON,並將 YAML 轉換為 JSON,同時回報套用的修正或警告。計算 cron 運算式的下一個 UTC 執行時間,並產生兩段文字的统一 diff。從 HTML 或純文字中擷取正文、標題、標題層級、連結、URL 與電子郵件。透過 DoH 查詢 DNS 記錄,並取得網域的结构化 WHOIS/RDAP 資訊。取得公開 GitHub 儲存庫統計,並驗證電子郵件語法與網域 MX 記錄。
適用情境
適合助理需要快速、確定性的資料雜務時使用:清理模型輸出的損壞 JSON、轉換 YAML、檢查 cron 排程、比較文字、從 HTML 擷取文字,或進行免金鑰的 DNS、WHOIS、GitHub 與電子郵件查詢,而不必另外串接多個服務。
執行需求
遠端 streamable HTTP 端點;無需帳號、API 金鑰或標頭。每次工具呼叫在 Base 上花費 0.001 USDC,透過 x402 協定支付,因此用戶端需要支援 x402 的 MCP 用戶端或錢包簽署器;initialize 與 tools/list 免費。
安裝前請注意
每次工具呼叫都會花費真實資金(Base 上每次 0.001 USDC),助理若重試或迴圈呼叫會產生費用。支付需要用錢包私鑰簽署 USDC 授權,私鑰應保存在用戶端而非提示詞中。網域、電子郵件與文字等輸入會傳送到第三方端點,DNS/WHOIS/電子郵件結果來自即時公開查詢。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Penniless Data Utilities,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.danielarif26%2Fpenniless-data-utilities/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "penniless-data-utilities": {
      "type": "http",
      "url": "https://penniless-json-repair.sjaman.workers.dev/mcp"
    }
  }
}

README

Penniless Data Utilities

Nine deterministic data and lookup tools for AI agents, paid per call in USDC. REST advertises both native MPP and x402; MCP uses x402 v2. No accounts, no API keys, no rate-limit tiers. Every tool is pure computation or a keyless public lookup — none of them call another AI model, so results are reproducible.

Pricing

$0.001 USDC per call. REST advertises native MPP plus x402 v2 (eip155:8453, scheme exact); MCP uses x402 v2.

Base x402 settlements are verified by the free-tier PayAI facilitator. Native MPP is negotiated by mppx. Recipient (payTo): 0x3D98800c64C345950E1eAaa076D88C12d1BF5F37.

Connect over MCP

Any MCP client that speaks streamable HTTP can connect directly:

json
{  "mcpServers": {    "penniless-data-utilities": {      "type": "http",      "url": "https://penniless-json-repair.sjaman.workers.dev/mcp"    }  }}

The transport is stateless — no session id is issued or required, and every request is independent. initialize and tools/list are free. An unpaid tools/call returns an x402 payment-required payload in result.content[0].text (and result.structuredContent); attach the signed payment as params._meta["x402/payment"] and repeat the call.

If you use an x402-aware MCP client, @x402/mcp handles that exchange for you.

Tools

MCP nameREST pathArgumentsReturns
repair_jsonPOST /repair/json{input}repaired JSON + which fixes applied
yaml_to_jsonPOST /yaml/tojson{input}parsed value + warnings
cron_next_runPOST /cron/nextrun{expr, after?}next UTC fire time
text_diffPOST /diff{old, new, context?}unified diff + counts
text_extractPOST /text/extract{input, numbers?, codeBlocks?}text, title, headings, links, URLs, emails
domain_whoisPOST /domain/whois{domain}registrar, statuses, expiry, nameservers, DNSSEC
dns_lookupPOST /dns/lookup{domain, type?}DoH answers for A/AAAA/CNAME/MX/TXT/NS/SOA/PTR/SRV/CAA
github_repo_statsPOST /github/repo-stats{repo}stars, forks, open issues, language, license
email_validatePOST /email/validate{email}syntax + live MX deliverability

POST /diagnose is free: it classifies what is wrong with a malformed JSON payload without returning the repaired output, so a caller can check whether paying is worthwhile before paying.

Example (REST + x402 client)

Any x402 v2 client works. With the reference TypeScript client and a viem account:

js
import { x402Client } from "@x402/core/client";import { registerExactEvmScheme } from "@x402/evm/exact/client";import { wrapFetchWithPayment } from "@x402/fetch";import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();registerExactEvmScheme(client, { signer: privateKeyToAccount(key), networks: ["eip155:8453"] });const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://penniless-json-repair.sjaman.workers.dev/repair/json", {  method: "POST",  headers: { "content-type": "application/json" },  body: JSON.stringify({ input: "{foo: 'bar',}" }),});// -> { ok: true, repaired: { foo: "bar" }, applied: ["unquoted-keys","single-quotes","trailing-commas"] }

wrapFetchWithPayment handles the 402 round-trip: it receives the requirement, signs the USDC authorization, retries, and only returns a 200 once the facilitator has settled.

Development

bash
npm installnpm test        # 133 tests, runs fully offline (facilitator + upstream are injected)npx wrangler devnpx wrangler deploy

Environment (set in wrangler.toml): X402_NETWORK, X402_FACILITATOR, X402_PRICE, X402_PAY_TO. Production also has an encrypted Cloudflare secret MPP_SECRET_KEY used only to authenticate MPP challenges. Wallet private keys are never deployed to the Worker.

Maintainer

GitHub: @danielarif26

來源:README.md,提交 3137a15

工具

9

repair_json

Penniless JSON Repair

Repairs malformed LLM JSON: strips Markdown fences and prose wrappers, fixes trailing commas, converts Python literals (True/False/None) and single/unquoted keys, removes comments, recovers balanced JSON from truncated output. Body {input} -> {ok, repaired, applied}. Costs $0.001 USDC on Base per call.

輸入參數input必填

yaml_to_json

Penniless YAML to JSON

Converts a YAML subset (block maps, sequences, nested indentation, scalars, comments) into JSON with no runtime dependency. Body {input} -> {ok, value, warnings}. Costs $0.001 USDC on Base per call.

輸入參數input必填

cron_next_run

Penniless Cron Next Run

Computes the next UTC fire time for a 5-field cron expression (supports steps, ranges, lists, and month/weekday names). Body {expr, after?} -> {ok, next, epochMs}. Costs $0.001 USDC on Base per call.

輸入參數expr必填after

text_diff

Penniless Text Diff

Produces a unified diff plus added/removed counts between two texts (LCS line diff, configurable context lines). Body {old, new, context?} -> {ok, identical, added, removed, hunks, unified}. Costs $0.001 USDC on Base per call.

輸入參數new必填old必填context

text_extract

Penniless Text Extract

Extracts clean text, title, headings, links, URLs, and emails from HTML or plain text. Body {input, numbers?, codeBlocks?} -> {ok, source, title, headings, links, urls, emails, text}. Costs $0.001 USDC on Base per call.

輸入參數input必填numberscodeBlocks

domain_whois

Penniless WHOIS Lookup

Structured WHOIS via RDAP for any domain: registrar, IANA id, statuses, expiry/registration dates, nameservers, DNSSEC. Body {domain} -> {ok, found, domain, registrar, status[], events{}, nameservers[], dnssec}. Costs $0.001 USDC on Base per call.

輸入參數domain必填

dns_lookup

Penniless DNS Lookup

JSON DNS-over-HTTPS lookup for A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, SRV, CAA. Body {domain, type?} -> {ok, domain, type, status, answers[]}. Costs $0.001 USDC on Base per call.

輸入參數typedomain必填

github_repo_stats

Penniless GitHub Repo Stats

Popularity and metadata for any public GitHub repo: stars, forks, open issues, watchers, language, license, topics, last push. Body {repo} -> {ok, found, stars, forks, openIssues, language, license, pushedAt}. Costs $0.001 USDC on Base per call.

輸入參數repo必填

email_validate

Penniless Email Validate

Email deliverability check: RFC-style syntax plus live MX probe of the domain. Body {email} -> {ok, valid, formatValid, domainHasMx, mx[]}. Costs $0.001 USDC on Base per call.

輸入參數email必填

版本歷史

1
  1. v3.1.0最新Sep 17, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。