linewatch-mcp
Linewatch
時間経過に伴うインターネット品質 — エージェントネイティブ。 1つの数値で止まらない、シンプルなspeedtest.net。測定し続け、傾向をグラフ化し、切断を記録し、その証拠をクリーンなJSONとしてあなた(またはAIエージェント)に渡します。
2026年8月19日作成。仮のラベル — 名前は後で通常のプロセスで決めます。
存在理由
ある時点のスピードテストでは、回線が実際には毎晩フラッピング(不安定)したり低下していたりしても、問題ないように見えることがあります。3つの障害モードには、3種類の測定が必要です:
障害モード | それを検出するもの |
スループット低下(300Mbpsを契約して60Mbpsしか出ない) | 定期的なスピードテスト |
フラッピング(開始・停止・開始の切断) | 45秒ごとの軽量レイテンシプローブ |
レイテンシ/バッファブロート(速度は問題ないが通話が途切れる) | 測定ごとのレイテンシ+ジッタ |
設計原則:重いテストはまばらに、軽いテストは高密度に。
自前のサーバーは不要:測定はCloudflareの公開・CORSオープンなスピードエンドポイント(speed.cloudflare.com)に対して実行されるため、エンジンはどのブラウザやNode.jsプロセスからでも無料で動作します。
Related MCP server: netops-mcp
レイアウト
packages/core isomorphic measurement engine + stats + types (browser & Node)
packages/cli `linewatch` CLI — every command speaks --json; JSONL store in ~/.linewatch/
packages/mcp MCP server (stdio) — agents run tests & read history, zero login
apps/web PWA — GO button + live gauge, Monitor mode, history charts, CSV exportクイックスタート
npm install
npm run build
# human: web app
npm run dev # → http://localhost:5173 (installable as a PWA)
# human or agent: CLI
node packages/cli/dist/index.js test # one speed test
node packages/cli/dist/index.js monitor # test every 15m + probe every 45s
node packages/cli/dist/index.js summary --since 7d --json
# agent: MCP (Claude Code)
claude mcp add -s user linewatch -- node $(pwd)/packages/mcp/dist/index.jsMCPツール: run_speed_test、run_latency_probe、get_history、get_summary、get_store_info。
エージェントネイティブの原則
マシン向けの対話型認証は不要。 CLIとMCPは同じローカルJSONLストア(
~/.linewatch/results.jsonl)にアクセスします — 追記のみ、grep可能、解析可能。JSONが第一級の出力です。 人間向けUIは同じ行のレンダリングにすぎません。
自律利用のための低コストなプリミティブ: ネットワーク障害を疑うエージェントは
run_latency_probe(2秒未満、データほぼゼロ)を呼び出し、必要な場合にのみrun_speed_test(約20秒、約100〜500MB)にエスカレーションします — ツールの説明にこれらのコストが記載されているため、エージェントが判断できます。
データに関する注意
スピードテストは、フルレートで約18秒間データを転送します:テストあたりおおよそ
line_Mbps × 18 / 8MB。100 Mbps回線で15分間隔のモニターモードは1日あたり20GB以上 — 無制限の光回線では問題ありませんが、容量制限プランではより遅い間隔を選んでください。Webの結果はブラウザのIndexedDBに、CLI/MCPの結果は
~/.linewatch/に保存されます。これらはフェーズB(クラウド同期)で統合されます。
今後の予定(クラウド同期、アラート、トレイアプリ、モバイル、プロダクト)についてはROADMAP.mdを参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceThe MCP Internet Speed Test is a specialized Model Context Protocol (MCP) server that enables AI models and agents to perform internet speed measurements.614PythonMIT
- AlicenseNot gradedqualityBmaintenanceProvides network operations tools such as ping, traceroute, DNS queries, and nmap scans via MCP, enabling network diagnostics and monitoring through natural language.13MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents and users to manage workspace files, monitor system metrics, take persistent notes, and retrieve weather data via MCP tools and resources.
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform real network diagnostics on the local machine, including ping, traceroute, DNS lookups, TLS checks, and more.MIT
Related MCP Connectors
Shared long-term memory vault for AI agents with 20 MCP tools.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Web tools for agents: fetch URL as markdown (free MCP) + x402 scrape, links, AI JSON, snapshot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arunanksharan/linewatch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server