Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Search ReliefWeb humanitarian reports, disasters, jobs, training, and country profiles via MCP.

README.md

<div align="center"> <h1>@cyanheads/reliefweb-mcp-server</h1> <p><b>Search ReliefWeb humanitarian reports, disasters, jobs, training, and country profiles via MCP. STDIO or Streamable HTTP.</b> <div>9 Tools • 3 Resources • 1 Prompt</div> </p> </div>

<div align="center">

![Version](./CHANGELOG.md) ![License](./LICENSE) ![Docker](https://github.com/users/cyanheads/packages/container/package/reliefweb-mcp-server) ![MCP SDK](https://modelcontextprotocol.io/) ![npm](https://www.npmjs.com/package/@cyanheads/reliefweb-mcp-server) ![TypeScript](https://www.typescriptlang.org/) ![Bun](https://bun.sh/)

</div>

<div align="center">

![Install in Claude Desktop](https://github.com/cyanheads/reliefweb-mcp-server/releases/latest/download/reliefweb-mcp-server.mcpb) ![Install in Cursor](https://cursor.com/en/install-mcp?name=reliefweb-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjeWFuaGVhZHMvcmVsaWVmd2ViLW1jcC1zZXJ2ZXIiXSwiZW52Ijp7IlJFTElFRldFQl9BUFBfTkFNRSI6InlvdXItYXBwLW5hbWUifX0=) ![Install in VS Code](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22reliefweb-mcp-server%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cyanheads%2Freliefweb-mcp-server%22%5D%2C%22env%22%3A%7B%22RELIEFWEB_APP_NAME%22%3A%22your-app-name%22%7D%7D)

![Framework](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)

</div>

<div align="center">

Public Hosted Server: https://reliefweb.caseyjhand.com/mcp

</div>

---

Tools

9 tools for working with ReliefWeb humanitarian data:

| Tool | Description | |:---|:---| | reliefweb_search_reports | Search humanitarian reports with filtering by country, disaster, format, theme, language, source, and date | | reliefweb_get_report | Fetch a single report by numeric ID with full body text and metadata | | reliefweb_search_disasters | Search disasters by type, country, status, GLIDE number, and date range | | reliefweb_get_disaster | Fetch a disaster record with profile, key content links, appeals, and response plans | | reliefweb_get_country | Fetch a country profile by ISO3 code with overview, appeals, and curated links | | reliefweb_list_countries | List all countries tracked by ReliefWeb, filterable to active humanitarian situations | | reliefweb_search_jobs | Search humanitarian job listings by country, organization, career category, and experience level | | reliefweb_search_training | Search training and learning opportunities by format, country, career category, and date | | reliefweb_list_sources | Browse contributing organizations by name and type |

reliefweb_search_reports

Search humanitarian reports on ReliefWeb with rich filtering.

  • Full-text search across title, body, and key metadata fields
  • Filtering by country (ISO3), disaster ID, format, theme, language, and source organization
  • Date range filtering on source publication date
  • Raw filter object for compound conditions not covered by named params
  • Pagination via offset and limit (up to 1,000 per call)
  • Optional include_archived=true for historical research (includes expired and archived content)
  • Returns paginated summaries — use reliefweb_get_report to fetch full body text
  • Rate limit: 1,000 calls/day

---

reliefweb_get_report

Fetch a single ReliefWeb report by its numeric ID with full body text.

  • Full body HTML, all metadata, and file attachment URLs
  • Use after reliefweb_search_reports to retrieve document content (10–100KB each)
  • Returns structured not_found when the ID doesn't exist

---

reliefweb_search_disasters

Search active and historical disasters on ReliefWeb.

  • Filtering by disaster type (Earthquake, Flood, Cyclone, etc.), country, and status
  • GLIDE number lookup for cross-system disaster correlation
  • Date range filtering on disaster creation date
  • Status values: alert, current, past, alert-archive, archive; multiple values comma-separated
  • Optional include_archived=true for historical research
  • Returns IDs for use with reliefweb_get_disaster and as disaster_id filter in reliefweb_search_reports

---

reliefweb_get_disaster

Fetch a disaster record by ReliefWeb numeric ID with full details.

  • Full description, profile overview, affected countries, and GLIDE number
  • Currently-active curated key content links from the ReliefWeb editorial team (the present set, not the full archive)
  • Currently-active appeals and response plans linked to the disaster
  • Currently-active useful external links curated by ReliefWeb editors

---

reliefweb_get_country

Fetch a country profile from ReliefWeb by ISO3 code.

  • Situation overview text curated by OCHA editors
  • Currently-active key content links maintained by ReliefWeb editors (the present curated set, not the full archive)
  • Currently-active humanitarian appeals and response plans
  • Currently-active useful external links for the country
  • Country profiles are the authoritative situation summary for humanitarian responders

---

reliefweb_list_countries

List all countries and territories tracked by ReliefWeb.

  • Optional crisis_only=true to limit to active humanitarian situations (status ongoing)
  • Returns ISO3 codes, status, and canonical URLs — use ISO3 with reliefweb_get_country
  • Pagination up to 1,000 entries per call

---

reliefweb_search_jobs

Search humanitarian job listings on ReliefWeb.

  • Filtering by country, organization short name, career category, theme, and experience level
  • Career category values: Programme and Project Management, Information and Communications Technology, Logistics and Telecommunications, and others
  • Returns current open positions — archived jobs excluded by default
  • Sortable by newest posting (date.created:desc, default) or soonest closing (date.closing:asc)
  • Pagination with closing date and canonical URL per listing

---

reliefweb_search_training

Search humanitarian training and learning opportunities.

  • Covers on-site and online capacity-building events
  • Filtering by country, source, format, career category, and language
  • Date range filtering on training start date (date_start_from / date_start_to)
  • Ordered by soonest start date by default (date.start:asc); override with sort
  • Distinct from report date fields — uses date.start / date.end

---

reliefweb_list_sources

Browse organizations that contribute content to ReliefWeb.

  • Optional filtering by name text or organization type (Government, International Organization, Non-governmental Organization, Academic and Research Institution, Media, Red Cross/Red Crescent Movement, Other)
  • Returns short names, types, organization URLs, and homepage URLs
  • Use shortname with the source filter in reliefweb_search_reports, reliefweb_search_jobs, and reliefweb_search_training

Resources and prompt

| Type | Name | Description | |:---|:---|:---| | Resource | reliefweb://reports/{id} | Full report record by numeric ID — metadata, body text, and file URLs | | Resource | reliefweb://disasters/{id} | Disaster record by numeric ID — type, status, GLIDE, description, and content links | | Resource | reliefweb://countries/{iso3} | Country profile by ISO3 code — overview, situation summary, and active response plans | | Prompt | reliefweb_crisis_briefing | Generate a structured humanitarian briefing for a country or disaster |

Features

Built on @cyanheads/mcp-ts-core:

  • Declarative tool definitions — single file per tool, framework handles registration and validation
  • Unified error handling across all tools
  • Pluggable auth (none, jwt, oauth)
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2/D1
  • Structured logging with optional OpenTelemetry tracing
  • Runs locally (stdio/HTTP) or on Cloudflare Workers from the same codebase

ReliefWeb-specific:

  • Full coverage of six ReliefWeb content types: reports, disasters, countries, jobs, training, sources
  • Compound filter builder supporting nested AND/OR conditions for the ReliefWeb API v2
  • RELIEFWEB_APP_NAME validated at startup (required by the API since November 2025)
  • 1,000 calls/day quota awareness — prominently documented on each tool

Agent-friendly output:

  • Body text excluded from search results by design — agents fetch it explicitly with reliefweb_get_report to control context budget
  • Recovery hints on empty results — echoes applied filters and suggests how to broaden
  • Typed not_found error contracts on get-by-ID tools with actionable recovery text

Getting started

Prerequisites

  • Bun v1.3.2 or higher.
  • A pre-approved ReliefWeb appname — register at ReliefWeb API and set RELIEFWEB_APP_NAME. The API has required pre-approved appnames since November 2025; requests without one are rejected.

Public Hosted Instance

A public instance is available at https://reliefweb.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:

{
  "mcpServers": {
    "reliefweb-mcp-server": {
      "type": "streamable-http",
      "url": "https://reliefweb.caseyjhand.com/mcp"
    }
  }
}

Self-Hosted / Local

Add the following to your MCP client configuration file.

{
  "mcpServers": {
    "reliefweb-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": ["@cyanheads/reliefweb-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info",
        "RELIEFWEB_APP_NAME": "your-app-name"
      }
    }
  }
}

Or with npx (no Bun required):

{
  "mcpServers": {
    "reliefweb-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cyanheads/reliefweb-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info",
        "RELIEFWEB_APP_NAME": "your-app-name"
      }
    }
  }
}

