Skip to main content
Glama

Open Eagle Eye

npm version Tests License: MIT

MCP server that gives AI agents instant access to public camera feeds worldwide. One HTTP GET, sub-second captures, no browser automation, no stream decoding.

Why

Most camera APIs require authentication, serve video streams, or hide images behind JavaScript rendering. Open Eagle Eye only indexes cameras that return a JPEG or PNG on a plain HTTP GET — the simplest possible integration. Agents don't need to render pages or decode video. They just fetch an image.

The registry is self-healing. A GitHub Action runs nightly, checks every camera, retries failures before removing them, and rejects error pages and "no image" placeholders posing as live feeds. A safety brake stops provider-wide outages from wiping whole regions, and removed cameras are re-checked weekly and restored when they come back.

Related MCP server: camera-mcp

Quick start

{
  "mcpServers": {
    "openeagleeye": {
      "command": "npx",
      "args": ["-y", "openeagleeye"]
    }
  }
}

Or install globally:

npm install -g openeagleeye
openeagleeye

On first run, the server fetches the latest camera registry from GitHub and caches it locally in ~/.openeagleeye/. Subsequent starts refresh the cache automatically.

How it works

A valid camera URL is any endpoint that returns a JPEG or PNG on a plain HTTP GET. Most city traffic cameras, weather stations, and park cams expose exactly this. The server fetches the image, saves it to disk, and returns the file path.

MCP Tools

Tool

Description

get_snapshot

Fetch a live image from a camera — saves to disk, returns file path

get_snapshots

Fetch live images from up to 5 cameras in one call

list_cameras

Browse the registry with filters (city, country, location, category) and pagination

search_cameras

Search by name, city, country, location, or category

get_camera_info

Look up full metadata for one camera by ID (no snapshot)

nearby_cameras

Find cameras within a radius of a lat/lng, sorted by distance

explore_cameras

Return a random sample for discovery (optional city/country/category filter)

add_local_camera

Add a camera to your local collection

list_local

Show your locally-added cameras

remove_local

Delete a locally-added camera

submit_local

Share local cameras upstream via GitHub issue

report_camera

Report a broken or low-quality camera

check_config

Show API key configuration status

Resource: cameras://stats — registry totals, health counts, countries, categories, top cities.
Prompts: discover-cameras (add public sources), traffic-check (road conditions), weather-check (outdoor conditions).

list_cameras omits the full city-count map by default (keeps agent context small). Pass include_aggregates: true if you need it, or read cameras://stats.

Upstream vs local cameras

The registry has two layers:

  • Upstream — the global registry fetched from GitHub on every server start. These are the ~32,000 validated public cameras.

  • Local — cameras you add yourself via add_local_camera. They persist in ~/.openeagleeye/local-cameras.json, survive restarts, and appear in list_cameras/search_cameras with source: "local". Share them upstream anytime with submit_local.

Filtering

Every camera has a city field. Use list_cameras with city: "Sydney" to get a short, focused list instead of dumping all cameras into context.

Output format

Every tool returns structured JSON. Snapshots save to disk and return the file path — the MCP server runs as a local subprocess, so the agent has filesystem access.

Snapshot response:

{
  "success": true,
  "file_path": "/home/user/.openeagleeye/snapshots/a1b2c3d4e5f6a7b8.jpg",
  "size_bytes": 14579,
  "content_type": "image/jpeg",
  "camera": {
    "id": "nyc-bb-21-north-rdwy-at-above-south-st",
    "name": "BB-21 North Rdwy @ Above South St",
    "city": "New York",
    "location": "Manhattan, New York, USA",
    "coordinates": { "lat": 40.708, "lng": -73.999 }
  }
}

Registry

~44k cameras across 41 country codes (43,526 in registry at last sync — counts refresh with the nightly validator):

Global Coverage

Country

Count

Sources

US

33,493

State DOTs, 511 feeds, and municipal traffic cameras

CA

2,268

Ontario MTO, Alberta 511

ES

1,947

Public / community sources

FI

1,412

Digitraffic weather cameras (Fintraffic)

HK

995

Hong Kong Transport Department

ZA

994

i-traffic (South Africa)

IT

724

Public / community sources

GB

558

London TfL JamCams and other UK feeds

NZ

258

NZTA nationwide highways

AU

248

Queensland DOT and other AU feeds

BR

215

CET São Paulo urban traffic

JP

105

NEXCO East expressways

SG

90

