v1.0.0Free · No account · Linux, macOS, Windows
Internet speed test for the terminal and for AI assistants
Measure the download, upload and idle latency of this computer's connection with one command, using the same engine as the dten.com.br meter and the Real Net Speed app.
npx -y dten-speed- About a minute
- About 375 MB per direction at 100 Mbps
- Preview result
- Before you measure
$ npx -y dten-speed
Looking for measurement servers...
Measuring download...
Measuring upload...
Download: 94.2 Mbps
Upload: 41.7 Mbps
Latency (idle): 12 ms
Provider: Vivo
Preview result: not a certificate, and not proof against your provider.
Record sent to the archive.
Measure again in the browser: https://dten.com.br
Install
Linux x64 and arm64 (glibc), macOS on Apple silicon and Intel, Windows x64. Windows 11 on Arm runs the x64 build through emulation.
npm
With Node.js 18 or later. Nothing is installed globally, and no install script runs.
npx -y dten-speedmacOS and Linux
Installs into ~/.local/bin, without sudo.
curl -fsSL https://dten.com.br/cli/install.sh | shWindows (PowerShell)
Installs into %LOCALAPPDATA%\Programs\dten-speed, without administrator rights.
irm https://dten.com.br/cli/install.ps1 | iexThe install scripts check the binary against the checksum of the signed release and stop if it does not match. Read them first if you like: install.sh, install.ps1.
For AI assistants (MCP)
An AI in the cloud that runs a speed test measures its own data center, not you. dten-speed mcp runs on your computer, as a local MCP server with one tool, measure_connection, so the assistant measures your connection and gets the result as JSON.
-
Add it to your assistant
Claude Code
claude mcp add dten-speed -- npx -y dten-speed mcpClaude Desktop and other MCP clients
claude_desktop_config.json{ "mcpServers": { "dten-speed": { "command": "npx", "args": ["-y", "dten-speed", "mcp"] } } }Installed with the script? The command is just
dten-speed mcp. -
Ask
“How fast is my internet?”
Before measuring, the tool asks the assistant to warn you about the data it uses. The result comes back as JSON.
Listed in the official MCP registry as br.com.dten/speed · mcp.json
In scripts and automation
dten-speed --json writes one line of JSON to standard output. Progress goes to standard error, so the output is safe to pipe.
dten-speed --json{
"schema": 1,
"preview": true,
"download_mbps": 94.2,
"upload_mbps": 41.7,
"download_kbps": 94213,
"upload_kbps": 41688,
"idle_latency_ms": 12,
"provider": "Vivo",
"servers": [{ "name": "…", "city": "São Paulo", "country": "BR" }],
"seconds_per_direction": 30,
"started_at": "2026-11-19T15:04:05.123Z",
"record": { "sent": true, "id": "…" },
"web": "https://dten.com.br"
}
Reading it
- Mbps with one decimal, and the raw kbps beside it.
- A direction you did not ask for, or without a number, is
null, never0. - New fields can appear without a
schemachange: ignore the ones you do not know. - Errors are JSON too:
{"schema":1,"error":"no_network","message":"…"}.
Exit codes
0- measured
1- no number
2- could not measure
64- wrong usage
Commands and options
--json- One line of JSON on standard output.
--direction both|download|upload- Default
both: download, then upload. --seconds N- Minimum per direction, 10 to 60 (default 30). Below 30 the number is not calibrated.
--servers N- How many servers, 1 to 10 (default 10).
--country XX- Country of the server list, as a two-letter code (BR, US…). Without it, the order comes from your IP address.
--no-send- Keep the record on this computer only. Same as
DTEN_SPEED_NO_SEND=1. --version- Print the version.
dten-speed mcp- Start the local MCP server.
dten-speed forget [--json]- Delete from the archive everything this computer sent, and the local copies.
--help- List every option (in English).
Before you measure
- It uses data. About 375 MB per direction at 100 Mbps, 3.7 GB at 1 Gbps. Mind a mobile data allowance.
- It takes about a minute, up to 10 on a very slow network.
- The result is a preview, not a certificate, and not evidence against an internet provider: the method is still being validated on a test bench.
- The record goes to Dten's archive with no account and no name, unless
--no-sendorDTEN_SPEED_NO_SEND=1.dten-speed forgetdeletes it. See the privacy policy.
Trust and verification
- Signed releasesEvery release has a
SHA256SUMSlist signed with minisign. The public key is on this site. - npm provenanceThe npm packages are built from those same bytes, with npm provenance, and run no install script.
- Install scripts you can readinstall.sh and install.ps1 check the binary against the signed checksum and stop on a mismatch. No sudo, no administrator.
- Official MCP registryListed as
br.com.dten/speed.
Check it by hand
minisign -Vm SHA256SUMS -P RWSQCD7m8pjIGJKEPUo0Hmf7X6p2fWYxZUyc9qtbxLQVLNw+rlfPYmNK
sha256sum --check --ignore-missing SHA256SUMS
Public key: dten.com.br/cli/minisign.pub · License: free to use, source not published · Privacy policy