Repository avatar
Other Tools
v3.2.5
active

lankinetix-cli

io.github.affinity-ops/lankinetix-cli

Read-only local LAN & Wi-Fi forensics MCP (ARP, IPv6, 40k+ OUIs, Hardware Safe-Mode).

Documentation

LanKinetix — Local-First Network Intelligence, Hardware Safe-Mode & Zero Cloud Tracking

LanKinetix CLI, L2 Desktop Bridge & Local MCP Server

LanKinetix MCP Server on Glama

Local-first, zero-cloud LAN & Wi-Fi forensics CLI (v3.2.5), Companion L2 Bridge (:8787), and strictly read-only Model Context Protocol (MCP) server — with permanent Hardware Safe-Mode for EPOS card terminals and thermal receipt printers.

Download 5-OS Binaries (v3.2.5) • Homebrew Install • MCP Setup • App Screenshots • Upgrade & Pricing • Live Sample Handover PDF

Zero cloud accounts. Zero developer telemetry. Zero subscriptions for solo users.
Engineered by Patrick Matthews • ASAI (Affinity Smart AI) • lankinetix.com


Why LanKinetix CLI?

  • Permanent Hardware Safe-Mode (TCP 8080, 8081, 9100–9102 Quarantined): Never prints reams of garbage on thermal receipt printers (Epson TM, Star Micronics, Zebra, Brother, HP JetDirect) or freezes single-socket EPOS card machines (Ingenico, Verifone, PAX, Worldpay, Clover). Uses SO_LINGER=0 (RST) teardown and protects Apple, Inc. macOS CUPS (TCP/631) from false positives.
  • Built-In Read-Only MCP Server (lankinetix mcp): Connect live local LAN discovery, baseline drift detection, 40,399+ IEEE OUI lookups, Safe-Mode inventory, and site survey summaries straight to Claude Desktop, Cursor, Windsurf, Antigravity, or local LLMs (Ollama / Open WebUI) over stdio JSON-RPC 2.0 — with zero disk writes, zero packet injection, and zero secret file reads.
  • Dual-Stack IPv4 ARP + IPv6 Neighbor Discovery: Parses OS kernel ARP + IPv6 neighbor tables (ndp -an / ip -6 neigh / netsh) alongside safe mDNS, UPnP/SSDP, NetBIOS, and Gateway PTR enrichment.
  • Free Companion L2 Bridge (:8787 TLS + HMAC-SHA256 + QR Pairing): Gives the free Android app 100% Layer-2 kernel ARP MAC visibility, L2 extender/mesh parent mapping, 802.11 airspace capture, and local LAN throughput tests without root.
  • 40,399+ Offline IEEE OUI Vendors: Compressed .bin.gz RAM lookup — works 100% air-gapped.

Install in One Command (Homebrew — macOS & Linux)

brew install affinity-ops/tap/lankinetix

Verify immediately:

lankinetix --help
lankinetix scan
lankinetix --bridge

Pre-Compiled Native Binaries (Windows, Raspberry Pi & Direct Downloads)

Or download ready-to-run v3.2.5 executables (bundled with assets/oui_vendors.bin.gz, assets/tcp_services.bin.gz, and SHA256SUMS.txt) from GitHub Releases or lankinetix.com/downloads.html:

PlatformArchive
macOS Apple Silicon (arm64)lankinetix-cli-v3.2.5-macos-arm64.zip
macOS Intel (x86_64)lankinetix-cli-v3.2.5-macos-x86_64.zip
Windows (x64)lankinetix-cli-v3.2.5-windows-x64.zip
Linux (x64)lankinetix-cli-v3.2.5-linux-x64.zip
Linux ARM64 / Raspberry Pilankinetix-cli-v3.2.5-linux-arm64.zip

Or run the read-only MCP server via Docker (ghcr.io/affinity-ops/lankinetix-cli:latest, using --network host on Linux for live host ARP visibility):

docker run --rm -i --network host ghcr.io/affinity-ops/lankinetix-cli:latest

Unzip (keep assets/ next to the executable) and run ./lankinetix --help (or .\lankinetix.exe --help on Windows).


Local Read-Only MCP Server (lankinetix mcp)

Add LanKinetix to Claude Desktop, Cursor, Windsurf, Antigravity, or any MCP-compatible client so your AI assistant can inspect your LAN safely without uploading data to a cloud scanner. If installed via Homebrew, lankinetix is already on your $PATH:

