npm livetrafficcam-mcpstdioupdated 9d ago
MCP (Model Context Protocol) server for LiveTrafficCam, a directory of live US traffic cameras built on official state DOT feeds. Every camera is checked on a rolling schedule with real HTTP requests, so "live" means a verified current image, not a listing.
LiveTrafficCam MCP Server 能做什么?
livetrafficcam-mcp
MCP (Model Context Protocol) server for LiveTrafficCam, a directory of live US traffic cameras built on official state DOT feeds. Every camera is checked on a rolling schedule with real HTTP requests, so "live" means a verified current image, not a listing.
The server wraps the site's public JSON API. It sends one request per tool
call, caches responses for 60 seconds, and returns compact JSON with a
source_url you can cite.
Install
Requires Node 20 or newer.
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"livetrafficcam": {
"command": "npx",
"args": ["-y", "livetrafficcam-mcp"]
}
}
}
Claude Code:
claude mcp add livetrafficcam -- npx -y livetrafficcam-mcp
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"livetrafficcam": {
"command": "npx",
"args": ["-y", "livetrafficcam-mcp"]
}
}
}
Tools
list_states— states covered, camera counts, and a liveness summary per state. Example: "Which states have traffic camera coverage?"cameras_by_state— cameras for a two-letter state code, with an optional route filter. Example: "Show live cameras on I-90 in Washington."cameras_for_entity— cameras for a named pass, corridor, bridge or tunnel slug. Example: "What do the Donner Pass cameras show?" usesdonner-pass.camera_status— one camera's verified-live status, last live time, and official DOT source. Example: "Is the I-90 floating bridge camera up?"state_uptime— measured uptime for a state's camera fleet: live, stale and dead counts plus the 14-day check success rate. Example: "How reliable are Washington's traffic cameras?"
The camera API returns at most 200 cameras per query; tool output says so when a state has more. Fleet counts come from the camera uptime report.
Data source and attribution
All data comes from livetrafficcam.com's public API, which aggregates official state DOT camera feeds (WSDOT, Caltrans, UDOT, and others). Every camera result carries the attribution line for its agency; keep it when you display the data. Uptime numbers should cite the uptime report.
More from the same data:
- Camera uptime report — measured per-state uptime of official DOT cameras.
- Traffic camera statistics — how many official DOT traffic cameras exist, per state and agency.
- Donner Pass cameras — an example of the pass pages the entity tool points at.
License
MIT
安装
把 LiveTrafficCam MCP Server 添加到你的客户端。选择你正在使用的那个。
claude mcp add livetrafficcam-mcp -- npx -y livetrafficcam-mcpcodex mcp add livetrafficcam-mcp -- npx -y livetrafficcam-mcpamp mcp add livetrafficcam-mcp -- npx -y livetrafficcam-mcp{
"mcpServers": {
"livetrafficcam-mcp": {
"command": "npx",
"args": [
"-y",
"livetrafficcam-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"livetrafficcam-mcp": {
"command": "npx",
"args": [
"-y",
"livetrafficcam-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"livetrafficcam-mcp","command":"npx","args":["-y","livetrafficcam-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"livetrafficcam-mcp": {
"command": "npx",
"args": [
"-y",
"livetrafficcam-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"livetrafficcam-mcp": {
"command": "npx",
"args": [
"-y",
"livetrafficcam-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"livetrafficcam-mcp": {
"command": "npx",
"args": [
"-y",
"livetrafficcam-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"livetrafficcam-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"livetrafficcam-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"livetrafficcam-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"livetrafficcam-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y livetrafficcam-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
5 个工具
LiveTrafficCam MCP Server 向已连接的智能体提供 5 个工具。
- list_states
- states covered, camera counts, and a liveness summary
- cameras_by_state
- cameras for a two-letter state code, with an
- cameras_for_entity
- cameras for a named pass, corridor, bridge or
- camera_status
- one camera's verified-live status, last live time,
- state_uptime
- measured uptime for a state's camera fleet: live,
评分
61 / 100
良好
- 文档18/25
- 维护19/25
- 可信度6/20
- 能力6/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 1 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 5 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.0.0最新 | 2026年8月31日 |