APIShed

com.apished由 apished.com 发布官方发布者v1.3.0更新于 Oct 24, 2026

Validates PESEL/NIP/REGON/IBAN/Luhn/ISBN/EAN/BIC/VAT; RPN, dates, hash, tokens, random, encode, time

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

概览

AI 生成的概览

APIShed 是一个远程工具服务器,为助手提供校验、编码、哈希、日期计算、正则、CSV 与网络 CIDR 等确定性工具。

可以做什么
校验标识与代码:PESEL、NIP、REGON、IBAN、SWIFT/BIC、Luhn、ISBN、EAN/UPC/GTIN、邮箱与 JSON Schema 文档,PESEL 校验通过时还可解析出生日期与性别。编码与哈希文本:rot13、base64、base64url、base32、hex、uuencode、URL 与 HTML 编码,以及哈希摘要和 HMAC。处理日期与时间:当前日期时间、加减间隔、年龄、日差、星期、工作日与闰年。处理文本与数据:正则匹配、提取、替换与分割,CSV 解析、转换、校验与列计数,JSON 转 CSV,以及逆波兰表达式求值。检查网络与随机数:CIDR 包含、范围信息与重叠判断,加密安全随机整数,以及串联多个操作的管道。
适用场景
适合需要精确、可复现结果而非猜测的场景:核对税务、银行或商品标识的校验位,在编码之间转换,计算哈希,做日历运算,或测试正则与 CSV 结构。
运行要求
远程 streamable HTTP 端点;未声明任何软件包、环境变量或请求头,也未声明身份验证。需要能访问该端点的网络。
安装前请注意
输入内容会发送到第三方服务,请勿粘贴密钥、私钥或不愿外泄的个人标识信息。HMAC 密钥作为工具参数传入。校验工具只检查语法与校验位,不代表真实有效或可送达。

AI 概览如何生成和校验

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "apished": {
      "type": "http",
      "url": "https://apished.com/mcp"
    }
  }
}

工具

52

color_contrast

Computes the WCAG 2.1 contrast ratio between two hex colors. Alpha, if present, is composited over white first.

输入参数colorA必填colorB必填

color_convert

Converts a color between hex, rgb, hsl, and hsv. value's shape depends on from/to: a string for hex, an object ({r,g,b,a?} etc.) otherwise.

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

csv_from_json

Converts JSON records to CSV text. columns is the explicit, ordered header — JSON object key order can't be relied on to infer it.

输入参数columns必填records必填delimiter

csv_parse

Parses CSV text into rows of string fields (no type guessing). Ragged rows are tolerated — use csv_validate to detect them.

输入参数text必填delimiter

csv_stats

Parses CSV text (header row required) and reports per-column non-empty/empty value counts across the data rows. No numeric aggregation.

输入参数text必填delimiter

csv_to_json

Converts CSV text to JSON: header=true (default) returns one object per data row keyed by the header row; header=false returns raw rows. Every value is a string.

输入参数text必填headerdelimiter

csv_validate

Reports whether CSV text is structurally well-formed: every row has the same field count as the first.

输入参数text必填delimiter

datemath_add

Adds years/months/days to date. years/months are applied together with end-of-month clamping — e.g. 2026-01-31 + 1 month = 2026-02-28, not an overflowed 2026-03-03. days is then applied as plain calendar-day arithmetic.

输入参数date必填daysyearsmonths

datemath_age

Age in whole years as of asOf (optional, defaults to the current UTC date). A Feb-29 birthDate is treated as falling on March 1 in a non-leap asOf year.

输入参数asOfbirthDate必填

datemath_businessdays

Counts days in [from, to] (inclusive on both ends) whose weekday is in weekdays (default mon-fri) and which aren't in holidays.

输入参数to必填from必填holidaysweekdays

datemath_dayofweek

Day of the week for date: both the weekday name and its ISO 8601 weekday number (1=Monday..7=Sunday).

输入参数date必填

datemath_diff

Day difference between two YYYY-MM-DD dates: to minus from, in whole days. Negative if to is before from.

输入参数to必填from必填

datemath_leapyear

Checks whether year is a leap year in the Gregorian calendar.

输入参数year必填

datetime_now

Returns the actual current date/time — an LLM has a training cutoff and no live clock, so it can't know what time it actually is right now.

输入参数formattimezone

ean_validate