{
  "mcpServers": {
    "lankinetix": {
      "command": "lankinetix",
      "args": ["mcp"]
    }
  }
}

(If using a downloaded .zip directly instead of Homebrew, set "command" to the full path of your lankinetix / lankinetix.exe binary.)

Every tool carries human-readable LanKinetix • ... titles, official MCP read-only/local annotations (readOnlyHint: true, openWorldHint: false), and poweredBy provenance, while lankinetix mcp prints the LanKinetix × ASAI ASCII radar banner cleanly to stderr (keeping stdout 100% pure JSON-RPC 2.0):

MCP ToolWhat It Does
scan_subnetLive read-only IPv4 ARP + IPv6 neighbor discovery & Safe-Mode enrichment on the active /24.
diff_baselineCompares the live LAN against saved site_profile.json (new, offline, and IP-drifted hosts) without writing to disk.
lookup_ouiInstant offline IEEE OUI vendor lookup (40,399+ prefixes) + Locally Administered (LAA) randomization check.
get_site_surveyReads saved local subnets and synced Mobile ↔ Desktop lankinetix.site_project.v1 walk-test waypoints.
list_safe_mode_hostsLists printers & EPOS/payment terminals protected by Hardware Safe-Mode (8080, 8081, 9100–9102 quarantined).
export_audit_summaryComputes KPIs, dual-stack IPv6 counts, and walk-test coverage summaries without writing files.

Built-In MCP Slash-Command Prompts (prompts/list)

  • lan_security_audit — Full Safe-Mode LAN inventory + unknown-device baseline diff table.
  • epos_printer_safety_check — Verify thermal printers & EPOS payment terminals protected under Hardware Safe-Mode.
  • wifi_walktest_report — Room-by-room Wi-Fi walk-test summary flagging weak (< -70 dBm) and dead-spot (< -78 dBm) zones.

Security boundaries: Strictly read-only — zero file writes, zero Wake-on-LAN or packet injection, refuses symlinks, never reads bridge tokens or private keys, 256 KiB line cap, and Hardware Safe-Mode permanently enforced. See SECURITY.md.


CLI Command Reference

lankinetix                                    # Interactive terminal console (never binds :8787)
lankinetix scan [--json]                      # L2 ARP + IPv6 NDP + Safe-Mode host enrichment
lankinetix wifi [--json]                      # 802.11 Wi-Fi channel & Virtual Guest LAA (0x02) audit
lankinetix airspace [--json]                  # Live 802.11 client station capture (tcpdump -I Radiotap)
lankinetix guest [--json]                     # Cross-subnet Guest /24 sweep via Gateway DNS PTR
lankinetix diff [--no-save] [--json]          # Diff live LAN against saved site_profile.json baseline
lankinetix profile list|clear                 # Inspect or clear saved baseline subnets
lankinetix oui <mac> [mac2 ...] [--json]      # Offline IEEE OUI vendor lookup (40,399+ prefixes)
lankinetix wol <mac> [--broadcast <ip>]       # Send Wake-on-LAN UDP/9 magic packet
lankinetix export [--venue "Site"] [--out ./] # Generate JSON + printable HTML5/PDF audit report
lankinetix mcp [--config-dir <dir>]           # Start read-only stdio MCP server for AI assistants
lankinetix --bridge [flags]                   # Start TLS + HMAC-SHA256 L2 Bridge on :8787 with ANSI QR

Global flags: --json, --no-color (or NO_COLOR=1), --config-dir <path>.
Bridge flags: --bind <ip>, --port <1..65535>, --udp-port <0..65535>, --rotate-token, --allow-plaintext-lan, --no-qr.


See the Full Visual Apps

This free CLI & Bridge pairs seamlessly with the full LanKinetix Desktop and Android apps — featuring 60 FPS 3D/2D L2 topology, 2.4/5/6 GHz Wi-Fi 7 channel analysis, 1 Hz room walk-test meters, architectural floorplan iso-contour heatmaps, and printable client A4 handover PDFs:

3D & 2D Multi-Tier L2 Topology2.4 / 5 / 6 GHz Wi-Fi Channel Equalizer
LanKinetix 3D & 2D Multi-Tier L2 Network Topology
Gateway → Switch → Safe-Mode Receipt Printer & EPOS
LanKinetix 2.4 / 5 / 6 GHz Wi-Fi Channel Equalizer
Regulatory domains & optimal channel recommendation
1 Hz Wi-Fi Walk-Test & Dead-Spot LoggerJSON Pipeline, Home Assistant & Handover PDFs
LanKinetix Live 1 Hz Wi-Fi Walk-Test Gauge
24-zone room survey & AP roaming counter
LanKinetix JSON Pipeline & Handover PDF Export
Click to view a live A4 handover report

