The Cable Code
Decode cable designations in 39 coding systems, design IEC-sized cables, find equivalents. No LLM.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"thecablecode": {
"url": "https://thecablecode.com/mcp"
}
}
}遠端端點
https://thecablecode.com/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢decode_cable_code(code, lang)
Decode a cable type designation (DIN VDE, HAR, BS/IEC, NEC, TS, UTE, CEI-UNEL and 32 more of its 39 coding systems, plus LAN and fibre) into its layers: conductor, insulation, screen, armour, sheath, with the source behind each symbol. Deterministic, no LLM.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "A cable type designation as printed or listed, e.g. \"NYY-J 3x1,5\", \"N2XSEYRY\", \"12/2 NM-B\", \"H07RN-F 3G2,5\"."
},
"lang": {
"type": "string",
"enum": [
"en",
"tr"
]
}
},
"required": [
"code"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢design_cable(sentence, spec, design, lang, formats)
Design and size a power cable from a sentence (Turkish or English, e.g. "3-core collective screen 12/20 kV 3x95/25 Al, longitudinally watertight") or a spec: every layer's thickness with its source (IEC 60502-1 / -2, IEC 60228), the overall diameter, the DIN VDE 0276 designation and the decoder's reading of it; optional XML, DXF, SVG, CSV, GLB, STEP (3D CAD) and a PDF datasheet. Deterministic, no LLM; a nominal calculation, not a datasheet.
輸入結構描述
{
"type": "object",
"properties": {
"sentence": {
"description": "The cable in words, Turkish or English: voltage, cores, section, conductor metal, screen, sheath, watertightness, armour. What is not said takes a default, and the answer lists which.",
"type": "string",
"minLength": 1,
"maxLength": 300
},
"spec": {
"description": "Instead of a sentence: {voltage: \"12/20\", cores: 3, section: 95, metal, screen, screenType, screenSection, insulation, sheath, watertight, armour}.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"design": {
"description": "Instead of a sentence: the design field of an earlier answer, changed.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"lang": {
"type": "string",
"enum": [
"en",
"tr"
]
},
"formats": {
"description": "Files to include: xml, dxf, svg, csv, glb (base64), step (STEP AP214 text), pdf (datasheet, base64).",
"type": "array",
"items": {
"type": "string",
"enum": [
"xml",
"dxf",
"svg",
"csv",
"glb",
"step",
"pdf"
]
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_equivalents(code, country, standard, lang)
Find the equivalents of a power cable in other countries' standards ("the Dutch equivalent of this Swedish cable"): the decoded cable is rebuilt under each target rule set (IEC 60502, HD 603, HD 620 sections J/M/D/C/K, BS 5467/6724/7846/6622, EN 50618, HD 627) with the same conductor, section, cores, voltage, screen, armour and sheath, then compared layer by layer with the source of every value. Verdict per standard: equivalent, close (with the differences) or none (with the reason), and the name in that country's letters where sourced. Deterministic, no LLM. Never a statement of interchangeability: the buyer's specification decides.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "A power cable designation with its size and voltage, e.g. \"AXCLJ-TT 3x95/25 12/20 kV\", \"NA2XS(F)2Y 1x240/25 12/20 kV\", \"YMeKrvaslqwd 12/20 kV 3x95 Al rm +as70\", \"NYY-J 4x16\"."
},
"country": {
"description": "Comma separated target countries: NL, SE, DK, NO, DE, GB, INT, EU. Default: all.",
"type": "string"
},
"standard": {
"description": "Comma separated target standards: HD620-10J, HD620-10M, HD620-10D, HD620-10K, HD620-10C, HD603-3G, HD603-5G, BS5467, BS6724, BS7846, BS6622, IEC, EN50618, IEC62930, HD627-4N, HD627-7N, IEC60840. Default: all.",
"type": "string"
},
"lang": {
"type": "string",
"enum": [
"en",
"tr"
]
}
},
"required": [
"code"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢check_cable(designation, design, construction, standard)
Check a power cable against a standard's nominal rules: a designation with size and voltage, a designer design, or the construction a maker's datasheet or tender offer states (layers with nominal and minimum thicknesses, screen and armour data). Rule sets: IEC 60502-1 / -2, IEC 60228, HD 603 3-G / 5-G, HD 620 10-J / M / D / C / K, BS 5467, BS 6724, BS 7846, BS 6622, or "auto" for the standards the cable claims. Every rule with required, found, pass / fail / not checkable and its source (standard, edition, clause or table, page, how firmly seen). Deterministic, no LLM. A check against nominal rules, not a certificate or a type test.
輸入結構描述
{
"type": "object",
"properties": {
"designation": {
"description": "A power cable designation with its size and voltage, e.g. \"NA2XS(F)2Y 1x240/25 12/20 kV\", \"AXCLJ-TT 3x95/25 12/20 kV\", \"NYY-J 4x16\".",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"design": {
"description": "Instead of a designation: a thecablecode design v1 (the design field of a design_cable answer).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"construction": {
"description": "Instead of a designation: the construction as a datasheet states it: {name, voltage: \"12/20\", cores, conductor: {metal, section, shape, class, resistance, diameter}, core: [{kind, material, nominal, minimum}], common: [...], overallDiameter, standards: [...]}. Layers inside out.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"standard": {
"description": "\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, bs-5467, bs-6724, bs-7846, bs-6622. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\").",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據