Turn telecom signalling captures into explained call-flow ladders — 5G core, 4G EPC, IMS
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
- !Licence file present but not machine-readable
claude mcp add telcoladder -- python -m telcoladder{
"mcpServers": {
"telcoladder": {
"command": "python",
"args": ["-m", "telcoladder"]
}
}
}MCP Servers overview
# TelcoLadder
<!-- mcp-name: io.github.gollumw/telcoladder -->
**Deterministic 5G / 4G / IMS signalling analyzer and call-flow correlator.**
The correlation and root-cause layer on top of `tshark`: one subscriber across
every interface, every failure explained from a verified cause table, and
nothing generated.
[](https://github.com/gollumw/TelcoLadder/actions/workflows/ci.yml)
[](https://pypi.org/project/telcoladder/)
[](https://pypi.org/project/telcoladder/)
[](#what-it-reads)
[](#how-it-is-verified)
[](#air-gapped-by-construction)
[](LICENSE)
For core-network SRE and R&D, RAN/core interoperability test, and third-line
troubleshooting at vendors and operators. It assumes you already read
signalling for a living.
```bash
pip install telcoladder
telcoladder check # verifies tshark and its dissectors
telcoladder summarize failed_attach.pcapng # one page of facts, every failure cited
```

## What you get
Two outputs from one analysis. Mermaid you can paste into a ticket:
```mermaid
sequenceDiagram
autonumber
participant gNB
participant AMF
Note over gNB,AMF: SUPI 001011234567895
gNB->>AMF: #35;7 InitialUEMessage ▸ Registration request
AMF->>gNB: #35;8 DownlinkNASTransport ▸ Authentication request
rect rgb(255, 226, 226)
gNB->>AMF: #35;9 UplinkNASTransport ▸ Authentication failure
Note over AMF: Synch failure (#35;21) — 3GPP TS 24.501 §9.11.3.2
end
rect rgb(255, 226, 226)
AMF->>gNB: #35;10 DownlinkNASTransport ▸ Registration reject
Note over gNB: Protocol error, unspecified (#35;111) — 3GPP TS 24.501 §9.11.3.2
end
```
That is real output from `tests/fixtures/ki-mismatch`, not an illustration: a UE
provisioned with the wrong key, captured on a local Open5GS testbed. It is
**not** the MAC failure you would expect — a UE whose K does not match computes
an AUTS the network cannot resynchronise from, so you get `#21` and then a bare
`#111`. The cause table says so because we ran it, not because it sounded right.
And the same capture in the browser: a packet list driven by real `tshark`
display filters, per-frame decode tree and bytes, the ladder with the initiator
and the cause on every failing event, and a per-PDU-session matrix where every
cell cites the frame it came from.

## What it reads
| Generation | Protocols | Cause explanations |
|---|---|---|
| **5G core** | NGAP, NAS-5GS, HTTP/2 SBI, PFCP, GTP-U | 206 |
| **4G / EPC** | S1AP, NAS-EPS, GTPv2-C (S11, S5/S8, N26) | 236 |
| **IMS** | SIP (calls, KPIs), Diameter, H.248/MEGACO | 333 |
Every cause code is resolved through a hand-verified table to the specification
it comes from, what it means in plain language, and the root causes that
actually produce it in the field — **775 of them**, every name taken verbatim
from `tshark` and re-checked against it by a test. Nothing is generated: a cause
the table does not carry is reported as not catalogued, and a clause number is
printed only where a person transcribed it. Every network function is named
rather than shown as an IP, with the evidence for that name on hover.
## The pain, and what replaces it
| Today | With TelcoLadder |
|---|---|
| Copying UE IDs by hand between windows to follow one subscriber | One subscriber's whole lifetime in one flow: SUPI, 5G-S-TMSI, NGAP and S1AP UE IDs, TEIDs, Call-ID — with keys that are recycled treated as recycled |
| N2 and SBI in separate captures that never line up | N2, SBI and N4 stitched on one timeline; N4 joins through the GTP-U tunnel endpoint the UPF allocated and NGAP relayed |
| An N26 handover spread across NGAP, N26, S11 and S1AP | One segment across all four, joined through the S1-U SGW F-TEID the MME copies from Create Session Response into HandoverRequest |
| A bare cause number and a trip to the spec | 775 causes with the specification named, plain language and field root causes; clauses where a person checked them |
| RAN and core blaming each other for a dropped context | Every UE context release marked **requested by the RAN** or **ordered by the core** — a wire fact, not an opinion |
| A procedure that stalls for no visible reason | The gap named when it matches a NAS timer's default (T3560, T3460 …), and failures counted by TAC, cell, DNN and core element |
| Customer captures that must never leave the building | A command on your machine: no network listener beyond `127.0.0.1`, no telemetry, no cloud, no model |
## Thirty seconds, four ways in
```bash
# 1. CLI — one page of deterministic facts, Markdown or JSON
telcoladder summarize capture.pcapng
telcoladder analyze capture.pcapng -o flow.mmd # Mermaid, byte-for-byte reproducible
# 2. Browser — drop a capture, or paste a path for anything large
telcoladder serve # http://127.0.0.1:3005
# 3. AI agent — the same facts as MCP tools over stdio
claude mcp add telcoladder -- telcoladder mcp
```
**4. Windows, no install.** Download `TelcoLadder-Windows-x64.zip` from the
[Releases](https://github.com/gollumw/TelcoLadder/releases) page — a standalone
executable in a portable zip, built by CI from the tagged source. Unzip,
run `check-environment.cmd`, and use `telcoladder.exe` from that folder. It
needs Wireshark 4.0 or newer on the machine, nothing else.
Requires Python 3.11+ and `tshark` (Wireshark 4.0 or newer) for the `pip`
route. Neither the macOS nor the Windows installer puts `tshark` on your `PATH`;
TelcoLadder looks in the standard install directories and finds it anyway, or
takes `TELCOLADDER_TSHARK`. The venv-by-venv Windows walkthrough is in the
[user guide](docs/user-guide.md#2-installation-and-environment-check).
## Five things it does that a decoder does not
**Cross-interface correlation.** A subscriber is a union of identity keys, each
with the right scope: NGAP and S1AP UE IDs are unique only within one
association, TEIDs and TMSIs are reallocated and treated as episodes, and the
GTP-U tunnel endpoint is one definition shared by NGAP, PFCP, GTP-U and now
S1AP. The failure mode of a wrong key is two people in one flow with a ladder
that still renders, so the key shapes are tested against captures built to
provoke exactly that.
**775 verified causes.** Names from `tshark -G values`, re-checked by tests on
every CI platform; two Diameter number spaces kept apart; NGAP and S1AP cause
groups looked up in the group the message selected. Ordered-sequence rules
written by people — `#21` followed by `#111` is a key mismatch, not a sequence
problem — are matched and reported with the frames.
**Fault attribution.** `UEContextReleaseRequest` is only ever sent by the RAN
and the release Command only by the core; the ladder, the procedure list and
the xDR say which one started it. The reason still comes from the cause table;
there is no second verdict string.
**Timer match and blast radius.** An unanswered network request followed by a
release or reject a timer's default later is reported as *consistent with* that
timer — never as a proven timeout, because the capture shows timing and not the
AMF's state. With several subscribers, failures are counted by TAC, cell, DNN
and core-side element; an unknown location is a `null` row, not a dropped one.
**Air-gapped by construction.** `serve` binds `127.0.0.1` and checks the `Host`
header; the MCP server is stdio only; the browser bundle ships in the package
and loads nothing from the network; there is no telemetry and no model. What
the tool could not read — ciphered NAS, ECIES-protected SUCIs, TLS on SBI,
frames no dissector claimed — is counted and stated before any conclusion.
## Three scenarios from the test captures
Each of these is a fixture in `tests/fixtures/` you can run yourself.
1. **A key mismatch that does not look like one** — `ki-mismatch`. Synch
failure (`#21`) then a bare protocol error (`#111`). The sequence rule in the
cause table names the real cause and says what does *not* fix it: resetting
the SQN. `telcoladder summarize tests/fixtures/ki-mismatch/capture.pcap`
2. **A context released 6.000 s after an unanswered Authentication request** —
`5gc-context-release`. The release is marked as ordered by the core, and the
gap is reported as consistent with T3560's default. The second subscriber in
the same file is released at the gNB's request after the radio link was
lost, and is marked as such.
3. **A 5GS → EPS handover the target eNB refuses** — `n26-handover`. Five
elements on one ladder; the failure appears three times on the wire (S1AP
HandoverFailure, the N26 Forward Relocation Response, the NGAP
HandoverPreparationFailure) and is explained once, from the S1AP table, with
the specification named and no clause invented.
## What it does today
- **Reads all three generations from one `pcap` / `pcapng`** via `tshark`.
- **Names the network functions** and shows the IP when the evidence is
ambiguous rather than guessing. Relays — a 5G SCP, a Diameter DRA, a SIP
proxy — keep their own lane and are never credited with the services behind
them.
- **Correlates one subscriber** across identifiers and across protocols, with
the scopes described above. On a production trace with TLS on SBI and
ECIES-protected SUCIs the N2 side still foWhat people ask about TelcoLadder
What is gollumw/TelcoLadder?
+
gollumw/TelcoLadder is mcp servers for the Claude AI ecosystem. Turn telecom signalling captures into explained call-flow ladders — 5G core, 4G EPC, IMS It has 1 GitHub stars and its last recorded update is dated 2026-09-10.
How do I install TelcoLadder?
+
You can install TelcoLadder by cloning the repository (https://github.com/gollumw/TelcoLadder) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is gollumw/TelcoLadder safe to use?
+
Our security agent has analyzed gollumw/TelcoLadder and assigned a Trust Score of 80/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains gollumw/TelcoLadder?
+
gollumw/TelcoLadder is maintained by gollumw. The last recorded GitHub activity is dated 2026-09-10, with 0 open issues.
Are there alternatives to TelcoLadder?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy TelcoLadder to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/gollumw-telcoladder)<a href="https://claudewave.com/repo/gollumw-telcoladder"><img src="https://claudewave.com/api/badge/gollumw-telcoladder" alt="Featured on ClaudeWave: gollumw/TelcoLadder" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!