160-tool MCP server for real-time global intelligence from free public APIs: markets, liquidity, prediction markets, SEC filings, conflict, military, aircraft-cohort early warning, migration and border flows, cyber, climate, news and more. Dated observation history, 29 research prompts, cited briefs, geofences, SSE dashboard. MIT, no paid API keys.
Python ai-toolsai-watchanthropicclaudecybersecuritydashboardgeofencinggeopoliticalgeospatialintelligencemarketsmcpmigrationmilitarymodel-context-protocolnuclearosintreal-timespace-weatherthreat-intelligence
AOI prompts: earthquakes and wildfires can depart silently on an outage
Phoenix Agent (mac-studio)060caea806f1
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 98de7b3..66d1f4c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -398,6 +398,12 @@ source here, and no proxy is substituted for any of these measures.dropped a city that a large quake had reached. The step now says soand to compare each city's position with every step-1 event beforedropping it. The code is unchanged.+- aoi-watch-setup said every failed domain is listed in `data_gaps` and+ left out of the diff. Earthquakes, and wildfires when+ `NASA_FIRMS_API_KEY` is set, return empty with no error when their+ fetch fails, so the diff reports everything departing with no gap. Both+ AOI prompts now say so, call a whole domain departing at once+ unconfirmed, and point to `failing_sources`. The code is unchanged.### Added: tropical cyclone forecast tracks- `intel_cyclones` and `intel_jtwc_cyclones` take `include_forecast`diff --git a/src/world_intel_mcp/guide_prompts.py b/src/world_intel_mcp/guide_prompts.pyindex b36df82..2633201 100644--- a/src/world_intel_mcp/guide_prompts.py+++ b/src/world_intel_mcp/guide_prompts.py@@ -1145,8 +1145,12 @@ PROMPTS: tuple[ResearchPrompt, ...] = (limits=("The first change check records a baseline and claims nothing ""entered or left.",- "A domain that fails is listed in data_gaps and left out of the "- "diff. Never read it as everything leaving.",+ "Most domains that fail are listed in data_gaps and left out of "+ "the diff, but earthquakes, and wildfires when NASA_FIRMS_API_KEY "+ "is set, can come back empty from a failed fetch with no data_gaps "+ "entry, which reads as everything leaving. A whole domain "+ "departing at once is unconfirmed: check failing_sources in "+ "intel://guide/source-health and say it could not be confirmed.","Each intel_aoi_changes call compares with the snapshot saved by ""the call before it (yours or a collector AOI sweep) and then ""replaces that snapshot.",@@ -1185,6 +1189,11 @@ PROMPTS: tuple[ResearchPrompt, ...] = ("Every intel_aoi_changes call saves a new snapshot. Call it once: a ""retried call compares with the snapshot the first call just saved ""and reports that nothing changed.",+ "Earthquakes, and wildfires when NASA_FIRMS_API_KEY is set, can "+ "return empty from a failed fetch with no data_gaps entry, so a "+ "whole domain departing at once may be an outage: check "+ "failing_sources in intel://guide/source-health and report it as "+ "unconfirmed.","News for an AOI is found by place name near its centre, so a ""nearby place with the same name can leak in.",),diff --git a/src/world_intel_mcp/tests/test_guide.py b/src/world_intel_mcp/tests/test_guide.pyindex 1a82fd8..389e4d2 100644--- a/src/world_intel_mcp/tests/test_guide.py+++ b/src/world_intel_mcp/tests/test_guide.py@@ -1950,3 +1950,37 @@ def test_earthquake_exposure_says_each_city_names_only_its_nearest_event() -> Noassert "names only the nearest of them for each city" in textassert "compare its lat and lon with each step-1 event" in textassert "Keep only the exposed_cities whose event_detail" not in text+++async def test_aoi_prompts_say_which_domains_fail_silently(monkeypatch, tmp_path) -> None:+ """Earthquakes, and FIRMS regions with a key set, come back empty with+ no error when the fetch fails, so the AOI diff cannot list them as a+ gap; the prompts must not promise it does. Every request gets a 503."""+ from world_intel_mcp.fetcher import Fetcher+ from world_intel_mcp.sources import seismology, wildfire++ client = httpx.AsyncClient(transport=httpx.MockTransport(lambda request: httpx.Response(503)))+ cache = Cache(db_path=tmp_path / "aoi-silent.db")+ down = Fetcher(cache, CircuitBreaker(), max_retries=0, client=client)+ monkeypatch.setenv("NASA_FIRMS_API_KEY", "test-only")++ async def _no_wait(*args, **kwargs) -> None:+ return None++ monkeypatch.setattr(asyncio, "sleep", _no_wait)+ try:+ quakes = await seismology.fetch_earthquakes(down)+ fires = await wildfire.fetch_wildfires(down)+ finally:+ await client.aclose()+ cache.close()+ assert (quakes["earthquakes"], "error" in quakes) == ([], False)+ assert "error" not in fires+ assert fires["total_fires"] == 0+ assert {r["count"] for r in fires["fires_by_region"].values()} == {0}+ for name in ("aoi-watch-setup", "aoi-review"):+ text = " ".join(_text(name).split())+ assert "A domain that fails is listed in data_gaps" not in text+ assert "earthquakes, and wildfires when NASA_FIRMS_API_KEY" in text.replace("Earthquakes", "earthquakes")+ assert "failing_sources in intel://guide/source-health" in text