Validates an 8-digit (EAN-8), 12-digit (UPC-A), 13-digit (EAN-13), or 14-digit (GTIN-14) barcode checksum: alternating weights 1 3 applied right-to-left, check digit is (10 - sum mod 10) mod 10.

输入参数value必填

email_validate

Checks value is a single, bare RFC 5322 email address — syntax only, not a deliverability check. user@localhost is valid (no TLD required). "Name <email>" display syntax is rejected.

输入参数value必填

encode_decode

Decodes rot13, base64, base64url, base32, hex, uuencode, urlcomponent, urlform, or html text back to the original. encoding in the result is "text" if the decoded bytes are valid UTF-8, or "base64" if they're binary.

输入参数input必填format必填

encode_encode

Encodes plain UTF-8 text into rot13, base64, base64url, base32, hex, uuencode, urlcomponent (RFC 3986 percent-encoding, space -> %20), urlform (application/x-www-form-urlencoded, space -> +), or html (entity-escapes < > & ' "). Returns plain ASCII.

输入参数input必填format必填

hash_digest

Computes a hash digest of input (decoded per encoding: "text" default, "base64", or "hex") using algo: md5, sha1, sha256, sha512, or crc32. Returns the digest as lowercase hex.

输入参数algo必填input必填encoding

hash_hmac

Computes an HMAC of input (decoded per encoding) using algo: md5, sha1, sha256, or sha512 (crc32 isn't offered — it's a checksum, not a cryptographic primitive HMAC composes with). key is used as its raw UTF-8 bytes, not decoded per encoding. Returns the MAC as lowercase hex.

输入参数key必填algo必填input必填encoding

iban_validate

Validates an IBAN's length for its issuing country (per the SWIFT IBAN registry) and its mod-97 checksum. Does not decompose the BBAN into a bank code/account number or resolve a BIC.

输入参数value必填

isbn_validate

Validates a 10- or 13-character ISBN. ISBN-10 uses weights 10..1 over 10 characters (last may be X, worth 10), sum mod 11 must be 0. ISBN-13 uses the same GTIN checksum as barcodes.

输入参数value必填

jsonschema_validate

Validates document against schema (JSON Schema draft-07 or 2020-12). Reports one specific violation per call, not an aggregated list.

输入参数schema必填document必填

luhn_validate

Validates a numeric string against the Luhn (mod-10) checksum — payment card numbers, IMEI numbers, and similar identifiers.

输入参数value必填

network_cidr_contains

Reports whether a CIDR block contains an address. Different address families (IPv4 vs IPv6) never match.

输入参数cidr必填address必填

network_cidr_info

Parses a CIDR block and reports its network address, address range, and address count. An address with host bits set (e.g. 10.14.32.17/21) is normalized to its network address in the result.

输入参数cidr必填

network_cidr_overlaps

Reports whether two CIDR blocks share any address.

输入参数cidrA必填cidrB必填

nip_validate

Validates the checksum of a 10-digit Polish tax identification number (NIP). Checksum uses weights 6 5 7 2 3 4 5 6 7 over the first 9 digits; sum mod 11 must equal the 10th digit. A sum mod 11 of 10 is itself invalid.

输入参数value必填

pesel_validate

Validates the checksum of an 11-digit Polish national identification number (PESEL). Checksum uses weights 1 3 7 9 1 3 7 9 1 3 over the first 10 digits; control digit is (10 - sum mod 10) mod 10. On success also decodes the date of birth and sex embedded in the number; a checksum-valid number with an impossible calendar date (e.g. Feb 30) is still reported invalid.

输入参数value必填

pipe_run

Runs a short ordered chain of existing apished operations in one call (same as POST /v1/pipe/run), passing one named field of each step's result into the next step's args. Stops at the first failing step.

输入参数steps必填

random_int

Generates cryptographically random integers in [min, max] (inclusive), using crypto/rand — an actual random value, not a guess. count defaults to 1, max 1000.

输入参数max必填min必填count

regex_extract

Extracts up to maxMatches non-overlapping regex matches from input, using Go's RE2-based regexp engine (linear-time, no backreferences/lookaround). Named groups (?P<name>...) are reported in namedGroups.

输入参数input必填pattern必填maxMatches

regex_match

Tests input against pattern (Go's regexp package: RE2 syntax, not PCRE — no backreferences or lookaround; use inline flags like (?i) for case-insensitive matching). Returns the full match and captured groups.

输入参数input必填pattern必填

regex_replace

Replaces every regex match of pattern in input with replacement, which may reference capture groups as $1, $name, etc. (Go's Regexp.Expand syntax).

输入参数input必填pattern必填replacement必填

regex_split

Splits input around regex matches of pattern, returning at most limit substrings (the last holds the unsplit remainder). limit<=0 means no limit.

输入参数input必填limitpattern必填

regon_validate

Validates the checksum of a 9- or 14-digit Polish business registry number (REGON). 9-digit: weights 8 9 2 3 4 5 6 7 over the first 8 digits, sum mod 11 (10 mapped to 0) must equal the 9th digit. 14-digit: the first 9 digits must themselves be a valid 9-digit REGON, and weights 2 4 8 5 0 9 7 3 6 1 2 4 8 over the first 13 digits (sum mod 11, 10 mapped to 0) must equal the 14th digit.

输入参数value必填

rpncalc_eval

Evaluates a Reverse Polish Notation (postfix) expression: whitespace-separated tokens, each a number or an operator/function that pops its operands off a stack and pushes the result. Supports arithmetic, exponentiation/modulo, roots, trigonometry, logarithms, rounding, bitwise ops, and constants (pi, e, phi). Always returns the decimal result — for hex/bin/oct rendering, convert the returned…

输入参数expr必填

swiftbic_validate

Structural format validation only for a SWIFT/BIC code: 8 or 11 characters (4 letters bank code + 2 letters country code + 2 alphanumeric location code + optional 3 alphanumeric branch code). The country code is not cross-checked against ISO 3166-1.

输入参数value必填

text_charat

Returns the 0-indexed character (rune) at index in text.

输入参数text必填index必填

text_count

Counts non-overlapping occurrences of substring in text (rune-safe, not byte-based).

输入参数text必填substring必填

text_palindrome

Checks whether text reads the same forwards and backwards. ignoreCase/ignoreNonAlnum default false (strict, literal comparison); set both true for phrase-style palindromes like "A man, a plan, a canal: Panama".

输入参数text必填ignoreCaseignoreNonAlnum

text_reverse

Reverses text by Unicode code point (rune), not grapheme cluster.

输入参数text必填

text_sort

Sorts text's characters or words alphabetically. by: "chars" (default, sorts runes, no separator) or "words" (splits on whitespace, rejoins with a single space).

输入参数bytext必填

text_stats

Descriptive statistics for text: rune/byte/word/line counts, a unique-rune count, a letters/digits/spaces/punctuation/other breakdown, an exact per-character frequency table, and word-length min/max/average plus the actual shortest/longest word (ties resolve to the first occurrence).

输入参数text必填

text_wordcount

Counts whitespace-delimited words in text.

输入参数text必填

tokens_count

Counts tokens under an OpenAI-compatible (tiktoken) encoding. Provide exactly one of model (e.g. "gpt-4o") or encoding ("o200k_base" or "cl100k_base"). No Claude/Anthropic tokenizer.

输入参数text必填modelencoding

units_convert_datasize

Converts a data-size value (decimal string) between bit, Kbit, Mbit, Gbit, Tbit (SI bits), B, KB, MB, GB, TB, PB (SI bytes), and KiB, MiB, GiB, TiB, PiB (IEC bytes). Always exact.

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

units_convert_temperature

Converts a temperature value (decimal string) between C, F, and K. Offset-aware, not a bare multiplier.

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

url_validate

Checks value is a well-formed absolute URL (has both a scheme and a host) — syntax only, not a reachability check.

输入参数value必填

uuid_generate

Generates count (default 1, max 1000) random version-4 UUIDs from crypto/rand-backed entropy.

输入参数count

uuid_validate

Parses value as a UUID and reports its version/variant if well-formed.

输入参数value必填

vateu_validate

Format validation only (no VIES lookup) for an EU VAT number: checks the 2-letter member-state prefix (EL for Greece, XI for Northern Ireland) against that country's digit/letter pattern. A format-valid result does not mean the number is actually registered.

输入参数value必填

版本历史

3
  1. v1.3.0最新Sep 27, 2026
  2. v1.1.0Sep 20, 2026
  3. v1.0.0Sep 16, 2026

评分

已满足适用检查项的 83%

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

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

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

  • 许可证不适用

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

这个评分如何计算

其他 Apished 集成