is_valid_ip_address
is valid ip address
Validates whether a string is a properly formatted IPv4 address with four octets (0-255) separated by dots. (cost: 1 credit)
ipuk.co.reliness由 reliness.co.uk 发布官方发布者v1.5.0更新于 Nov 7, 2026
Deterministic string, list and number routines: palindromes, sorting, searching, validation, merging
远程 MCP 端点,提供 32 个确定性的字符串、列表和数字工具例程,如回文判断、排序、查找和校验。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/uk.co.reliness%2Fcode-utilities/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"uk-data-code-utilities": {
"type": "http",
"url": "https://ukdata.reliness.co.uk/mcp/code-utilities"
}
}
}is valid ip address
Validates whether a string is a properly formatted IPv4 address with four octets (0-255) separated by dots. (cost: 1 credit)
ipfind max subarray sum
Finds the maximum sum of any contiguous subarray using Kadane's algorithm. (cost: 1 credit)
numsmerge dictionaries
Merges two dictionaries into a single dictionary, with values from the second dictionary overwriting those from the first for duplicate keys. (cost: 1 credit)
dict1dict2find kth smallest
Finds the kth smallest number in an unsorted list (1-indexed, where k=1 returns the smallest element). (cost: 1 credit)
knumscount bits
Counts the number of set bits (1's) in the binary representation of a non-negative integer. (cost: 1 credit)
numbinary search
Performs binary search on a sorted list to find the index of a target value, returning -1 if not found. (cost: 1 credit)
arrtargetreverse string
Reverses the order of characters in a given string, returning the string backwards. (cost: 1 credit)
textmin meeting rooms
Finds the minimum number of meeting rooms required to accommodate all meetings given their time intervals. Uses interval scheduling algorithm. (cost: 1 credit)
intervalsfind next greater element
For each element in a list, finds the next greater element to its right. Returns -1 if no greater element exists. (cost: 1 credit)
numsbinary addition
Adds two binary numbers represented as strings and returns the sum as a binary string. Performs binary arithmetic with carry propagation. (cost: 1 credit)
abis palindrome
Checks if a string is a valid palindrome, considering only alphanumeric characters and ignoring case and spaces. (cost: 1 credit)
textsort numbers
Sorts a list of numbers in ascending order using a deterministic sorting algorithm. (cost: 1 credit)
numbersfind pairs with sum
Finds all unique pairs of integers in a list that sum to a specified target value. Returns pairs as arrays. (cost: 1 credit)
numstargetis perfect square
Checks if a number is a perfect square (i.e., the square of an integer). (cost: 1 credit)
numfind n largest
Finds the n largest numbers from a list and returns them in descending order. (cost: 1 credit)
nnumsis valid parentheses
Checks if a string contains properly balanced and nested parentheses, brackets, and braces. Returns true if every opening symbol has a matching closing symbol in the correct order. (cost: 1 credit)
sfind minimum rotated sorted array
Finds the minimum element in a rotated sorted array using binary search. The array was originally sorted in ascending order then rotated at some pivot point. (cost: 1 credit)
numsflatten list
Flattens a nested list structure into a single-level list by recursively extracting all elements regardless of nesting depth. (cost: 1 credit)
nested_listis anagram
Checks if two words are anagrams by comparing if they contain the same characters with the same frequencies, ignoring case and whitespace. (cost: 1 credit)
word1word2find first non repeating char
Finds the first character in a string that appears only once. Returns null if all characters repeat. (cost: 1 credit)
sfind equilibrium index
Finds the equilibrium index in an array where the sum of elements to the left equals the sum of elements to the right. Returns -1 if no such index exists. (cost: 1 credit)
arrfind missing number
Finds the missing number in a sequence of integers from 0 to n where exactly one number is missing. Uses sum formula or XOR method. (cost: 1 credit)
numsis power
Checks if a given number is an exact integer power of a specified base. Returns true if num = base^k for some non-negative integer k, false otherwise. (cost: 1 credit)
numbasefind longest word
Finds and returns the longest word in a given text string. If multiple words have the same maximum length, returns the first occurrence. (cost: 1 credit)
textcan attend meetings
Determines if a person can attend all meetings given a list of time intervals by checking for overlapping time slots. Returns true if no meetings conflict, false otherwise. (cost: 1 credit)
intervalsis rotation
Checks if one string is a rotation of another string by verifying if str1 appears in str2 concatenated with itself. Returns true if str1 is a rotation of str2, false otherwise. (cost: 1 credit)
str1str2find peak element
Finds a peak element in a list where an element is greater than its neighbors. Returns the index of any peak element found. (cost: 1 credit)
numsfind duplicate number
Finds the duplicate number in a list of integers where exactly one number appears more than once. Returns the duplicate value. (cost: 1 credit)
numsis sum of cubes
Checks if a number equals the sum of the cubes of its digits (e.g., 153 = 1³ + 5³ + 3³). Returns true if the condition holds, false otherwise. (cost: 1 credit)
numvalidate sudoku
Checks if a 9x9 Sudoku board is valid by verifying that each row, column, and 3x3 sub-grid contains no duplicate digits 1-9. Returns true if valid, false otherwise. (cost: 1 credit)
boardfind majority element
Finds the majority element in a list that appears more than ⌊n/2⌋ times using Boyer-Moore voting algorithm. Returns the majority element if it exists, null otherwise. (cost: 1 credit)
numsmerge sorted lists
Merges two sorted lists into a single sorted list maintaining ascending order. Returns the merged sorted list. (cost: 1 credit)
list1list2已满足适用检查项的 83%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。
托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。
uk.co.reliness官方发布者
远程 MCP 服务器,提供英国合规与金融核查:GLEIF 法人实体(LEI)查询,以及 IBAN 和英国 sort code 校验。
uk.co.reliness官方发布者
远程 MCP 端点,提供来自 NOAA 航空天气中心的官方机场 METAR 观测与 TAF 预报。
uk.co.reliness官方发布者
远程 MCP 服务器,让助手获取全球逐小时和逐日天气预报:降雨、紫外线、风、海况和气温。
uk.co.reliness官方发布者
远程 MCP 服务器,为助手提供美国 NHTSA 车辆安全数据:召回、车主投诉、碰撞测试评级和 VIN 查询。
uk.co.reliness官方发布者
远程 MCP 服务器,用于英国和荷兰车辆查询:车牌与 VIN 解析、MOT 历史与里程核查。