Duo Data Utilities

31 pay-per-call data utilities (IDs, time, text, codes, geo, chain, ref, numbers) via x402.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
96%
Naming quality
79%
Poisoning risk
100%
Permission match
90%
Protocol compliance
100%

Findings (2)

  • LOWTool 'time_business-days' doesn't follow camelCase/snake_casein time_business-days
  • LOWTool 'code_url' suggests web access but openWorldHint=falsein code_url

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~10,639Tokens (tool definitions)
~2.2 KBTypical response size
Significant attention impact (8.31% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "data-utilities": {
      "url": "https://api.duoleads.com/mcp"
    }
  }
}

Remote endpoints

https://api.duoleads.com/mcpstreamable-http

What it can do

Tool inventory

Tools (31)

🟒 Read-only🟑 WriteπŸ”΄ Deleteβšͺ Unknown
🟒id_national(country, kind, value)

Validate a national identity, tax or company registration number against its country's official checksum rule. Covers 23 countries including NL BSN, ES NIF/NIE/CIF, IT codice fiscale, FR SIREN/SIRET, DE Steuer-ID, BE/PL/CZ national numbers, SE/NO/DK/FI personal numbers, BR CPF/CNPJ, AU ABN/TFN, UK NINo, IE PPS, US NPI/EIN. Structure and check digit only β€” no registry lookup, no personal data stored. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, case-insensitive. One of the 23 supported countries. Accepted: one of the 23 supported ISO 3166-1 alpha-2 codes."
    },
    "kind": {
      "type": "string",
      "description": "Identifier type for that country, e.g. bsn, nif, cf, cpf. Accepted: an identifier kind supported for the country."
    },
    "value": {
      "type": "string",
      "description": "The identifier. Separators (space . - /) are stripped before checking. Accepted: at most 64 characters."
    }
  },
  "required": [
    "country",
    "kind",
    "value"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒id_gs1(op, value, to)

Validate and convert GS1 identifiers: GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GLN and SSCC. Returns the check-digit verdict, the computed correct check digit, the GS1 company-prefix boundary where it is derivable, and conversion to GTIN-14. Also computes a missing check digit from a partial code. Structure only, no product database. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "validate",
        "checkdigit",
        "convert"
      ],
      "description": "validate (default), checkdigit (compute the missing final digit) or convert. Accepted: validate, checkdigit, convert."
    },
    "value": {
      "type": "string",
      "description": "GS1 code, digits with optional spaces or hyphens. For op=checkdigit, omit the final digit. Accepted: 8, 12, 13, 14 or 18 digits."
    },
    "to": {
      "type": "string",
      "enum": [
        "gtin8",
        "gtin12",
        "gtin13",
        "gtin14"
      ],
      "description": "Target format. Required when op=convert. Accepted: gtin8, gtin12, gtin13, gtin14."
    }
  },
  "required": [
    "value"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒id_security(op, value, country, nsin)

Validate the check digit of a financial security identifier: ISIN (ISO 6166), CUSIP, SEDOL and FIGI. Returns the verdict, the computed correct check character, and for an ISIN the issuing country prefix and the embedded NSIN. Also builds an ISIN from a country code plus a 9-character NSIN. Format and checksum only, no security master lookup. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "validate",
        "build-isin"
      ],
      "description": "validate (default) or build-isin. Accepted: validate, build-isin."
    },
    "value": {
      "type": "string",
      "description": "ISIN, CUSIP, SEDOL or FIGI to validate. Required when op=validate. Accepted: an alphanumeric security identifier of at most 24 characters."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code or XS. Required when op=build-isin. Accepted: at most 16 characters."
    },
    "nsin": {
      "type": "string",
      "description": "Exactly 9 alphanumeric characters. Required when op=build-isin. Accepted: exactly 9 alphanumeric characters."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒time_zone(zone, instant, local, ambiguous)

Convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time in a zone back to an instant. Returns the local date and time, the UTC offset in Β±HH:MM and seconds, the zone abbreviation, whether DST is in effect, the ISO week date, and the day of year. Handles the ambiguous and skipped local times at DST boundaries explicitly rather than guessing. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "zone": {
      "type": "string",
      "description": "IANA time zone id, e.g. Europe/Amsterdam. Accepted: an IANA time zone id, e.g. Europe/Amsterdam."
    },
    "instant": {
      "type": "string",
      "description": "RFC 3339 timestamp or integer Unix seconds/milliseconds. Defaults to now. Mutually exclusive with local. Accepted: RFC 3339 timestamp or integer epoch."
    },
    "local": {
      "type": "string",
      "description": "Wall-clock time YYYY-MM-DDTHH:MM[:SS] in zone, converted back to an instant. Mutually exclusive with instant. Accepted: YYYY-MM-DDTHH:MM[:SS]."
    },
    "ambiguous": {
      "type": "string",
      "enum": [
        "earlier",
        "later",
        "reject"
      ],
      "description": "Only with local: which instant a repeated local time maps to. Default earlier. Accepted: earlier, later, reject."
    }
  },
  "required": [
    "zone"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒time_dst(zone, from, years)

List the daylight-saving transitions for an IANA time zone over a date range: the exact instant of each shift, the offset before and after, and whether local clocks jump forward or back. Returns the current offset and DST state, and the next transition from a given instant. Zones without DST return an empty transition list rather than an error. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "zone": {
      "type": "string",
      "description": "IANA time zone id. Accepted: an IANA time zone id, e.g. Europe/Amsterdam."
    },
    "from": {
      "type": "string",
      "description": "Start of the range: RFC 3339 or YYYY-MM-DD. Default now. Accepted: RFC 3339 timestamp or YYYY-MM-DD."
    },
    "years": {
      "type": "string",
      "description": "Length of the range in years, 1-10. Default 2. Accepted: integer 1-10."
    }
  },
  "required": [
    "zone"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒time_business-days(op, from, days, to, weekend, ...)

Business-day arithmetic with a caller-supplied calendar: add or subtract N working days from a date, or count the working days between two dates. The weekend is specified as a weekday mask so Friday-Saturday and Sunday-only weeks work, and holidays are passed in as an explicit date list, so the answer never depends on a holiday table that can go stale. Returns the result date, the day count, and the first 1,000 skipped dates with the reason each was skipped. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "add",
        "count"
      ],
      "description": "add (default) N business days to from, or count business days between from and to. Accepted: add, count."
    },
    "from": {
      "type": "string",
      "description": "Start date, YYYY-MM-DD. Accepted: a calendar date as YYYY-MM-DD."
    },
    "days": {
      "type": "string",
      "description": "Business days to add, -3650 to 3650. Required when op=add. Accepted: integer between -3650 and 3650."
    },
    "to": {
      "type": "string",
      "description": "End date YYYY-MM-DD, may precede from. Required when op=count. Accepted: a calendar date as YYYY-MM-DD."
    },
    "weekend": {
      "type": "string",
      "description": "Comma-separated weekday names or ISO numbers. Default sat,sun. Empty string = no weekend. Accepted: comma-separated weekday names (mon..sun) or ISO numbers 1-7."
    },
    "holidays": {
      "type": "string",
      "description": "Comma-separated YYYY-MM-DD holiday dates. Accepted: comma-separated YYYY-MM-DD dates, at most 2048 characters."
    },
    "inclusive": {
      "type": "string",
      "enum": [
        "start",
        "both",
        "neither"
      ],
      "description": "For op=count: start (default, half-open [from, to)), both or neither. Accepted: start, both, neither."
    }
  },
  "required": [
    "from"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒time_rrule(rrule, dtstart, zone, count, after, ...)

Expand an RFC 5545 recurrence rule into concrete occurrence timestamps. Accepts an RRULE string with DTSTART, an IANA time zone, and optional EXDATE and RDATE lists, and returns up to 200 occurrences as both local wall-clock times and UTC instants. Supports FREQ, INTERVAL, COUNT, UNTIL, BYDAY, BYMONTHDAY, BYMONTH, BYSETPOS and WKST. Occurrences moved by a DST gap carry gap: true. Rules needing over 50,000 candidate evaluations are rejected. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "rrule": {
      "type": "string",
      "description": "RFC 5545 RRULE, e.g. FREQ=MONTHLY;BYDAY=-1FR;COUNT=6. Accepted: at most 512 characters."
    },
    "dtstart": {
      "type": "string",
      "description": "First occurrence, YYYY-MM-DDTHH:MM:SS local to zone. Accepted: YYYY-MM-DDTHH:MM:SS."
    },
    "zone": {
      "type": "string",
      "description": "IANA time zone id. Accepted: an IANA time zone id, e.g. Europe/Amsterdam."
    },
    "count": {
      "type": "string",
      "description": "Maximum occurrences to return, 1-200. Default 20. Accepted: integer 1-200."
    },
    "after": {
      "type": "string",
      "description": "RFC 3339 instant; skip occurrences before it. Accepted: RFC 3339 timestamp."
    },
    "exdate": {
      "type": "string",
      "description": "Comma-separated local datetimes to exclude. Accepted: at most 1024 characters."
    },
    "rdate": {
      "type": "string",
      "description": "Comma-separated local datetimes to add. Accepted: at most 1024 characters."
    }
  },
  "required": [
    "rrule",
    "dtstart",
    "zone"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒time_calendar(op, date, to, year, rite)

Convert a Gregorian date to other calendar systems and back: Islamic (both the tabular civil calendar and the Umm al-Qura variant), Hebrew, Japanese imperial era, Republic of China, Buddhist and Persian. Also computes Easter Sunday for a year in both the Gregorian and Julian reckonings. Uses the calendar support built into the runtime, with the algorithm named in every response. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "convert",
        "easter"
      ],
      "description": "convert (default) a Gregorian date, or easter for a year. Accepted: convert, easter."
    },
    "date": {
      "type": "string",
      "description": "Gregorian date YYYY-MM-DD. Required when op=convert. Accepted: a calendar date as YYYY-MM-DD."
    },
    "to": {
      "type": "string",
      "description": "Comma-separated calendar ids: islamic, islamic-umalqura, hebrew, japanese, roc, buddhist, persian. Default all. Accepted: islamic, islamic-umalqura, hebrew, japanese, roc, buddhist, persian."
    },
    "year": {
      "type": "string",
      "description": "Year for op=easter, 326-9999. Accepted: integer 326-9999."
    },
    "rite": {
      "type": "string",
      "enum": [
        "western",
        "eastern"
      ],
      "description": "Easter reckoning: western (default) or eastern. Accepted: western, eastern."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒text_slug(text, separator, max, case, lang)

Turn arbitrary text into a URL-safe slug. Decomposes accents, transliterates German umlauts, Scandinavian and Turkish letters, and the ligatures that lose meaning under plain NFD, lowercases, collapses separators, and truncates on a word boundary. Options for separator character, maximum length and case preservation. Returns the slug plus what was removed. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text to slugify, at most 2048 characters. Accepted: at most 2048 characters."
    },
    "separator": {
      "type": "string",
      "enum": [
        "-",
        "_",
        ".",
        ""
      ],
      "description": "Separator: - (default), _, . or empty. Accepted: -, _, . or empty."
    },
    "max": {
      "type": "string",
      "description": "Maximum slug length 1-512, default 96. Truncates at the last complete word. Accepted: integer 1-512."
    },
    "case": {
      "type": "string",
      "enum": [
        "lower",
        "preserve",
        "upper"
      ],
      "description": "lower (default), preserve or upper. Accepted: lower, preserve, upper."
    },
    "lang": {
      "type": "string",
      "description": "ISO 639-1 code for locale-sensitive folding (de: ΓΌ->ue, tr: dotless i). Default locale-neutral. Accepted: an ISO 639-1 language code."
    }
  },
  "required": [
    "text"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒text_transliterate(text, from, standard, case)

Transliterate Cyrillic text into Latin using a named standard: ISO 9:1995 (one-to-one, with diacritics) or the BGN/PCGN Russian system. Returns the transliteration, the detected source script, the standard actually applied, the fraction of non-ASCII characters that were mapped, and any characters passed through untouched. Other scripts are not supported yet and are rejected with UNSUPPORTED_VALUE. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text to transliterate, at most 2048 characters. Accepted: at most 2048 characters."
    },
    "from": {
      "type": "string",
      "description": "Source script name (cyrillic), or auto (default). Accepted: cyrillic or auto."
    },
    "standard": {
      "type": "string",
      "description": "Romanisation standard, e.g. iso-9, bgn-pcgn. Default: the first listed for the detected script. Accepted: a romanisation standard supported for the script."
    },
    "case": {
      "type": "string",
      "enum": [
        "preserve",
        "lower",
        "upper"
      ],
      "description": "preserve (default), lower or upper. Accepted: preserve, lower, upper."
    }
  },
  "required": [
    "text"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒text_unicode(text, form, detail)

Analyse a string at the Unicode level: apply NFC, NFD, NFKC or NFKD normalisation, report which normalisation forms it is already in, list the scripts present, and flag confusable and homoglyph characters β€” Cyrillic Π° in a Latin word, zero-width joiners, bidirectional overrides, invisible characters. Returns per-character detail for anything suspicious, with code points, names and the ASCII character each one imitates. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text to analyse, at most 1024 characters. Accepted: at most 1024 characters."
    },
    "form": {
      "type": "string",
      "enum": [
        "nfc",
        "nfd",
        "nfkc",
        "nfkd"
      ],
      "description": "Normalisation form to apply, default nfc. Accepted: nfc, nfd, nfkc or nfkd."
    },
    "detail": {
      "type": "string",
      "enum": [
        "summary",
        "full"
      ],
      "description": "summary (default) or full per-code-point detail (capped at 256 entries). Accepted: summary, full."
    }
  },
  "required": [
    "text"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒text_similarity(a, b, fold, only)

Compare two strings and return every standard similarity measure in one call: Levenshtein and Damerau-Levenshtein edit distance, normalised similarity, Jaro and Jaro-Winkler, longest common subsequence, Dice coefficient on character bigrams, and the Soundex, Metaphone and NYSIIS phonetic keys of each string. Optional case folding, accent folding and whitespace normalisation before comparison. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "a": {
      "type": "string",
      "description": "First string, at most 512 characters. Accepted: at most 512 characters."
    },
    "b": {
      "type": "string",
      "description": "Second string, at most 512 characters. Accepted: at most 512 characters."
    },
    "fold": {
      "type": "string",
      "description": "Comma-separated folds before comparing: case, accents, space, punct. Default case. Accepted: comma-separated subset of case, accents, space, punct."
    },
    "only": {
      "type": "string",
      "description": "Comma-separated measure names to compute. Default all. Accepted: comma-separated measure names."
    }
  },
  "required": [
    "a",
    "b"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒code_url(url, base)

Parse and canonicalise a URL, and extract its registrable domain using the Public Suffix List β€” the part an agent needs to decide whether two URLs belong to the same owner. Returns scheme, host, port, path, decoded query parameters and fragment, the public suffix, the registrable domain (eTLD+1), the subdomain, whether the suffix is an ICANN or a private entry, plus a canonical form with default port, dot-segments and percent-encoding normalised. unicode_host uses WHATWG/UTS 46 (non-strict). Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Absolute URL, or a bare hostname (https:// assumed). Accepted: an absolute URL, or a hostname."
    },
    "base": {
      "type": "string",
      "description": "Base URL to resolve url against as a relative reference. Accepted: an absolute URL."
    }
  },
  "required": [
    "url"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒code_idn(domain, to, strict)

Convert internationalised domain names between Unicode and ASCII punycode in either direction, label by label, and validate each label against IDNA2008: length, leading and trailing hyphens, the hyphen-hyphen rule at positions 3 and 4, disallowed code points and bidirectional rules. Returns both forms, the per-label breakdown and the first rule violated. Strict mode is IDNA2008 (UTS 46 non-transitional); it may reject names /v1/code/url displays. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "Domain name in Unicode or punycode form. Accepted: at most 512 characters."
    },
    "to": {
      "type": "string",
      "enum": [
        "ascii",
        "unicode",
        "both"
      ],
      "description": "ascii, unicode or both (default). Accepted: ascii, unicode, both."
    },
    "strict": {
      "type": "string",
      "enum": [
        "true",
        "false"
      ],
      "description": "true (default) applies IDNA2008 strictly; false uses UTS 46 transitional (IDNA2003-compatible) processing, which maps e.g. ß to ss; current browsers and /v1/code/url use non-transitional processing, so its output can differ from them. Accepted: true or false."
    }
  },
  "required": [
    "domain"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒code_semver(op, version, a, b, range, ...)

Parse a semantic version into major, minor, patch, prerelease and build parts; compare two versions by precedence including prerelease ordering; or test whether a version satisfies a range expression using caret, tilde, hyphen, x-ranges and comparator sets. Returns the parsed structure, the comparison result and the reason a range did not match. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "parse",
        "compare",
        "satisfies",
        "sort"
      ],
      "description": "parse (default), compare, satisfies or sort. Accepted: parse, compare, satisfies, sort."
    },
    "version": {
      "type": "string",
      "description": "Version to parse (op=parse) or test (op=satisfies). Accepted: at most 256 characters."
    },
    "a": {
      "type": "string",
      "description": "First version for op=compare. Accepted: at most 256 characters."
    },
    "b": {
      "type": "string",
      "description": "Second version for op=compare. Accepted: at most 256 characters."
    },
    "range": {
      "type": "string",
      "description": "Range expression for op=satisfies, e.g. ^1.2.0. Accepted: at most 256 characters."
    },
    "versions": {
      "type": "string",
      "description": "Comma-separated versions for op=sort, at most 100. Accepted: at most 100 versions."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒code_hash(algo, data, encoding, out, hmac_key, ...)

Compute a cryptographic digest of supplied data: SHA-256, SHA-384, SHA-512, SHA-1, SHA3-256, SHA3-512, Keccak-256, BLAKE2b-256 and BLAKE2b-512, plus HMAC with any of them. Input is UTF-8 text, base64 or hex bytes; output is hex, base64, base64url or base32. Returns the digest, the byte length of the input, and the exact algorithm identifier used. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "algo": {
      "type": "string",
      "enum": [
        "sha256",
        "sha384",
        "sha512",
        "sha1",
        "sha3-256",
        "sha3-512",
        "keccak256",
        "blake2b-256",
        "blake2b-512"
      ],
      "description": "Digest algorithm. Accepted: sha256, sha384, sha512, sha1, sha3-256, sha3-512, keccak256, blake2b-256, blake2b-512."
    },
    "data": {
      "type": "string",
      "description": "Input data, interpreted per encoding. At most 8192 characters. An empty value hashes the empty string. Accepted: at most 8192 characters."
    },
    "encoding": {
      "type": "string",
      "enum": [
        "utf8",
        "base64",
        "base64url",
        "hex"
      ],
      "description": "Encoding of data: utf8 (default), base64, base64url or hex. Accepted: utf8, base64, base64url, hex."
    },
    "out": {
      "type": "string",
      "enum": [
        "hex",
        "base64",
        "base64url",
        "base32"
      ],
      "description": "Digest output encoding: hex (default), base64, base64url or base32. Accepted: hex, base64, base64url, base32."
    },
    "hmac_key": {
      "type": "string",
      "description": "If present, computes HMAC with this key. Accepted: at most 512 characters."
    },
    "hmac_key_encoding": {
      "type": "string",
      "enum": [
        "utf8",
        "base64",
        "base64url",
        "hex"
      ],
      "description": "Encoding of hmac_key, as encoding. Accepted: utf8, base64, base64url, hex."
    }
  },
  "required": [
    "algo",
    "data"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒code_jwt(token, at)

Decode a JSON Web Token without verifying it: returns the header, the claims, the signature length and algorithm, and a computed view of the time claims β€” whether exp has passed, whether nbf is in the future, and the remaining lifetime in seconds against a supplied or current instant. Reports structural problems such as a missing part, invalid base64url or an alg of none. It does not and cannot verify the signature; do not use it to decide trust. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The JWT to decode (not verified). At most 8192 characters. Accepted: at most 8192 characters."
    },
    "at": {
      "type": "string",
      "description": "Instant to evaluate exp/nbf against: RFC 3339 or epoch seconds. Default now. Accepted: RFC 3339 timestamp or integer epoch."
    }
  },
  "required": [
    "token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒geo_geohash(op, lat, lon, precision, geohash)

Encode a WGS-84 latitude and longitude to a geohash at a chosen precision, or decode a geohash back to its bounding box, centre point and error bounds in metres. Encoding also returns the eight neighbouring cells, which is what a caller needs to do proximity search over a geohash-indexed store without a spatial database. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "encode",
        "decode"
      ],
      "description": "encode (default): lat/lon to geohash. decode: geohash to bounding box. Accepted: encode, decode."
    },
    "lat": {
      "type": "string",
      "description": "WGS-84 latitude, -90 to 90. Required when op=encode. Accepted: a number between -90 and 90."
    },
    "lon": {
      "type": "string",
      "description": "WGS-84 longitude, -180 to 180. Required when op=encode. Accepted: a number between -180 and 180."
    },
    "precision": {
      "type": "string",
      "description": "Geohash length 1-12, default 9 (about 4.8 m). Accepted: integer 1-12."
    },
    "geohash": {
      "type": "string",
      "description": "Geohash to decode, 1-12 characters. Required when op=decode. Accepted: base32 geohash alphabet, excluding a, i, l and o."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒geo_pluscode(op, lat, lon, code, length, ...)

Encode coordinates as an Open Location Code (plus code) at a chosen length, or decode a full code back to its bounding box and centre. Also shortens a full code against a reference coordinate and recovers a shortened code given a reference, which is how plus codes are normally exchanged in text. Returns code length, precision in metres and validity. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "encode",
        "decode",
        "shorten",
        "recover"
      ],
      "description": "encode (default), decode, shorten or recover. Accepted: encode, decode, shorten, recover."
    },
    "lat": {
      "type": "string",
      "description": "Latitude for op=encode. Accepted: a number between -90 and 90."
    },
    "lon": {
      "type": "string",
      "description": "Longitude for op=encode. Accepted: a number between -180 and 180."
    },
    "code": {
      "type": "string",
      "description": "Plus code for decode, shorten or recover. Accepted: at most 20 characters."
    },
    "length": {
      "type": "string",
      "enum": [
        "2",
        "4",
        "6",
        "8",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15"
      ],
      "description": "Code length for op=encode: 2,4,6,8,10 (default),11,12,13,14,15. Accepted: one of 2,4,6,8,10,11,12,13,14,15."
    },
    "ref_lat": {
      "type": "string",
      "description": "Reference latitude for op=shorten/recover. Accepted: a number between -90 and 90."
    },
    "ref_lon": {
      "type": "string",
      "description": "Reference longitude for op=shorten/recover. Accepted: a number between -180 and 180."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒geo_polygon(geometry, lat, lon, ops)

Geometric predicates on a GeoJSON geometry supplied in the request: point-in-polygon with correct hole handling, bounding box, centroid, signed area in square metres, perimeter length, and ring winding order. Accepts Polygon and MultiPolygon, and a GeoJSON Feature wrapping either. Area and length are geodesic on the WGS-84 ellipsoid, correct at any latitude; containment is planar in lon/lat. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "geometry": {
      "type": "string",
      "description": "URL-encoded GeoJSON Polygon, MultiPolygon or a Feature wrapping one. At most 3072 characters and 2000 coordinate pairs. Accepted: valid GeoJSON."
    },
    "lat": {
      "type": "string",
      "description": "Point latitude; with lon, runs the containment test. Accepted: a number between -90 and 90."
    },
    "lon": {
      "type": "string",
      "description": "Point longitude; with lat, runs the containment test. Accepted: a number between -180 and 180."
    },
    "ops": {
      "type": "string",
      "description": "Comma-separated subset of contains,bbox,centroid,area,perimeter,winding. Default all. Accepted: comma-separated subset of contains, bbox, centroid, area, perimeter, winding."
    }
  },
  "required": [
    "geometry"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒geo_distance(op, lat1, lon1, lat2, lon2, ...)

Distance and direction between WGS-84 coordinates: geodesic distance by Vincenty with a haversine fallback, initial and final bearing, the midpoint, and the destination point reached from a start point on a given bearing and distance. Also computes the cumulative length of a supplied coordinate path. Results in metres, kilometres, nautical miles and miles. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "distance",
        "destination",
        "midpoint",
        "path"
      ],
      "description": "distance (default), destination, midpoint or path. Accepted: distance, destination, midpoint, path."
    },
    "lat1": {
      "type": "string",
      "description": "Start latitude. Accepted: a number between -90 and 90."
    },
    "lon1": {
      "type": "string",
      "description": "Start longitude. Accepted: a number between -180 and 180."
    },
    "lat2": {
      "type": "string",
      "description": "End latitude. Accepted: a number between -90 and 90."
    },
    "lon2": {
      "type": "string",
      "description": "End longitude. Accepted: a number between -180 and 180."
    },
    "bearing": {
      "type": "string",
      "description": "Initial bearing in degrees for op=destination. Accepted: number 0-360."
    },
    "distance_m": {
      "type": "string",
      "description": "Distance in metres for op=destination. Accepted: a number >= 0."
    },
    "path": {
      "type": "string",
      "description": "Comma-separated lat,lon pairs for op=path, at most 200 points. Accepted: comma-separated lat,lon pairs, at most 200 points."
    },
    "method": {
      "type": "string",
      "enum": [
        "vincenty",
        "haversine"
      ],
      "description": "vincenty (default, WGS-84) or haversine. Accepted: vincenty, haversine."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒chain_address(address, expect, chain_id)

Identify which blockchain an address belongs to and validate its encoding: EVM EIP-55 checksum, Bitcoin base58check and bech32/bech32m with witness version, Solana base58 and on-curve check, Cosmos bech32 with its HRP, Tron, XRP, Litecoin, Dogecoin, Cardano, Polkadot SS58 and Algorand. Returns the detected chains with a confidence note, the checksummed form for EVM addresses, and the exact reason an address failed. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "Address to identify and validate. Accepted: at most 128 characters."
    },
    "expect": {
      "type": "string",
      "enum": [
        "evm",
        "bitcoin",
        "solana",
        "cosmos",
        "tron",
        "xrp",
        "cardano",
        "polkadot",
        "algorand",
        "litecoin",
        "dogecoin"
      ],
      "description": "Restrict the check to one chain id. Accepted: evm, bitcoin, solana, cosmos, tron, xrp, cardano, polkadot, algorand, litecoin, dogecoin."
    },
    "chain_id": {
      "type": "string",
      "description": "EVM chain id; enables EIP-1191 chain-salted checksum validation. Accepted: a positive integer chain id."
    }
  },
  "required": [
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒chain_selector(signature, data, encoding, kind)

Compute the Keccak-256 hash of a Solidity function or event signature and derive the 4-byte function selector and the 32-byte event topic. Normalises the signature first β€” strips parameter names, expands uint to uint256 and the other aliases, flattens tuples β€” so a signature copied from source code produces the same selector as the canonical form. Also hashes arbitrary text or hex bytes with Keccak-256. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "signature": {
      "type": "string",
      "description": "Solidity function, event or error signature, e.g. transfer(address to, uint amount). Accepted: at most 1024 characters."
    },
    "data": {
      "type": "string",
      "description": "Alternative to signature: raw data to Keccak-256 hash. Accepted: at most 8192 characters."
    },
    "encoding": {
      "type": "string",
      "enum": [
        "utf8",
        "hex"
      ],
      "description": "Encoding of data: utf8 (default) or hex. Accepted: utf8, hex."
    },
    "kind": {
      "type": "string",
      "enum": [
        "function",
        "event",
        "error"
      ],
      "description": "function (default), event or error. Accepted: function, event, error."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒ref_nuts(code, name, level, country, include)

Look up a NUTS statistical region of the European Union: resolve a NUTS code to its name, country and level, walk up to its parents or down to its children, or search regions by name. Covers all four levels (country, major region, basic region, small region) for the 27 member states and 12 further reporting countries, from the NUTS 2024 classification. Returns the Latin-script and local-language names plus the urbanisation, coastal and mountain typologies. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "NUTS code, 2-5 characters, case-insensitive (level-3 codes may contain letters, e.g. NL32B). Accepted: 2 to 5 characters matching ^[A-Z]{2}[0-9A-Z]{0,3}$."
    },
    "name": {
      "type": "string",
      "description": "Substring search on region names, case- and accent-insensitive. Up to 25 matches. Accepted: at most 128 characters."
    },
    "level": {
      "type": "string",
      "description": "Restrict a name search to one level, 0-3. Accepted: integer 0-3."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country filter (UK/GB and EL/GR both accepted). Accepted: an ISO 3166-1 alpha-2 code."
    },
    "include": {
      "type": "string",
      "description": "Comma-separated: parents, children, typology. Default parents,typology. Accepted: comma-separated subset of parents, children, typology."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒ref_airport(code, near, radius_km, limit, country)

Look up an airport by IATA or ICAO code and get its name, city, country, ISO 3166-2 region code, WGS-84 coordinates and elevation, or find the nearest airports to a coordinate within a radius. Covers every airport worldwide that holds a three-letter IATA code and scheduled service. Returns the code type that matched and the distance in kilometres for proximity results. Time zones are not included. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "3-letter IATA or 4-letter ICAO code, case-insensitive. Accepted: a 3-letter IATA or 4-letter ICAO code."
    },
    "near": {
      "type": "string",
      "description": "lat,lon to search around. Accepted: lat,lon."
    },
    "radius_km": {
      "type": "string",
      "description": "Search radius in km, 1-1000, default 100. Only with near. Accepted: number 1-1000."
    },
    "limit": {
      "type": "string",
      "description": "Maximum results 1-25, default 5. Only with near. Accepted: integer 1-25."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 filter. Accepted: an ISO 3166-1 alpha-2 code."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒ref_currency(code, country, include)

Look up a currency by ISO 4217 code: its alphabetic and numeric codes, English name, minor-unit exponent, the smallest cash denomination where it differs from the minor unit, and the territories that use it. Returns the correct rounding increment for cash amounts, which is what a caller needs to render or settle a price. This route returns currency facts only and never an exchange rate. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "ISO 4217 alpha-3 or 3-digit numeric code. Accepted: a 3-letter alphabetic or 3-digit numeric ISO 4217 code."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2; returns the currencies in use there. Accepted: an ISO 3166-1 alpha-2 code."
    },
    "include": {
      "type": "string",
      "description": "Comma-separated: territories, historic. Default none. Accepted: comma-separated subset of territories, historic."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒ref_country(code, name, include)

Look up a country or territory by ISO 3166-1 alpha-2, alpha-3 or numeric code, or by name, and get the other codes, the English name, the UN M49 region and sub-region, the currencies in use, and the country-code top-level domain. Names are matched case- and accent-insensitively. Country level only: ISO 3166-2 subdivisions are not included. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2, alpha-3 or numeric code. Accepted: ISO 3166-1 alpha-2, alpha-3 or numeric code."
    },
    "name": {
      "type": "string",
      "description": "Substring search on country names, case- and accent-insensitive. Accepted: at most 128 characters."
    },
    "include": {
      "type": "string",
      "description": "Comma-separated: m49, currency, tld. Default all three. Accepted: comma-separated subset of m49, currency, tld."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒num_radix(value, from, to, case, prefix)

Convert an integer between any two numeric bases from 2 to 36, with arbitrary precision so values far beyond 2^53 are exact. Accepts an optional sign and common prefixes (0x, 0b, 0o), validates every digit against the source base, and returns the value in the target base, in decimal, and as its bit length and digit count. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "Integer to convert; optional sign and 0x/0b/0o prefix. Accepted: at most 1024 characters."
    },
    "from": {
      "type": "string",
      "description": "Source base 2-36, or auto (default) to read a 0x/0b/0o prefix. Accepted: integer 2-36, or 'auto'."
    },
    "to": {
      "type": "string",
      "description": "Target base 2-36, default 10. Accepted: integer 2-36."
    },
    "case": {
      "type": "string",
      "enum": [
        "lower",
        "upper"
      ],
      "description": "Digit case for bases above 10: lower (default) or upper. Accepted: lower, upper."
    },
    "prefix": {
      "type": "string",
      "enum": [
        "true",
        "false"
      ],
      "description": "Emit 0x/0b/0o where conventional. Default false. Accepted: true or false."
    }
  },
  "required": [
    "value"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒num_words(value, lang, form, currency, case)

Spell a number out in words in English, Dutch, German, French, Spanish, Italian, Portuguese, Polish, Russian, Turkish, Swedish or Japanese, in cardinal, currency or year form, and ordinal form in English, Dutch, German and French. Currency form applies the correct grammatical agreement and the right minor-unit name and count for the supplied ISO 4217 code. Handles negatives and values up to 10^15. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "Integer or decimal, absolute value below 1e15. Accepted: absolute value below 1e15."
    },
    "lang": {
      "type": "string",
      "enum": [
        "en",
        "nl",
        "de",
        "fr",
        "es",
        "it",
        "pt",
        "pl",
        "ru",
        "tr",
        "sv",
        "ja"
      ],
      "description": "Language, ISO 639-1. Default en. Accepted: en, nl, de, fr, es, it, pt, pl, ru, tr, sv, ja."
    },
    "form": {
      "type": "string",
      "enum": [
        "cardinal",
        "ordinal",
        "currency",
        "year"
      ],
      "description": "cardinal (default), ordinal, currency or year. Accepted: cardinal, ordinal, currency, year."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 code. Required when form=currency. Accepted: an ISO 4217 alpha-3 code."
    },
    "case": {
      "type": "string",
      "enum": [
        "lower",
        "sentence",
        "title"
      ],
      "description": "lower (default), sentence or title. Accepted: lower, sentence, title."
    }
  },
  "required": [
    "value"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒num_stats(values, percentiles, method, ddof)

Descriptive statistics for a supplied numeric array in one call: count, sum, mean, median, mode, variance and standard deviation with variance and standard deviation honouring ddof (default 1, the sample form; 0 gives the population form) and always-population *_population fields, min, max, range, the quartiles and interquartile range, skewness, kurtosis, and any requested percentiles. Percentiles use a named interpolation method so the result is reproducible rather than implementation-defined. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "values": {
      "type": "string",
      "description": "Comma-separated finite numbers, at most 500 values. Accepted: comma-separated finite numbers."
    },
    "percentiles": {
      "type": "string",
      "description": "Comma-separated percentiles 0-100, at most 20. Default 25,50,75. Accepted: numbers between 0 and 100."
    },
    "method": {
      "type": "string",
      "enum": [
        "linear",
        "nearest",
        "lower",
        "higher",
        "midpoint"
      ],
      "description": "Percentile interpolation (NumPy/R names): linear (default), nearest, lower, higher, midpoint. Accepted: linear, nearest, lower, higher, midpoint."
    },
    "ddof": {
      "type": "string",
      "description": "Delta degrees of freedom for variance/stdev: 1 (default, sample, n-1) or 0 (population, n). The *_population fields are always population. Accepted: integer 0-1."
    }
  },
  "required": [
    "values"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟒num_allocate(amount, currency, parts, ratios, rule)

Split a money amount into shares without losing or inventing a cent. Divide evenly into N parts, or by a list of ratios, and the remainder is distributed one minor unit at a time by a named, deterministic rule β€” largest-remainder, first-wins or last-wins β€” so the parts always sum exactly to the original. Uses Unicode CLDR minor-unit digits, so zero- and three-decimal currencies work (CLDR differs from ISO 4217 for a few, e.g. IDR, HUF: 0). Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

{
  "type": "object",
  "properties": {
    "amount": {
      "type": "string",
      "description": "Decimal amount, absolute value below 1e12. Accepted: a decimal amount with absolute value below 1e12."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 alpha-3 code. Accepted: an ISO 4217 alpha-3 code."
    },
    "parts": {
      "type": "string",
      "description": "Number of equal parts, 1-1000. One of parts or ratios. Accepted: integer 1-1000."
    },
    "ratios": {
      "type": "string",
      "description": "Comma-separated non-negative ratios, at most 1000, each with at most 15 integer digits and 15 decimal places. One of parts or ratios. Accepted: comma-separated non-negative numbers, at most 1000."
    },
    "rule": {
      "type": "string",
      "enum": [
        "largest-remainder",
        "first",
        "last",
        "round-robin"
      ],
      "description": "Remainder rule: largest-remainder (default), first, last or round-robin. Accepted: largest-remainder, first, last, round-robin."
    }
  },
  "required": [
    "amount",
    "currency"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded31 tools