Plumbkit

dev.plumbkit由 plumbkit.dev 发布官方发布者v1.0.0更新于 Oct 28, 2026

Exact utilities for agents: time zones, date math, business days, calculator, units, validation.

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

概览

AI 生成的概览

远程 MCP 服务器,为助手提供精确的当前时间、日期计算、单位换算、算术、文本计数、哈希、正则与格式校验工具。

可以做什么
  • 获取任意时区的当前日期时间、时区转换、日期加减、计算时间差,以及工作日计数与推算
  • 精确计算算术表达式,并在长度、质量、体积、面积、速度、数据量、能量、压力、温度等单位间换算
  • 统计字符、单词、行、句子、段落与字节数,并对文本计算哈希或进行 Base64、十六进制、URL 编码
  • 测试 JavaScript 正则表达式,修复不规范的 JSON 或按 JSON Schema 校验
  • 校验邮箱、电话号码、URL 和 IBAN,邮箱可选做 DNS 查询
适用场景
适合需要可靠回答模型常出错问题的场景:今天的日期、日历运算、精确数学、单位换算、字符计数和格式检查。作为写作、数据录入和 API 载荷处理的通用工具层值得添加。
运行要求
远程 streamable HTTP 端点,无需本地包或运行时。付费方案可选提供 Authorization 请求头,值为 Bearer API 密钥;不提供则使用免费每日额度。需要能访问该端点的网络。
安装前请注意
Authorization 请求头携带付费方案的 API 密钥,应视为机密。付费方案涉及用量限制与可能的计费。邮箱 DNS 校验和 URL 校验会访问外部服务;校验只确认格式,不确认账户、邮箱或网址真实存在。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "plumbkit": {
      "type": "http",
      "url": "https://plumbkit.dev/mcp"
    }
  }
}

工具

16

current_time

Current date and time

Returns the exact current date, time, weekday and UTC offset in any time zone. Use this whenever you need to know today's date or the current time instead of guessing — your training data does not know what day it is.

输入参数timezone

convert_timezone

Convert time zones

Converts a date/time from one time zone to another, correctly handling daylight saving time. If the input already includes an offset or 'Z', from_timezone is ignored.

输入参数datetime必填to_timezone必填from_timezone

date_add

Add or subtract time

Adds or subtracts a duration (years, months, weeks, days, hours, minutes, seconds) to a date/time. Use negative numbers to subtract. Calendar-aware: adding 1 month to Jan 31 gives Feb 28/29, and adding days keeps the same local clock time across daylight-saving changes.

输入参数dayshoursweeksyearsmonthsminutessecondsdatetime必填timezone

date_diff

Time between two dates

Calculates the exact time between two dates/times: a calendar breakdown (years, months, days, hours, minutes, seconds) plus totals in days, hours, minutes and seconds, and the number of calendar days. Negative if end is before start.

输入参数end必填start必填timezone

business_days

Business day calculator

Works with business (working) days. mode "add": returns the date N business days after start_date (start_date itself is not counted; negative N goes backward; 0 returns start_date, or the next business day if start_date is not one). mode "count": counts business days from start_date to end_date, including both ends. Weekends default to Saturday and Sunday. Public holidays are NOT built in — pass them in "holidays".

输入参数daysmode必填weekendend_dateholidaysstart_date必填

calculate

Exact calculator

Evaluates an arithmetic expression exactly, so you don't have to do mental math. Supports + - * / % ^ (or **), parentheses, constants pi/e/tau and functions: sqrt, cbrt, abs, round(x, digits), floor, ceil, trunc, sign, ln, log(x[, base]), log10, log2, exp, pow, sin, cos, tan, asin, acos, atan, atan2, min, max, hypot, factorial. Trig uses radians. Example: "(1250 * 1.08^5) - 1250".

输入参数decimalsexpression必填

convert_units

Unit converter

Converts a value between units of length, mass, volume (US and imperial), area, speed, time, digital data (KB vs KiB, bits vs bytes), energy, pressure and temperature. Accepts common abbreviations (km, lb, fl oz, mph, °F, GiB). US customary units are used for cup/pint/quart/gallon unless you say imperial.

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

text_stats

Count characters, words and lines

Counts exactly what language models are bad at counting: characters (as humans see them), words, lines, sentences, paragraphs, UTF-8 bytes, and occurrences of a letter or substring (e.g. how many "r" in "strawberry"). Use it to check length limits (tweets, SMS, meta descriptions, form fields) before submitting text.

输入参数text必填countoverlappingcase_sensitive

hash_text

Hash and encode text

Computes a cryptographic hash (SHA-1, SHA-256, SHA-384, SHA-512) of text, or encodes/decodes it as Base64, Base64URL, hex or URL-encoding. Text is treated as UTF-8.

输入参数text必填operation必填

regex_test

Test a regular expression

Runs a JavaScript regular expression against text and returns every match with its position and capture groups, or the text after replacement. Use it to verify a regex actually works before relying on it.

输入参数text必填flagspattern必填max_matchesreplace_with

validate_email

Validate an email address

Checks whether an email address is correctly formatted and returns a normalized version. Set check_dns=true to also confirm the domain exists and can receive mail (MX records). Does not send email and cannot confirm that a specific mailbox exists.

输入参数email必填check_dns

validate_phone

Validate and format a phone number

Validates a phone number using Google's libphonenumber rules and returns it in E.164 (+14155552671), international and national formats, plus the country and line type (mobile, fixed line, toll free...). For numbers without a +country code, pass default_country.

输入参数phone必填default_country

validate_url

Validate and normalize a URL

Checks that a URL is well-formed, normalizes it (lowercase host, punycode, default ports removed, spaces encoded) and splits it into parts including each query parameter. Flags common problems such as missing scheme, private/localhost addresses and credentials embedded in the URL. Does not fetch the URL.

输入参数url必填require_https

validate_iban

Validate an IBAN

Validates an International Bank Account Number: country, length for that country, and the mod-97 check digits. Returns electronic and printed formats. A valid IBAN is correctly formed; this does not confirm the account exists.

输入参数iban必填

json_repair

Fix broken JSON

Turns almost-JSON into valid JSON: removes markdown code fences, comments and trailing commas, adds missing quotes, commas and closing brackets, converts single quotes, Python True/False/None and truncated output. Returns the repaired JSON string and whether the input was already valid.

输入参数text必填pretty

json_schema_validate

Validate JSON against a schema

Checks a JSON value against a JSON Schema (drafts 4, 7, 2019-09 and 2020-12) and lists every violation with its location. Use it to confirm structured output or an API payload is correct before sending it. `data` and `schema` may be JSON values or JSON strings.

输入参数data必填draftschema必填

版本历史

1
  1. v1.0.0最新Oct 14, 2026

评分

已满足适用检查项的 83%

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

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

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。