The Cable Code for LangChain
io.github.exquad/thecablecode
Decode cables in 71 coding systems; design, rate, check, find equivalents; drums, laying, fire.
client:LangChain
transport:streamable-http
tools:25
Install The Cable Code in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"thecablecode": {
"transport": "streamable_http",
"url": "https://thecablecode.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- decode_cable_code
- design_cable
- find_equivalents
- overhead_conductor
- check_cable
- extract_datasheet
- read_tender
- write_specification
- design_presets
- drum_fit
- burial_depth
- fire_class
- awg_metric
- conduit_fill
- pull_cable
- tray_fill
- drum_loading
- cold_weather_check
- mv_electrical
- economic_size
- commissioning_sheet
- cable_prep
- iec60287_rating
- degassing_time