
Vancam
io.github.shughestr由 GitHub 帳號 shughestr 發布v0.1.0更新於 Oct 24, 2026
Search 1M+ live traffic cameras worldwide by bounds, radius, route, or nearest point.
概覽
讓助理依地圖範圍、半徑、路線或最近點搜尋全球超過一百萬支即時交通攝影機,並取得即時畫面。
- 可以做什麼
- 提供多種工具:依邊界框列出攝影機、找出某點半徑內的攝影機、找出兩點之間直線走廊沿線的攝影機,以及取得距離某點最近的攝影機。另有工具可依資產 ID 取得攝影機即時畫面,並將影像資料直接回傳在工具結果中。還有一個文件工具說明各種搜尋方式、攝影機欄位與影像 URL 格式。結果包含 asset_id、經緯度、街道地址、朝向、攝影機類別與地區層級等欄位。
- 適用情境
- 當助理需要某地點、走廊或路線附近的即時路況或交通攝影機資訊時適用,例如查看某點附近或沿途的路況。也適合需要把即時攝影機畫面直接回傳到對話,而不只是提供連結的情境。
- 執行需求
- 以 Python 套件形式在本機執行(uvx vancam-mcp 或 pip install vancam-mcp),透過 stdio 通訊,並在 Claude Desktop、Claude Code 等 MCP 用戶端中註冊。需要能連線至 Vancam API 的網路。選用的環境變數 VANCAM_API_KEY 可提高速率上限;未設定時會使用共享的限速金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Vancam,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Vancam MCP Server
Vancam.ai — Traffic Cameras & Road Conditions — as an MCP (Model Context Protocol) server. Gives AI agents live access to the same camera network behind Vancam's road-condition data: over 1 million traffic cameras worldwide, searchable by map bounds, radius, route, or nearest point.
- 🔍 Search cameras by bounding box, radius, route corridor, or nearest-to-point
- 📸 Fetch live frames by camera asset ID, returned directly in the tool result
- 🌐 Real-time data from the same backend that powers the Vancam.ai map
- 🤖 AI-ready — built with FastMCP, works with Claude Desktop, Claude Code, and any MCP-compatible client
Quick Start
Option A: Install from PyPI
Option B: Clone and install dependencies
2. (Optional) Set up an API key
Requests work out of the box using a shared, rate-limited key (1 req/s, 500/month, pooled across all anonymous users). For higher limits, grab a free personal key from your Vancam.ai account page and set it as an environment variable:
3. Register the server with your MCP client
For Claude Desktop or Claude Code, add to your MCP config. If installed from PyPI (Option A):
If running from a local clone (Option B, see .mcp.json in this repo):
VANCAM_API_KEY is optional — leave it blank to use the shared, rate-limited key.
Restart your client, and the tools below become available.
Available Tools
list_cameras
List cameras within a bounding box — the same query the VanCam map runs on pan/zoom.
get_cameras_by_radius
Get cameras within a radius of a point.
get_cameras_along_route
Get cameras along a straight-line corridor between two points.
Results are sorted by route_fraction (0 = origin, 1 = destination). Note: this is a straight line between the two points, not a driving route.
get_nearest_cameras
Get the closest cameras to a point.
get_camera_image
Fetch a camera's live frame by asset ID, returned as image data in the tool result (not just a URL — the image endpoint requires an API key header that most MCP clients can't attach themselves).
describe_camera_api
Returns documentation for all search modes, camera fields, and image URL patterns. Call this first if you're unsure which tool to use.
API Reference
Every search tool queries the same spatial API that backs the Vancam.ai map:
Each camera includes asset_id, latitude, longitude, street_address, direction, camera_class (open/premium), level1/level2/level3 (country/state/city), distance_meters (radius/nearest searches), route_fraction (route search), and image_url/image_urls.
Full schema: openapi.yaml.
Environment overrides: VANCAM_API_KEY, VANCAM_CAMERAS_SEARCH_URL, VANCAM_API_IMAGE_URL
Project Structure
Related Projects
- Vancam.ai — Web interface for traffic cameras
- Model Context Protocol — MCP specification
- Vancam GPT — Same data, packaged as a ChatGPT GPT
Contributing
Contributions are welcome — feel free to open an issue or submit a pull request.
License
MIT — see LICENSE.
來源:README.md,提交 1a3db75
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分