For Streamable HTTP, set the transport and start the server:

MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 RELIEFWEB_APP_NAME=your-app-name bun run start:http
# Server listens at http://localhost:3010/mcp

Installation

  1. Clone the repository:
git clone https://github.com/cyanheads/reliefweb-mcp-server.git
  1. Navigate into the directory:
cd reliefweb-mcp-server
  1. Install dependencies:
bun install

Configuration

All configuration is validated at startup via Zod schemas. Key environment variables:

| Variable | Description | Default | |:---|:---|:---| | RELIEFWEB_APP_NAME | Required. Pre-approved appname for the ReliefWeb API v2. Register at reliefweb.int/help/api. | — | | MCP_TRANSPORT_TYPE | Transport: stdio or http | stdio | | MCP_HTTP_PORT | HTTP server port | 3010 | | MCP_HTTP_ENDPOINT_PATH | HTTP endpoint path where the MCP server is mounted | /mcp | | MCP_PUBLIC_URL | Public origin override for TLS-terminating reverse-proxy deployments | none | | MCP_AUTH_MODE | Authentication: none, jwt, or oauth | none | | MCP_LOG_LEVEL | Log level (debug, info, warning, error, etc.) | info | | MCP_GC_PRESSURE_INTERVAL_MS | Opt-in Bun-only forced-GC pressure loop (ms). Try 60000 if heap growth is observed under sustained HTTP load. | 0 (disabled) | | LOGS_DIR | Directory for log files (Node.js only). | <project-root>/logs | | STORAGE_PROVIDER_TYPE | Storage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1 | in-memory | | OTEL_ENABLED | Enable OpenTelemetry | false |

Running the server

Local development

  • Build and run the production version:
  # One-time build
  bun run rebuild

  # Run the built server
  bun run start:http
  # or
  bun run start:stdio
  • Run checks and tests:
  bun run devcheck  # Lints, formats, type-checks, and more
  bun run test      # Runs the test suite

Project structure

| Directory | Purpose | |:---|:---| | src/mcp-server/tools | Tool definitions (*.tool.ts). Nine tools across reports, disasters, countries, jobs, training, and sources. | | src/mcp-server/resources | Resource definitions. Report, disaster, and country resources. | | src/mcp-server/prompts | Prompt definitions. Crisis briefing prompt. | | src/services/reliefweb | ReliefWeb API service layer — HTTP client, filter builder, and response normalizers for all six content types. | | src/config | Server-specific environment variable parsing and validation with Zod. | | tests/ | Unit and integration tests, mirroring the src/ structure. |

Development guide

See CLAUDE.md for development guidelines and architectural rules. The short version:

  • Handlers throw, framework catches — no try/catch in tool logic
  • Use ctx.log for logging, ctx.state for storage
  • Register new tools and resources in the createApp() arrays

Contributing

Issues and pull requests are welcome. Run checks and tests before submitting:

bun run devcheck
bun run test

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.