# Natural Disaster Intelligence MCP Server (`martc03/natural-disaster-intel-mcp`) Actor

MCP server for natural disaster data. Gives AI assistants access to FEMA disaster declarations, NOAA weather alerts, and USGS earthquake data in real-time.

- **URL**: https://apify.com/martc03/natural-disaster-intel-mcp.md
- **Developed by:** [CoDee](https://apify.com/martc03) (community)
- **Categories:** AI, Integrations
- **Stats:** 3 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Natural Disaster Intelligence MCP Server

Monitor FEMA disaster declarations, active weather alerts, and earthquake activity through a single MCP interface. This server connects AI assistants to three critical federal data sources for natural disaster awareness, enabling real-time situational intelligence and historical disaster research.

Emergency managers, insurance professionals, researchers, and concerned citizens can use this server to query active weather threats, review FEMA disaster history for any state, or search recent seismic activity worldwide -- all through natural language prompts to an AI assistant.

### Available Tools

#### `disaster_search_fema_declarations`

Search FEMA disaster declarations by state, type, and date range.

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `state` | string | No | Two-letter state code (e.g., "FL", "CA") |
| `disasterType` | string | No | Declaration type (e.g., "DR" for major disaster, "EM" for emergency) |
| `dateFrom` | string | No | Start date in YYYY-MM-DD format |
| `dateTo` | string | No | End date in YYYY-MM-DD format |
| `limit` | number | No | Maximum results to return (default: 10) |

**Returns**: Disaster number, state, declaration type, title, incident type, begin and end dates, and close-out date.

#### `disaster_get_weather_alerts`

Get active NOAA/National Weather Service alerts for any US state or territory.

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `state` | string | No | Two-letter state code (e.g., "TX", "OK") |
| `severity` | string | No | Alert severity: Extreme, Severe, Moderate, Minor, Unknown |
| `urgency` | string | No | Alert urgency: Immediate, Expected, Future, Past, Unknown |
| `event` | string | No | Event type (e.g., "Tornado Warning", "Flash Flood Watch") |

**Returns**: Alert ID, event type, severity, urgency, headline, full description, affected area, effective date, and expiration date.

#### `disaster_search_earthquakes`

Search USGS earthquake data by magnitude, location, and date range.

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `minMagnitude` | number | No | Minimum magnitude (e.g., 4.0) |
| `dateFrom` | string | No | Start date in YYYY-MM-DD format |
| `dateTo` | string | No | End date in YYYY-MM-DD format |
| `latitude` | number | No | Center latitude for radius search |
| `longitude` | number | No | Center longitude for radius search |
| `maxRadiusKm` | number | No | Search radius in kilometers (requires lat/lon) |
| `limit` | number | No | Maximum results to return (default: 10) |

**Returns**: Magnitude, place description, time, coordinates (latitude, longitude), depth in km, tsunami flag, and USGS alert level.

### How to Connect

Add this server to your MCP client configuration:

```json
{
  "mcpServers": {
    "natural-disaster-intel": {
      "type": "url",
      "url": "https://natural-disaster-intel-mcp.apify.actor/mcp"
    }
  }
}
```

Compatible with Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.

### Example Prompts

- "What weather alerts are active in Oklahoma right now?"
- "Show me all FEMA disaster declarations for Florida in 2024."
- "Find earthquakes above magnitude 5.0 near Los Angeles in the past 30 days."
- "Are there any tornado warnings in the central US?"
- "What FEMA emergencies were declared in Texas during hurricane season?"
- "Show me recent earthquakes within 200 km of San Francisco."

### Pricing

This actor charges **$0.01 per tool call**. Each search query counts as one tool call regardless of the number of results returned.

### Data Sources

All data is sourced from official US government APIs:

- **FEMA OpenFEMA API** -- [fema.gov/api/open](https://www.fema.gov/about/openfema/api) -- Historical disaster declarations and emergency management data.
- **National Weather Service API** -- [api.weather.gov](https://api.weather.gov) -- Real-time weather alerts, watches, and warnings from NOAA.
- **USGS Earthquake Hazards API** -- [earthquake.usgs.gov](https://earthquake.usgs.gov/fdsnws/event/1/) -- Real-time and historical earthquake event data worldwide.

# Actor input Schema

## Actor input object example

```json
{}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("martc03/natural-disaster-intel-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("martc03/natural-disaster-intel-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call martc03/natural-disaster-intel-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,martc03/natural-disaster-intel-mcp"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/IoiOhZLHxApBJDdb2/builds/GdP9d2hC0JSkgxilJ/openapi.json