Singapore LTA

other

219

Smaller sources and incomplete country codes (??, CH, NO, DE, FR, MT, RU, SE, MX, XX, AR, TW, CW, TH, NL, PT, AT, KE, ZM, EC, …)

Every camera has country, city, location, timezone, and coordinates (lat/lng) when the source provides them.

Self-healing

A GitHub Action runs nightly at 3 AM UTC and checks every camera:

  • A camera passes when it returns a real JPEG/PNG frame (not an HTML page, a tiny image, or a known "no image" placeholder)

  • First failure marks it suspect; a second consecutive failure removes it

  • Safety brake: when many cameras from one provider (or more than 3% of the registry) fail on the same night, that looks like an outage or block, not dead cameras — those are held until they fail 7 nights in a row

  • Removed cameras are kept in removed-cameras.json and re-checked every Sunday; any that work again are restored automatically

  • Failures get a second try later the same night, to ride out brief timeouts

  • Every Sunday, 13 providers on the shared 511 platform (Florida, Georgia, Utah, Pennsylvania, Arizona, Nevada, Wisconsin, New England, Louisiana, Ontario, Alberta, Alaska, North Carolina — sources/connectors.json) are re-read from their official camera lists; new cameras go through the same checks before they are added

  • When a provider moves its feed, scripts/sync-providers.mjs --providers ny,es,nc re-imports it through the same checks

Security

  • SSRF protection — blocks private IPs, cloud metadata endpoints, non-HTTP protocols, and DNS rebinding

  • Content-type whitelist — only image/jpeg and image/png accepted

  • Magic byte detection — validates JPEG/PNG by file header when CDN returns wrong content-type

  • Push/PR cap — max 500 cameras per push to prevent DoS via oversized PRs

  • Random filenames — snapshots use random hex filenames, no camera ID in the path

API Keys (optional)

Most cameras work out of the box. Some require a free API key. If a snapshot fails with a key error, the response tells you where to sign up and how to configure it.

Create ~/.openeagleeye/config.json:

{
  "api_keys": {
    "PROVIDER_API_KEY": "your-key-here"
  }
}

Use check_config to see which cameras need keys and whether yours are set.

Adding cameras

  1. Find a direct-image URL (must return image/jpeg or image/png on plain GET)

  2. add_local_camera with the URL, city, location, timezone, and optional coordinates

  3. get_snapshot to test it

  4. submit_local to share upstream — requires the gh CLI (gh auth login)

Local cameras work immediately and don't need upstream approval to be useful.

Good sources: city DOTs, weather stations, ski resorts, national parks, ports, airports.

File layout

All runtime data lives in ~/.openeagleeye/:

~/.openeagleeye/
  cameras.json          # Upstream registry (fetched from GitHub on boot)
  local-cameras.json    # Your locally-added cameras
  .registry-state.json  # Validation state (active/suspect/offline)
  snapshots/            # Downloaded camera images
  config.json           # API keys

Contributing

Pull requests welcome. See CONTRIBUTING.md for guidelines on adding camera sources.

Why this exists

See WHY.md for the reasoning behind the project's design decisions, how it compares to other camera services, and why agent-native and self-healing matter.

Privacy & security

See SECURITY.md for answers to common questions about surveillance, data collection, private cameras, and the security architecture.

License

MIT

Some camera city, country, and timezone fields are derived from GeoNames data, licensed under CC BY 4.0 (see scripts/fill-location-metadata.mjs).

Available Tools

13 tools
add_local_cameraA

Add a camera to your local collection. Local cameras persist in ~/.openeagleeye/local-cameras.json and survive restarts and registry updates. They appear in list_cameras and search_cameras with source 'local'. Share upstream anytime with submit_local.

Inputs: url (required), city (required), name (required), location (required), +11 more.

check_configA

Show API key configuration status. Lists all cameras in the registry that require authentication, the provider name, whether a key is configured in ~/.openeagleeye/config.json, and the signup URL for each. Use when a snapshot fails with an API key error to see which keys are missing.

Inputs: no named parameters.

explore_camerasA

Get random cameras from the registry for discovery. Returns a surprise selection. Filter by city, country, or category to narrow the pool, or leave empty for a truly random pick.

Inputs: city, count, country, category.

get_camera_infoA

Look up camera metadata by ID. Returns full details for a single camera without fetching a snapshot. Use this to check if an ID is valid or to get current metadata for a known camera.

Inputs: cam_id (required).

