world-intel-mcp

marc-shade/world-intel-mcp

3.3

If you are the rightful owner of world-intel-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Threat Intelligence MCP Server provides real-time threat intelligence aggregation for the AGI agentic cluster, integrating multiple threat feeds and reputation checking services.

Tools
8
Resources
0
Prompts
0

World Intelligence MCP Server

MCP Python 3.11+

Real-time global intelligence across 27 domains with 68 MCP tools, a live ops-center dashboard, CLI reports, and per-source circuit breakers. All data comes from free, public APIs — no paid subscriptions required.

Successor to threat-intel-mcp. This project evolved from a focused threat intelligence server into a comprehensive world intelligence platform covering markets, geopolitics, climate, military, space weather, AI research, and more.


What You Get

DomainToolsData Sources
Financial Markets7Yahoo Finance, CoinGecko, Polymarket
Economic Indicators3EIA energy, FRED macro, World Bank
Seismology1USGS earthquake feeds
Wildfires1NASA FIRMS satellite hotspots
Conflict & Security4ACLED events, UCDP armed conflict, unrest detection
Military & Defense5adsb.lol, OpenSky Network, hexdb.io, surge detection
Infrastructure4Cloudflare Radar, submarine cables, cascade analysis, cloud service status
Maritime2NGA navigation warnings, vessel snapshots
Geospatial Datasets470 military bases, 40 ports, 24 pipelines, 24 nuclear facilities
Climate1Open-Meteo climate anomalies
News & Media380+ RSS feeds (4-tier), GDELT, trending keywords
Intelligence Analysis8Signal convergence, focal points, instability index, risk scores, escalation, surge detection
Prediction Markets1Polymarket event contracts
Displacement1UNHCR refugee/IDP data
Aviation1FAA airport delays
Cyber Threats1URLhaus, Feodotracker, CISA KEV, SANS
Space Weather1NOAA SWPC (Kp index, solar flares, alerts)
AI/AGI Watch1arXiv cs.AI/LG/CL, HuggingFace, newsletters
Health1WHO DON, ProMED, CIDRAP disease outbreaks
Sanctions1US Treasury OFAC SDN list
Elections1Global election calendar with risk scoring
Shipping1Dry bulk ETFs, shipping stress index
Social1Reddit geopolitical discussion velocity
Nuclear1USGS seismics near 5 nuclear test sites
Reports3Daily brief, country dossier, threat landscape
Cross-Domain Analysis2Alert digest, weekly trends
NLP Intelligence4Entity extraction, event classification, news clustering, keyword spikes
Strategic Synthesis4Strategic posture, world brief, fleet report, population exposure

Total: 68 tools across 27 intelligence domains.


Quick Start

Install

# Clone
git clone https://github.com/marc-shade/world-intel-mcp.git
cd world-intel-mcp

# Install (Python 3.11+)
pip install -e .

# With dashboard support
pip install -e ".[dashboard]"

# With dev/test tools
pip install -e ".[dev]"

Run as MCP Server

# stdio mode (for Claude Code, Cursor, etc.)
world-intel-mcp

Claude Code Configuration

Add to your ~/.claude.json:

{
  "mcpServers": {
    "world-intel-mcp": {
      "command": "world-intel-mcp",
      "env": {}
    }
  }
}

Or if installed in a virtualenv:

{
  "mcpServers": {
    "world-intel-mcp": {
      "command": "/path/to/venv/bin/world-intel-mcp",
      "env": {}
    }
  }
}

Run the Live Dashboard

# Start the ops-center dashboard (default: http://localhost:8501)
intel-dashboard

# Custom port
intel-dashboard --port 9000

The dashboard is a map-first ops center with:

  • Full-viewport Leaflet map with 7 toggle-able layers (quakes, military, conflict, fires, convergence, nuclear, infrastructure)
  • 35+ live data feeds streaming via SSE (30-second refresh)
  • 12 expandable drawer sections (alerts, markets, security, intelligence, AI watch, health, elections, shipping, social, nuclear, trends, infrastructure)
  • HUD bar with real-time pills (quakes, aircraft, conflict zones, cyber IOCs, fires, displaced persons, Kp index, AI papers, alerts, shipping stress, outbreaks, services)
  • Modal detail system — all external links open in-app, all data items expand to rich detail views
  • Glassmorphic floating panels with dark-mode styling
  • Per-source circuit breaker health monitoring

CLI Reports

