
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@cyanheads/reliefweb-mcp-server
Advanced tools
Search ReliefWeb humanitarian reports, disasters, jobs, training, and country profiles via MCP. STDIO or Streamable HTTP.
Search ReliefWeb humanitarian reports, disasters, jobs, training, and country profiles via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://reliefweb.caseyjhand.com/mcp
11 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_get_job | Fetch a job posting by numeric ID with the full vacancy description and application instructions |
reliefweb_search_training | Search training and learning opportunities by format, country, career category, and date — upcoming starts by default |
reliefweb_get_training | Fetch a training listing by numeric ID with the full description, registration instructions, and cost detail |
reliefweb_list_sources | Browse contributing organizations by name and type |
The five reliefweb_get_* tools never truncate. Under a fixed byte budget they return the record whole; over it they return a complete section outline — every section, its real serialized size, and how to reach it — and a sections: [...] re-call returns exactly the named sections plus identity metadata. The re-call is self-contained: the record is re-fetched from its ID and sliced, so nothing has to be replayed. Both modes carry the same information in structuredContent and content[].
The resources always return the whole record — a resource read has no way to name sections, so reach for the tool when a record is too large.
A country or disaster profile returns only what ReliefWeb currently curates in each of its three link lists. Each list also has an archive, thousands of entries deep for a long-running crisis — Syria carries 2,328 archived key content links and 120 archived appeals and response plans. reliefweb_get_country and reliefweb_get_disaster page that archive on request:
{ "iso3": "SYR", "archive": { "list": "keyContent", "offset": 0, "limit": 25 } }
The response replaces the profile with one page: the list it came from, the true total, how many entries it holds, its offset, the entries, and the next offset while more remain — absent once the page reaches the end. Lists are keyContent, appealsResponsePlans, and usefulLinks, named for the fields the active half lands on.
sections and archive are alternative modes and a call carrying both is rejected: sections slices the record, archive replaces it with a page. A record over the response budget still answers an archive call with the page — a page is bounded by limit and carries no record prose, so it never outlines.
reliefweb_search_reportsSearch humanitarian reports on ReliefWeb with rich filtering.
2024-01-15 is accepted alongside full ISO 8601News and Press Release, Situation Report, Map, Infographic, Analysis, Other, Assessment, Manual and Guideline, Appeal, UN Document, Evaluation and Lessons Learned — matched ignoring case, spacing, and punctuation; anything else is rejected with the listinclude_archived has no effect here — reports have no archived class, so all of them are in scope by defaultreliefweb_get_report to fetch full body textreliefweb_get_reportFetch a single ReliefWeb report by its numeric ID with full body text.
reliefweb_search_reports to retrieve document content (10–100KB each)sections: ["body"] pulls the body back on its ownnot_found when the ID doesn't existreliefweb_search_disastersSearch active and historical disasters on ReliefWeb.
2024-01-15 is accepted alongside full ISO 8601alert, ongoing, past, alert-archive; multiple values comma-separated, matched ignoring case, spacing, and punctuationinclude_archived=true to reach alert-archive entries, which the default preset hidesreliefweb_get_disaster and as disaster_id filter in reliefweb_search_reportsreliefweb_get_disasterFetch a disaster record by ReliefWeb numeric ID with full details.
sections: ["description"] or sections: ["profileOverview"] pulls one narrative at a timearchive: { list: "keyContent" } pages the archived entries each curated list leaves outreliefweb_get_countryFetch a country profile from ReliefWeb by ISO3 code.
archive: { list: "keyContent" } pages the archived entries each curated list leaves out — 2,328 of them for Syriasections behavior as the other detail tools, though an active-only profile is small enough that it rarely reaches the budgetreliefweb_list_countriesList all countries and territories tracked by ReliefWeb.
crisis_only=true to limit to active humanitarian situations (status ongoing)reliefweb_get_countryreliefweb_search_jobsSearch humanitarian job listings on ReliefWeb.
include_archived=true to search expired postings too; the archive dwarfs the open set, so use it for labour-market history rather than a hiring snapshotdate.created:desc, default) or soonest closing (date.closing:asc)reliefweb_get_jobreliefweb_get_jobFetch a job posting by ReliefWeb numeric ID with everything needed to evaluate and apply.
sections: ["howToApply"] pulls the instructions without the whole descriptionnot_found pointing back at reliefweb_search_jobsreliefweb_search_trainingSearch humanitarian training and learning opportunities.
date_start_from / date_start_to) — a bare 2024-06-01 is accepted alongside full ISO 8601include_archived=true to search concluded listings too; it also drops the start-from-now default bound, so an otherwise unbounded search reaches the whole recorddate.start:asc); override with sortdate.start / date.endreliefweb_get_trainingreliefweb_get_trainingFetch a training listing by ReliefWeb numeric ID with everything needed to evaluate and register.
sections: ["cost", "feeInformation", "howToRegister"] pulls just the practicalitiesnot_found pointing back at reliefweb_search_trainingreliefweb_list_sourcesBrowse organizations that contribute content to ReliefWeb.
shortname with the source filter in reliefweb_search_reports, reliefweb_search_jobs, and reliefweb_search_training| Type | Name | Description |
|---|---|---|
| Resource | reliefweb://reports/{id} | Full report record by numeric ID — metadata, body text, and file URLs. The ID segment must be digits only |
| Resource | reliefweb://disasters/{id} | Disaster record by numeric ID — type, status, GLIDE, description, and content links. The ID segment must be digits only |
| 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 |
Built on @cyanheads/mcp-ts-core:
none, jwt, oauth)in-memory, filesystem, Supabase, Cloudflare KV/R2/D1ReliefWeb-specific:
RELIEFWEB_APP_NAME validated at startup (required by the API since November 2025)Agent-friendly output:
reliefweb_get_* tool to control context budgetnot_found error contracts on get-by-ID tools with actionable recovery textRELIEFWEB_APP_NAME. The API has required pre-approved appnames since November 2025; requests without one are rejected.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"
}
}
}
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
git clone https://github.com/cyanheads/reliefweb-mcp-server.git
cd reliefweb-mcp-server
bun install
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 |
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
| Directory | Purpose |
|---|---|
src/mcp-server/tools | Tool definitions (*.tool.ts). Eleven tools across reports, disasters, countries, jobs, training, and sources, plus the shared pagination, section-outline, and profile-archive helpers. |
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. |
See CLAUDE.md for development guidelines and architectural rules. The short version:
try/catch in tool logicctx.log for logging, ctx.state for storagecreateApp() arraysIssues and pull requests are welcome. Run checks and tests before submitting:
bun run devcheck
bun run test
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
FAQs
Search ReliefWeb humanitarian reports, disasters, jobs, training, and country profiles via MCP. STDIO or Streamable HTTP.
We found that @cyanheads/reliefweb-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.