netglance
Home network health checks — run by you or your AI.
A Python toolkit for network discovery, monitoring, and security checks. Use it three ways:
- CLI — 30+ commands for scanning, diagnostics, and monitoring straight from your terminal
- Library — import
netglancemodules into your own Python scripts and automations - AI agent — runs as an MCP server so Claude, Copilot, Cursor, or any MCP-compatible assistant can diagnose your network for you
Covers device discovery (ARP/mDNS), connectivity (ping, speed, jitter, bufferbloat, traceroute), security (DNS leaks, ARP spoofing, TLS, rogue DHCP, firewall), WiFi analysis, port scanning, IoT fingerprinting, and continuous monitoring with alerts.
Install
# with uv (recommended)
uv tool install netglance
# or with pip
pip install netglance
Quick start
# Find devices on your network
sudo netglance discover
# Run a full health check
netglance report
# Check DNS for leaks
netglance dns
# Measure speed
netglance speed
Development
git clone https://github.com/timainge/netglance.git
cd netglance
uv pip install -e ".[dev]"
uv run pytest
# Docs site (local preview)
uv run --group docs mkdocs serve
AI Agent Mode (MCP)
netglance works as an MCP server — any AI assistant can run network diagnostics on your behalf. Ask Claude "what's on my network?" and it calls the right tools, interprets the results, and explains what to do.
# Start the MCP server
netglance mcp serve
# Or via the dedicated entry point
netglance-mcp
Claude Desktop (macOS)
File: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"netglance": {
"command": "uvx",
"args": ["netglance-mcp"]
}
}
}
Claude Code
claude mcp add netglance -- uvx netglance-mcp
Cursor
File: ~/.cursor/mcp.json
{
"mcpServers": {
"netglance": {
"command": "uvx",
"args": ["netglance-mcp"]
}
}
}
VS Code (Copilot)
File: .vscode/mcp.json
{
"servers": {
"netglance": {
"type": "stdio",
"command": "uvx",
"args": ["netglance-mcp"]
}
}
}
Windsurf
File: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"netglance": {
"command": "uvx",
"args": ["netglance-mcp"]
}
}
}
JetBrains
Settings → Tools → AI Assistant → MCP → Add stdio server:
- Command:
uvx - Arguments:
netglance-mcp
The MCP server exposes network diagnostic tools including device discovery, connectivity checks, DNS health, port scanning, WiFi analysis, speed tests, and more. See netglance mcp tools for the full list.
Some tools (ARP scanning, packet capture) require elevated privileges. Run with sudo if needed.
License
MIT
Metadata
Release files for netglance 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netglance-0.2.2.tar.gz | 2.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netglance-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 MB
Release files / netglance-0.2.2.tar.gz
| Download URL | netglance-0.2.2.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f771c0f9ffcd1cdb83831acdf9074646a8f3a6652cab4ba8dca51e2b7c8cd45a
|
|
BLAKE2b-256 checksum How to use checksums |
0b23ebe42e7b786b83e1962925666bbb247a25385f70824c94bd7e98fd32e529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 3, 2026.
Transparency logRelease files / netglance-0.2.2-py3-none-any.whl
| Download URL | netglance-0.2.2-py3-none-any.whl |
|---|---|
| Size | 179.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e83d40248aebe9cff35320159839ac6bcd164f4697893c6edea0462bf4c292c9
|
|
BLAKE2b-256 checksum How to use checksums |
a3e556ff1b89ec204e8cdd2deead8bdde4e24175c667a7dc1c02b35375115a9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 3, 2026.
Transparency log