# Daily intelligence brief
intel daily-brief

# Country dossier
intel country-dossier --country "Ukraine"

# Threat landscape overview
intel threat-landscape

Architecture

src/world_intel_mcp/
  server.py              # MCP server (stdio) — 64 tool definitions
  fetcher.py             # Async HTTP client with retries, stale-data fallback
  cache.py               # SQLite TTL cache with stale-data recovery
  circuit_breaker.py     # Per-source circuit breakers (3 failures -> 5min cooldown)
  cli.py                 # Click CLI for reports

  sources/               # One module per intelligence domain (25 modules)
    markets.py           # Stock indices, crypto, stablecoins, ETFs, sectors, commodities
    economic.py          # Energy prices, FRED macro, World Bank indicators
    seismology.py        # USGS earthquakes
    wildfire.py          # NASA FIRMS satellite fire hotspots (9 global regions)
    conflict.py          # ACLED, UCDP armed conflict events
    military.py          # adsb.lol + OpenSky military flights, aircraft details
    infrastructure.py    # Internet outages, submarine cable health, cloud service status
    maritime.py          # NGA navigation warnings, vessel snapshots
    climate.py           # Open-Meteo climate anomalies by zone
    news.py              # 80+ RSS feeds with per-feed circuit breakers, 4-tier source ranking
    intelligence.py      # GDELT, country briefs, signal convergence, risk scores
    prediction.py        # Polymarket prediction markets
    displacement.py      # UNHCR refugee/IDP statistics
    aviation.py          # FAA airport delays
    cyber.py             # URLhaus, Feodotracker, CISA KEV, SANS
    space_weather.py     # NOAA SWPC: Kp index, solar flares, alerts
    ai_watch.py          # arXiv AI papers, HuggingFace, lab trending
    health.py            # WHO DON, ProMED, CIDRAP disease outbreaks
    sanctions.py         # US Treasury OFAC SDN list search
    elections.py         # Global election calendar with proximity risk scoring
    shipping.py          # Dry bulk shipping stress index (BDRY, SBLK, EGLE, ZIM)
    social.py            # Reddit geopolitical discussion velocity
    nuclear.py           # USGS seismic monitoring near 5 nuclear test sites
    geospatial.py        # Query wrappers for static geospatial datasets
    service_status.py    # Cloudflare, AWS, Azure, GCP service health
    fleet.py             # Naval fleet activity report

  analysis/              # Cross-domain analysis + NLP + strategic synthesis
    signals.py           # Signal convergence detection
    instability.py       # Country instability index (CII v2)
    focal_points.py      # Multi-signal focal point detection
    temporal.py          # Temporal anomaly detection with SQLite baselines
    alerts.py            # Cross-domain alert digest + weekly trends
    escalation.py        # Dynamic hotspot escalation scoring
    surge.py             # Military surge anomaly detection
    cascade.py           # Infrastructure cascade simulation
    entities.py          # Named entity extraction (countries, leaders, orgs, CVEs, APTs)
    classifier.py        # Keyword-based event threat classification (14 categories)
    clustering.py        # Jaccard similarity news topic clustering
    spikes.py            # Keyword spike detection with Welford's algorithm
    posture.py           # Strategic posture — composite 9-domain risk assessment
    world_brief.py       # Structured daily intelligence summary
    exposure.py          # Population exposure near active events

  config/                # Static configuration data
    countries.py         # 22 intel hotspots, election calendar, nuclear test sites
    geospatial.py        # 70 military bases, 40 ports, 24 pipelines, 24 nuclear facilities
    entities.py          # 28 leaders, 41 orgs, 25 companies, 36 APT groups
    population.py        # 105 major cities (pop >2M) for exposure analysis

  reports/               # Report generation
    generator.py         # Report orchestrator
    markdown_report.py   # Markdown output
    html_report.py       # HTML output (Jinja2 templates)
    templates/           # HTML report templates

  dashboard/             # Live ops-center dashboard
    app.py               # Starlette app with SSE streaming (35+ feeds)
    index.html           # Map-first dashboard UI (14 map layers, 20+ drawer sections)

  tests/                 # Test suite
    conftest.py          # Shared fixtures (mock fetcher, circuit breaker)
    test_sources.py      # Source module tests
    test_cache.py        # Cache TTL tests
    test_analysis.py     # Analysis engine tests

Circuit Breakers