Upgrade to the Full Native Apps

The CLI, Companion L2 Bridge (:8787), and MCP server in this repo are free forever (GPL-3.0). When you want the native visual GUI, floorplan heatmaps, or white-label client handover reports, choose the tier that fits your workflow:

EditionPriceGet Started
1. CLI, L2 Bridge & MCP (this repo)£0 foreverDownload 5-OS Binaries
2. Android Standard & Mobile ProFree app + optional one-time Pro unlockJoin Android Closed Beta
3. LanKinetix Desktop Edition (1 Seat)£29 one-time (perpetual)Buy Desktop (£29) →
4. LanKinetix Commercial (3 Techs)£149 / yearBuy Commercial (£149/yr) →

What Each Paid Edition Unlocks

Android Standard (£0) & Mobile Pro (One-Time Google Play Unlock)

  • Free Standard: Unlimited /24 sweeps, 2D topology, Hardware Safe-Mode, WAN & Local LAN Speedometer, Ping, Traceroute (auto Double-NAT / CGNAT detection), DNS lookup, Wake-on-LAN, and free QR pairing to this CLI Bridge (:8787).
  • Mobile Pro (live localized Google Play pricing): Adds 3D Multi-Subnet Orbit, Global Regulatory 2.4/5/6 GHz Wi-Fi 7 Channel Equalizer, 1 Hz 24-zone Walk-Test, Architectural Floorplan Heatmaps, DNS Leak/Pi-hole Auditor, Critical Host Watchdog + Webhooks, ARP & Evil Twin radar, Smart Banner Grabber, ONVIF/RTSP cameras, and 2.4 GHz BLE Proximity Homing.
  • Join the Android Closed Beta →

LanKinetix Desktop Edition — £29 One-Time (1 Seat, Perpetual)

  • Built for homelabbers, sysadmins, and prosumers leaving cloud subscriptions behind.
  • Full native Desktop GUI with embedded :8787 L2 Bridge, 60 FPS 3D Subnet Orbit, Architectural Floorplan IDW & -60 / -70 / -78 dBm Iso-Contour Heatmaps, Enterprise Multi-Vendor AP OUI Allowlist, and 100% offline RFC 8032 Ed25519 licensing.
  • Availability: Windows x64 and Linux x64 (.deb & .tar.gz) downloads are live now; notarized macOS .dmg coming soon — included in your paid licence.
  • Buy Desktop (£29) via Polar →  •  For Homelabs & Home Assistant

LanKinetix Commercial Multi-Tech — £149 / year (3 Named Technicians)

  • Built for UK & international Wi-Fi, CCTV, fibre, and EPOS field installers and MSPs.
  • Everything in Desktop for 3 named technicians plus White-Label Client A4 Handover PDFs (your company name, logo & sign-off), Before-vs-After Floorplan Iso-Contour sheets, and 1-tap Mobile ↔ Desktop .lankinetix.json / /api/survey handoff.
  • Availability: Windows x64 and Linux x64 ready now; notarized macOS .dmg coming soon — included in your paid licence.
  • Buy Commercial (£149/yr) via Polar →  •  View Live Sample A4 Handover PDF →  •  For Installers & MSPs

14-Day Refund Window & 100% Offline Activation: Checkout is handled by Polar (Merchant of Record with automatic VAT invoices). Download your Desktop binaries immediately after checkout; your signed LK1-... Ed25519 licence key arrives by email within about a minute and verifies 100% offline with no cloud accounts or remote licence check-ins.


Build & Test From Source (Dart ^3.7.2)

dart pub get
dart analyze
dart test

# Compile a standalone native executable:
mkdir -p build
dart compile exe bin/lankinetix.dart -o build/lankinetix
./build/lankinetix oui 00:03:93:11:22:33 --json

License

lankinetix-cli is licensed under the GNU General Public License v3.0 (GPL-3.0) — see LICENSE.
You are free to audit, compile, run, and contribute to the CLI, L2 Bridge, and MCP server. Commercial proprietary redistribution requires a separate commercial licence from Patrick Matthews / ASAI (info@lankinetix.com).

OCI
ghcr.io/affinity-ops/lankinetix-cli:3.2.5
Install Command
docker pull ghcr.io/affinity-ops/lankinetix-cli:3.2.5:undefined