保本销量
commerce.break_evenCalculate the smallest integer unit count covering fixed costs from positive unit contribution.
COMMERCE + DATA · MCP
125 个已实现的电商与数据处理能力,开放参数、输入输出样例与调用约定。支持 Claude、Qwen 与 Codex 的 MCP 接入。
v0.3.0 安装包已发布 · MCP Registry 已登记 · 执行需要独立后台
REFERENCE CATALOG
125 个技能
commerce.break_evenCalculate the smallest integer unit count covering fixed costs from positive unit contribution.
commerce.cart_totalRound each line to cents, apply one order discount, tax discounted items and add untaxed shipping; caller supplies the rate.
commerce.commission_splitSplit a cent-rounded gross amount; round the platform share half-up and give the exact remainder to the developer.
commerce.compare_offersSort named offers by unrounded unit price and then name; display rounded unit prices.
commerce.currency_convertMultiply a nonnegative amount by the caller's plain-decimal exchange rate; no live exchange-rate lookup.
commerce.discountRound the original price to cents, then calculate a percentage discount and final price; discount rounds half-up to cents.
commerce.marginCalculate gross profit and gross margin as a percentage of selling price.
commerce.markupCalculate markup as a percentage of cost and return the resulting price.
commerce.price_from_marginCompute cost / (1 - margin/100), rounding the proposed price to cents.
commerce.price_to_incrementRound a nonnegative price up to the nearest positive increment of whole cents.
commerce.product_completenessReport missing, null, empty-string or empty-list fields against caller-specified required product keys.
commerce.sku_generateConstruct a deterministic uppercase SKU from ASCII alphanumeric segments after accent removal; caller controls uniqueness.
commerce.taxRound the supplied amount to cents and calculate tax-exclusive or tax-inclusive amounts from the caller's rate; does not determine applicable tax rules.
commerce.tiered_pricingApply graduated pricing to each tier's incremental quantity, rounding each band's cost to cents; final tier must cover quantity.
commerce.unit_priceDivide total price by positive quantity and round to two decimals for comparison display.
commerce.volumetric_weightCalculate L×W×H/divisor from centimetre dimensions; caller supplies the carrier's divisor and actual kilograms.
csv.escape_formulasPrefix risky spreadsheet cells (=,+,-,@ or control/leading-whitespace variants) with an apostrophe before CSV export.
csv.parseParse supplied CSV into string rows with explicit delimiter and strict quoting.
csv.select_columnsSelect zero-based column indices from every row; missing columns fail.
csv.to_recordsUse the first row as unique nonempty headers and require equal row widths.
csv.transposeTranspose a rectangular string table; ragged rows are rejected.
csv.writeSerialize string rows using RFC-style quoting and LF line endings.
datetime.add_daysAdd a signed number of calendar days to an ISO date.
datetime.add_monthsShift calendar months and clamp the day to the destination month's final day.
datetime.business_daysCount Monday-Friday days in [start,end), excluding explicitly supplied holidays; no jurisdiction-specific calendar is assumed.
datetime.convert_offsetRender an aware ISO datetime at a supplied fixed UTC offset in minutes; no daylight-saving rules are inferred.
datetime.date_partsReturn calendar fields, ISO weekday (Monday=1), ISO week/year and day of year.
datetime.date_rangeGenerate an ascending inclusive date sequence with positive day spacing and at most 1000 dates.
datetime.days_betweenReturn signed end minus start in calendar days.
datetime.from_unixConvert Unix seconds in the supported year range to an ISO UTC datetime.
datetime.month_boundsReturn the first and last calendar dates of the supplied date's month.
datetime.to_unixConvert an ISO datetime with explicit UTC offset to Unix seconds.
encoding.base64_decodeStrictly decode standard Base64 into UTF-8 text, rejecting binary or malformed input.
encoding.base64_encodeEncode UTF-8 text into standard padded Base64.
encoding.hex_decodeDecode hexadecimal bytes as strict UTF-8 text; ASCII whitespace is permitted.
encoding.hex_encodeEncode the UTF-8 bytes of text as lowercase hexadecimal.
encoding.query_buildBuild a form-encoded query string from ordered key/value pairs; spaces become +.
encoding.query_parseParse form-style query parameters into ordered key/value pairs, preserving duplicate keys and blanks.
encoding.sha256Compute SHA256 of supplied UTF-8 text; no file access.
encoding.sha512Compute SHA512 of supplied UTF-8 text; no file access.
encoding.url_decodeStrictly percent-decode a UTF-8 component; literal + remains +.
encoding.url_encodePercent-encode a UTF-8 URL component; spaces become %20.
encoding.url_parseSplit a URL into components without requesting it; invalid ports raise an input error.
encoding.uuid_v5Generate a namespace-based UUID v5 using a supplied DNS name; unsuitable as a secret token.
inventory.abc_classifySort annual consumption value descending; classify by cumulative share BEFORE each item (A<80%, B<95%, else C); zero-value totals are C.
inventory.allocateAllocate a supplied stock quantity to requests in input order, reporting unfilled demand and remaining units.
inventory.availableSubtract reserved and safety stock from on-hand inventory, reporting nonnegative availability and shortfall.
inventory.days_of_coverDivide available units by positive daily demand; zero demand is rejected rather than returned as infinity.
inventory.reconcileCompare expected and counted quantities across the union of unique SKUs; missing records count as zero.
inventory.reorder_pointUse demand×lead time+safety stock, rounded up; compare with on-hand+on-order-reserved inventory position.
json.diffReport sorted leaf-path additions, removals and changes; this is a report, not an RFC 6902 patch.
json.flattenMap each leaf or empty container to its escaped RFC 6901 path, preserving array indices.
json.formatSerialize supplied JSON with sorted keys and bounded indentation.
json.get_pointerRead a value at an RFC 6901 pointer, including escaped slashes and tildes; missing paths fail.
json.keysReturn sorted top-level keys from an object.
json.merge_objectsShallow-merge objects in order; later values replace earlier values for the same key.
json.omitRemove requested top-level keys from a supplied object.
json.parseParse strict JSON; reject duplicate object keys, non-finite numbers and nesting deeper than ten containers.
json.pickReturn only requested keys that exist, preserving requested key order.
json.set_pointerReturn a copied document with a value replaced or object key inserted; parent containers must exist.
math.clampClamp a value between inclusive minimum and maximum, rejecting inverted intervals.
math.combinationsCompute the exact number of k-element selections from n, bounded to n ≤ 100.
math.divmodReturn Python floor-division quotient and corresponding remainder; divisor zero is rejected.
math.factorialCompute n! for integers from 0 through 60 with a fixed arithmetic bound.
math.gcdReturn the nonnegative greatest common divisor of two bounded integers.
math.interpolateCalculate the y value along the line through two points; coincident x coordinates are rejected.
math.lcmReturn the nonnegative least common multiple of two bounded integers; zero input returns zero.
math.percentageReturn part / whole × 100; zero denominator is rejected.
math.percentage_changeReturn (new-old)/abs(old) × 100; zero baseline is rejected.
math.powerRaise a bounded base to an integer exponent from -10 to 10; reject zero negative powers and overflow.
math.productMultiply at most 25 bounded values; empty product is 1.
math.ratio_simplifyDivide an integer ratio by its greatest common divisor; normalize a negative denominator.
math.round_decimalRound a plain decimal string using ROUND_HALF_UP and return fixed fractional digits.
math.sqrtReturn the nonnegative square root of a nonnegative finite value.
math.sumSum a finite bounded list with compensated floating-point summation.
statistics.histogramCount values in supplied increasing bins, left-inclusive/right-exclusive except the final inclusive edge.
statistics.meanCompute the arithmetic mean of a nonempty finite list.
statistics.medianReturn the median, averaging the middle two values for even-length input.
statistics.minmax_normalizeScale values to [0,1] using observed minimum/maximum; a constant series becomes all zeros.
statistics.modeReturn every most-frequent number sorted ascending, including ties.
statistics.moving_averageReturn complete sliding-window arithmetic means without padding.
statistics.percentileCompute a percentile by linear interpolation at (n-1) × p/100.
statistics.stddevCompute population or sample standard deviation with standard Bessel correction for samples.
statistics.varianceCompute population or sample variance; sample variance requires at least two observations.
statistics.weighted_meanCompute a weighted arithmetic mean with nonnegative weights and a positive total weight.
text.change_caseApply lower, upper, title or Unicode casefold casing.
text.character_frequencyReturn per-character frequencies, including whitespace and Unicode characters.
text.deduplicate_linesRemove duplicate lines while preserving the first occurrence and exact whitespace.
text.html_escapeEscape &, angle brackets and quotes for text/attribute embedding.
text.html_to_textExtract visible text from supplied HTML, suppressing script and style content; does not fetch resources.
text.html_unescapeDecode named and numeric HTML character references.
text.indentPrefix every nonempty line with a bounded number of spaces.
text.joinJoin supplied strings with a literal delimiter.
text.ngramsGenerate consecutive n-word windows from whitespace-delimited words; max 500 output windows.
text.normalize_whitespaceCollapse Unicode whitespace into single spaces and trim ends.
text.remove_prefix_suffixRemove one matching literal prefix and suffix; leave unmatched boundaries intact.
text.replaceReplace literal occurrences, with a bounded maximum replacement count.
text.slugRemove Latin accents, lowercase, and join Unicode alphanumeric segments with hyphens.
text.sort_linesSort lines lexicographically, optionally descending.
text.splitSplit on a nonempty literal delimiter, including empty fields.
text.statsCount Unicode characters, UTF-8 bytes, logical lines and non-whitespace characters.
text.strip_accentsRemove combining marks after Unicode NFD normalization; preserves non-Latin characters.
text.tokenizeReturn Unicode alphanumeric tokens in original order, discarding punctuation.
text.truncateLimit Unicode character count, counting the suffix inside the requested limit.
text.unicode_normalizeNormalize text using one of the four standard Unicode normalization forms.
text.word_countCount Unicode letter/number words using fixed token boundaries.
text.wrapWrap paragraphs to a bounded width using standard whitespace wrapping.
units.areaConvert area using explicit base-unit factors; numeric result uses IEEE floating-point.
units.durationConvert duration using explicit base-unit factors; numeric result uses IEEE floating-point.
units.lengthConvert length using explicit base-unit factors; numeric result uses IEEE floating-point.
units.massConvert mass using explicit base-unit factors; numeric result uses IEEE floating-point.
units.speedConvert speed using explicit base-unit factors; numeric result uses IEEE floating-point.
units.storageConvert storage using explicit base-unit factors; numeric result uses IEEE floating-point.
units.temperatureConvert Celsius, Fahrenheit and Kelvin; reject temperatures below absolute zero.
units.volumeConvert volume using explicit base-unit factors; numeric result uses IEEE floating-point.
validation.duplicatesReport repeated JSON values and counts in first-appearance order, with object keys compared order-independently.
validation.ean13Validate exactly 13 ASCII digits and the EAN-13 check digit; does not confirm product registration.
validation.emailValidate common unquoted ASCII email syntax and domain labels; does not establish mailbox existence.
validation.http_urlCheck basic http/https URL structure, hostname presence, port and absence of credentials/control/whitespace; not an SSRF policy.
validation.ip_addressValidate a literal IPv4 or IPv6 address of the requested version without DNS lookup.
validation.iso_dateCheck exact YYYY-MM-DD syntax and actual Gregorian calendar validity.
validation.luhnCheck a supplied 2–32 digit identifier with the Luhn checksum; does not validate an account or authorize a payment.
validation.numeric_rangeReturn zero-based indices and values outside a caller-supplied inclusive interval; inverted bounds are rejected.
validation.required_fieldsReport 1-based rows missing required keys or containing null/empty-string values; zero and false remain valid.
validation.uuidValidate canonical hyphenated UUID syntax, case-insensitively; does not require a particular UUID version.
没有匹配的技能。尝试名称、功能或分类关键词。
查看参数、确认价格,再让 AI 调用。每一步都有清楚的输入和结果。