Every external API call goes through a circuit breaker. After 3 consecutive failures, the source is "tripped" for 5 minutes, preventing cascading timeouts. Each RSS feed gets its own breaker (e.g., rss:bbc_world, rss:ars_technica), so a single broken feed doesn't kill all news.

Data Flow

External APIs -> Fetcher (httpx + retries) -> Circuit Breaker -> Cache (TTL) -> MCP Tool Response
                                                                              -> Dashboard (SSE)
                                                                              -> CLI Report

MCP Tools Reference

Financial Markets (7 tools)

ToolDescription
intel_market_quotesStock index quotes (S&P 500, Dow, Nasdaq, FTSE, Nikkei)
intel_crypto_quotesTop crypto prices and market caps from CoinGecko
intel_stablecoin_statusStablecoin peg health (USDT, USDC, DAI, FDUSD)
intel_etf_flowsBitcoin spot ETF prices and volumes (IBIT, FBTC, GBTC, ARKB)
intel_sector_heatmapUS equity sector performance (11 SPDR sector ETFs)
intel_macro_signalsMacro indicators (Fear & Greed, VIX, DXY, gold, 10Y, BTC mempool)
intel_commodity_quotesCommodity futures (gold, silver, crude oil, natural gas)

Economic (3 tools)

ToolDescription
intel_energy_pricesBrent/WTI crude oil and natural gas from EIA
intel_fred_seriesFRED economic data series (GDP, CPI, unemployment, rates)
intel_world_bank_indicatorsWorld Bank development indicators by country

Natural Disasters (2 tools)

ToolDescription
intel_earthquakesRecent earthquakes from USGS (configurable magnitude/time)
intel_wildfiresNASA FIRMS satellite fire hotspots (9 global regions)

Security & Conflict (4 tools)

ToolDescription
intel_acled_eventsArmed conflict events from ACLED
intel_ucdp_eventsUppsala Conflict Data Program events
intel_unrest_eventsSocial unrest (protests + riots) with Haversine dedup
intel_cyber_threatsAggregated cyber intel (URLhaus, Feodotracker, CISA KEV, SANS)

Military & Defense (5 tools)

ToolDescription
intel_military_flightsMilitary aircraft via adsb.lol (fallback: OpenSky)
intel_theater_postureMilitary activity across 5 theaters (EU, Indo-Pacific, ME, Arctic, Korea)
intel_aircraft_detailsAircraft lookup by ICAO24 hex code (hexdb.io)
intel_military_surgeForeign aircraft concentration anomaly detection
intel_military_basesQuery 70 military bases from 9 operators (USA, RUS, CHN, GBR, FRA, NATO, IND, TUR, ISR)

Infrastructure (4 tools)

ToolDescription
intel_internet_outagesCloudflare Radar internet disruptions
intel_cable_healthSubmarine cable corridor health (6 corridors)
intel_cascade_analysisInfrastructure cascade simulation ("what if corridor X fails?")
intel_service_statusCloud platform health (Cloudflare, AWS, Azure, GCP)

Maritime (2 tools)

ToolDescription
intel_nav_warningsMaritime navigation warnings from NGA
intel_vessel_snapshotNaval activity at 9 strategic waterways

Geospatial Datasets (4 tools)

ToolDescription
intel_military_bases70 military bases from 9 operators — filter by operator, country, type, branch
intel_strategic_ports40 strategic ports across 6 types — filter by type, country
intel_pipelines24 oil/gas/hydrogen pipelines — filter by type, status
intel_nuclear_facilities24 nuclear power/enrichment/research facilities — filter by type, country, status

News & Media (3 tools)

ToolDescription
intel_news_feedAggregated news from 80+ global RSS feeds with 4-tier source ranking
intel_trending_keywordsTrending terms with spike detection
intel_gdelt_searchGDELT 2.0 global news search and timelines

Geopolitical (2 tools)

ToolDescription
intel_prediction_marketsPolymarket prediction contract prices
intel_election_calendarGlobal election calendar with proximity risk scoring

Humanitarian (2 tools)

ToolDescription
intel_displacement_summaryUNHCR refugee/IDP statistics by country
intel_humanitarian_summaryHDX humanitarian crisis datasets

Environment & Space (2 tools)

ToolDescription
intel_climate_anomaliesTemperature/precipitation anomalies (15 global zones)
intel_space_weatherSolar activity: Kp index, X-ray flux, SWPC alerts

Health & Social (3 tools)

