# nxtrace/ntrace-core

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/nxtrace-ntrace-core).**

7,941 stars · 474 forks · Go · GPL-3.0

## Links

- GitHub: https://github.com/nxtrace/NTrace-core
- Homepage: https://www.nxtrace.org
- awesome-repositories: https://awesome-repositories.com/repository/nxtrace-ntrace-core.md

## Topics

`api` `as-path` `asn-lookup` `geoip` `geolocation` `ip-lookup` `network-analysis` `next-trace` `nexttrace` `traceroute` `utility`

## Description

NTrace-core is an open-source network diagnostic toolset that combines traceroute and MTR techniques with geographic IP geolocation, path MTU discovery, and multi-protocol probing. It functions as a command-line utility and a local web server, providing both a terminal-based interface and a browser-based UI for tracing network paths and analyzing hop-by-hop performance.

The tool distinguishes itself through a modular architecture that includes a community probe network for executing traceroutes from geographically dispersed agents, a token-gated API for authenticating remote requests, and an MCP API endpoint that allows AI agents to programmatically perform network diagnostics. It also features a live terminal rendering engine that updates hop statistics in real time, a plugin-based data provider for loading geolocation and ownership information from interchangeable backends, and UDP path MTU probing to discover maximum transmission unit sizes along network paths.

Additional capabilities include structured JSON export of traceroute and MTR results for downstream consumption, visual route rendering that plots hop coordinates onto geographic maps, and IP address annotation that appends geolocation and ownership metadata from configurable external providers. The embedded web server serves a browser-based traceroute interface alongside the MCP API, enabling both human and automated access to network path analysis.

## Tags

### Data & Databases

- [Geolocation-Annotated Traceroute Clients](https://awesome-repositories.com/f/data-databases/geolocation-databases/ip-geolocation/network-hop-geolocation/geolocation-annotated-traceroute-clients.md) — Provides a traceroute client that annotates IP addresses with geolocation and ownership from configured providers.
- [IP Geolocation](https://awesome-repositories.com/f/data-databases/geolocation-databases/ip-geolocation.md) — Maps IP addresses to physical locations and ownership information to show where traffic flows.
- [Network Hop Geolocation](https://awesome-repositories.com/f/data-databases/geolocation-databases/ip-geolocation/network-hop-geolocation.md) — Maps each network hop to its geographic location, providing visual context for the path taken. ([source](https://api.nxtrace.org/tracemap/html/c14e439e-3250-5310-8965-42a1e3545266.html))

### Development Tools & Productivity

- [Open Source Tooling](https://awesome-repositories.com/f/development-tools-productivity/open-source-tooling.md) — An open-source utility for diagnosing network connectivity using traceroute and MTR techniques.

### Graphics & Multimedia

- [Traceroute Visualizers](https://awesome-repositories.com/f/graphics-multimedia/visualization-mapping/visualization-frameworks/coordinate-systems/geographic-converters/geographic-visualization-tools/traceroute-visualizers.md) — A command-line tool that traces network paths and displays each hop with geographic location and latency.
- [Terminal Rendering Engines](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/systems/ui-component-lifecycle-engines/declarative-rendering-engines/terminal-rendering-engines.md) — Provides a frame-based terminal render loop that updates hop statistics in real time.

### Mobile Development

- [Traceroute Web Interfaces](https://awesome-repositories.com/f/mobile-development/mobile-compatible-web-apps/accounting-dashboard-interfaces/local-web-servers/traceroute-web-interfaces.md) — Ships a local web server that provides a browser-based traceroute interface and an MCP API for AI agent integration.

### Networking & Communication

- [Path Diagnostics](https://awesome-repositories.com/f/networking-communication/network-diagnostic-utilities/path-diagnostics.md) — Diagnoses network issues by measuring path MTU, running MTR tests, and analyzing hop performance.
- [Live MTR Statistics](https://awesome-repositories.com/f/networking-communication/network-diagnostic-utilities/path-diagnostics/hop-stability-metrics/hop-statistics-tracking/live-mtr-statistics.md) — Continuously probes each hop and displays live statistics like loss, latency, and jitter in an interactive terminal UI. ([source](https://cdn.jsdelivr.net/gh/nxtrace/ntrace-core@main/README.md))
- [Network Hop Tracing](https://awesome-repositories.com/f/networking-communication/network-hop-tracing.md) — Runs traceroutes from the command line to visualize the path packets take across the internet with per-hop latency and geographic data. ([source](https://cdn.jsdelivr.net/gh/nxtrace/ntrace-core@main/README.md))
- [Distributed Traceroute Probes](https://awesome-repositories.com/f/networking-communication/distributed-traceroute-probes.md) — Runs traceroutes from community-hosted probes in specified geographic regions or networks. ([source](https://cdn.jsdelivr.net/gh/nxtrace/ntrace-core@main/README.md))
- [Distributed Traceroute Probes](https://awesome-repositories.com/f/networking-communication/network-device-discovery/live-host-probes/distributed-traceroute-probes.md) — Initiates traceroutes from community-hosted probes in different geographic regions for remote path testing.
- [Path MTU Discoverers](https://awesome-repositories.com/f/networking-communication/network-transport-protocols/path-mtu-discoverers.md) — Discovers path MTU by sending incrementally sized UDP packets until fragmentation occurs.

### System Administration & Monitoring

- [IP Geolocation Enrichment](https://awesome-repositories.com/f/system-administration-monitoring/ip-geolocation-enrichment.md) — Enriches IP addresses with geolocation and ownership metadata from configurable external providers. ([source](https://cdn.jsdelivr.net/gh/nxtrace/ntrace-core@main/README.md))
- [Multi-Protocol Probing Engines](https://awesome-repositories.com/f/system-administration-monitoring/multi-protocol-probing-engines.md) — Supports ICMP, TCP, and UDP probes with path MTU discovery in a single traceroute engine.
- [Distributed Monitoring Probe Networks](https://awesome-repositories.com/f/system-administration-monitoring/distributed-monitoring-probe-networks.md) — Distributes traceroute execution across geographically dispersed community-hosted probes.

### Artificial Intelligence & ML

- [AI Agent Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-integrations.md) — Exposes a web-based MCP API allowing AI agents to programmatically perform network diagnostics.

### Web Development

- [Embedded Web Servers](https://awesome-repositories.com/f/web-development/embedded-web-servers.md) — Ships a lightweight embedded HTTP server that serves a browser-based traceroute UI and MCP API.
- [Local Diagnostic Web Servers](https://awesome-repositories.com/f/web-development/web-infrastructure-deployment/web-infrastructure-servers/web-server-hosting/local-diagnostic-web-servers.md) — Starts a local web server exposing a browser-based traceroute interface and an MCP API for AI agents. ([source](https://cdn.jsdelivr.net/gh/nxtrace/ntrace-core@main/README.md))