get_snapshotA

Fetch a live image from a camera. Downloads the image to disk and returns the file path. Works on both upstream registry cameras and locally-added cameras. Use list_cameras or search_cameras first to find IDs.

Inputs: cam_id (required).

get_snapshotsA

Fetch live images from multiple cameras in one call. Returns all snapshot file paths. Use to compare several cameras at once or to monitor a set of favorites. Max 5 cameras per call.

Inputs: cam_ids (required).

list_camerasA

Browse the camera registry. Returns cameras with id, name, city, country, location, category, coordinates, and source (upstream or local). Supports filtering by city, country, location, category, and completeness. Use limit/offset for pagination — the full registry is large. City/country aggregates are omitted by default (use cameras://stats or include_aggregates) to keep agent context small.

Inputs: city, limit, offset, country, +4 more.

list_localA

Show your locally-added cameras. These persist in ~/.openeagleeye/local-cameras.json and survive restarts and registry updates. They appear in list_cameras and search_cameras with source 'local'. Returns camera IDs, names, URLs, coordinates, and auth requirements.

Inputs: no named parameters.

nearby_camerasA

Find cameras within a geographic radius. Returns cameras sorted by distance from the given point. Use for spatial queries like 'webcams near Times Square' or 'cameras within 10km of the Opera House'.

Inputs: lat (required), lng (required), limit, category, +1 more.

remove_localA

Delete a locally-added camera by ID. Removes it from ~/.openeagleeye/local-cameras.json and the in-memory merged view. The camera is also auto-removed from the merged list. Use after sharing upstream via submit_local, or when a URL stops working.

Inputs: cam_id (required).

report_cameraA

Report a broken or low-quality camera. Files a GitHub issue with a snapshot showing the current state, and saves the report locally. If the camera is local with a broken link, it is automatically removed. Requires 'gh' CLI for GitHub issue creation.

Inputs: cam_id (required), status (required), notes.

search_camerasA

Search cameras by text (inverted index). Matches against name, city, country, location, category, and id tokens. Use when looking for cameras in a specific place or of a specific type.

Inputs: query (required), limit.

submit_localA

Share your locally-added cameras with the upstream Open Eagle Eye registry by filing a GitHub issue. Validates each camera URL, checks for duplicates, and embeds a snapshot preview. Requires the 'gh' CLI installed and authenticated (gh auth login). Your local cameras are not removed — use remove_local after they are accepted.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools are clearly distinguishable: single vs. batch snapshots, metadata lookup vs. registry browsing, and geo/random/text search modes are spelled out in descriptions. The main soft spot is list_cameras vs. list_local and get_camera_info, since list_cameras already includes local cameras with source='local', so an agent could pick the wrong one for 'show my cameras'. Descriptions mitigate this but the boundary isn't crisp.

    Naming Consistency3/5

    Mostly verb_noun (get_snapshot, list_cameras, add_local_camera, check_config), but conventions drift: nearby_cameras has no verb, and the local-camera family splits between 'add_local_camera' and the shorter 'list_local/remove_local/submit_local'. Readable overall, but the prefix/suffix inconsistency for the same resource family makes the set less predictable.

    Tool Count5/5

    13 tools is squarely in the well-scoped band, and each tool covers a distinct query path or lifecycle step (browse, search, geo, random, snapshot, batch snapshot, local CRUD, submit, config, report). Nothing feels like filler.

    Completeness4/5

    Local cameras have add/list/remove/submit and the registry side has browse/search/geo/random/info/snapshot plus config diagnostics and a reporting path — a solid lifecycle. The notable gap is no update/edit operation for a local camera (e.g. fixing a URL or metadata requires remove+add), and config checking is read-only with no way to set keys.

    Maintenance

    ActivityActive
    ResponsivenessUsually handled

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides LLM agents with direct access to webcam hardware for capturing high-resolution photos and recording video sequences. It enables autonomous agents to monitor environments and interact with the physical world through standard Model Context Protocol tools.
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables interaction with local camera devices to capture and process images. It allows LLMs to access video devices with configurable settings such as resolution, orientation, and image format.
      1
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      MCP server that enables AI agents to watch and analyze videos from 1800+ sources, with persistent indexing, OCR, transcription, and a self-verification loop for debugging.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A remote MCP server that exposes machine resources like filesystem, terminal, camera, and input to AI agents over HTTP, enabling access from anywhere on the network.
      MIT