ToolDescription
intel_disease_outbreaksWHO DON, ProMED, CIDRAP outbreak alerts
intel_social_signalsReddit geopolitical discussion velocity
intel_sanctions_searchUS Treasury OFAC SDN list search

AI/AGI Research (1 tool)

ToolDescription
intel_ai_releasesarXiv AI papers, HuggingFace models, lab tracking

Shipping & Transport (2 tools)

ToolDescription
intel_shipping_indexDry bulk shipping stress index (BDRY, SBLK, EGLE, ZIM)
intel_airport_delaysFAA airport delay status (20 major US airports)

Nuclear (1 tool)

ToolDescription
intel_nuclear_monitorSeismic monitoring near 5 nuclear test sites

Intelligence Analysis (8 tools)

ToolDescription
intel_signal_convergenceGeographic convergence of multi-domain signals
intel_focal_pointsMulti-signal focal point detection on entities
intel_signal_summaryCountry-level signal aggregation with convergence scoring
intel_temporal_anomaliesActivity deviations from historical baselines
intel_instability_indexCountry Instability Index v2 (0-100, 4 weighted domains)
intel_risk_scoresACLED-based conflict risk scoring vs baselines
intel_hotspot_escalationDynamic escalation scores for 22 intel hotspots
intel_military_surgeForeign aircraft concentration anomaly detection

NLP Intelligence (4 tools)

ToolDescription
intel_extract_entitiesNamed entity extraction: countries, leaders, orgs, companies, CVEs, APT groups
intel_classify_eventEvent classification into 14 threat categories with severity scoring (1-10)
intel_news_clustersTopic clustering of news articles by Jaccard similarity with keyword extraction
intel_keyword_spikesKeyword spike detection against baselines with CVE/APT mention extraction

Strategic Synthesis (4 tools)

ToolDescription
intel_strategic_postureComposite global risk from 9 weighted domains (military, political, conflict, infrastructure, economic, cyber, health, climate, space)
intel_world_briefStructured daily intelligence summary: risk overview, focal areas, top stories, anomalies, trending threats
intel_fleet_reportNaval fleet activity: theater posture, waterway status, surge detections, readiness scoring
intel_population_exposurePopulation at risk near active earthquakes, wildfires, and conflict (105-city dataset, 1B pop coverage)

Cross-Domain Alerts (2 tools)

ToolDescription
intel_alert_digestAggregated alerts from 7 intelligence sources
intel_weekly_trendsWeekly trend analysis from temporal baselines

Reports (3 tools)

ToolDescription
intel_daily_briefDaily intelligence briefing (HTML report)
intel_country_dossierComprehensive country intelligence report
intel_threat_landscapeCurrent threat landscape overview

System (2 tools)

ToolDescription
intel_country_briefQuick country situation summary (Ollama LLM)
intel_statusServer health, cache stats, circuit breaker status

Environment Variables

VariableRequiredDescription
ACLED_ACCESS_TOKENNoACLED API token (enables conflict event data)
NASA_FIRMS_API_KEYNoNASA FIRMS key (enables satellite wildfire data)
EIA_API_KEYNoEIA key (enables energy price data)
CLOUDFLARE_API_TOKENNoCloudflare Radar (enables internet outage data)
FRED_API_KEYNoFRED key (enables macro economic data)
OPENSKY_CLIENT_IDNoOpenSky Network credentials (military flight fallback)
OPENSKY_CLIENT_SECRETNoOpenSky Network credentials (military flight fallback)
WORLD_INTEL_LOG_LEVELNoLogging level (default: INFO)

All other data sources (CoinGecko, USGS, adsb.lol, UCDP, NGA, FAA, Polymarket, UNHCR, NOAA SWPC, arXiv, Reddit, hexdb.io, WHO, OFAC, etc.) use free, unauthenticated public APIs.


Development

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run with coverage
pytest --cov=world_intel_mcp

# Type checking (if configured)
mypy src/

Adding a New Source

  1. Create src/world_intel_mcp/sources/your_source.py
  2. Implement async def fetch_your_data(fetcher: Fetcher, **kwargs) -> dict
  3. Use fetcher.get_json() / fetcher.get_xml() for HTTP calls (includes caching + circuit breakers)
  4. Import in server.py, add a Tool definition, and wire up the call_tool handler
  5. Add to dashboard/app.py if you want it on the live dashboard
  6. Add tests in tests/

License

MIT