ifrc-go-admin-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ifrc-go-admin-mcp-server Show me recent earthquake-related DREF operations"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IFRC GO Admin API MCP Server
A Model Context Protocol (MCP) server that provides access to the International Federation of Red Cross and Red Crescent Societies (IFRC) GO Admin API for disaster relief emergency fund (DREF) data.
Features
DREF Operations: Access completed and ongoing disaster relief emergency fund operations
Appeals: Query humanitarian funding appeals
Emergencies: Get emergency event and disaster data
Search & Filter: Search by country, disaster type, and other criteria
Caching: Built-in response caching to reduce API load
Pagination: Handle large datasets efficiently
Related MCP server: Dify Management MCP
Prerequisites
Node.js 18.0.0 or higher
npm or yarn package manager
MCP-compatible client (Claude Desktop, etc.)
Installation
1. Install Dependencies
npm install2. Build the Project
npm run build3. Test the Server
npm startUsage
Configure in Claude Desktop
Add to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"ifrc-go-admin": {
"command": "node",
"args": ["/path/to/your/ifrc-go-admin-mcp-server/dist/index.js"]
}
}
}Available Tools
get_completed_drefs: Retrieve completed DREF operations
get_ongoing_drefs: Get currently active DREF operations
get_appeals: Access humanitarian appeals for funding
get_emergencies: Query emergency events and disasters
search_drefs_by_country: Find DREF operations by country ISO code
search_drefs_by_disaster_type: Search by disaster type (flood, earthquake, etc.)
get_dref_statistics: Get summary statistics about DREF operations
Example Queries for AI Assistants
"Show me recent earthquake-related DREF operations"
"What are the ongoing emergency appeals in Bangladesh?"
"Compare funding amounts for cyclone vs flood disasters this year"
"List all completed DREF operations in West Africa"
Development
Scripts
npm run build- Compile TypeScript to JavaScriptnpm run dev- Watch mode for developmentnpm start- Start the production servernpm test- Test server startup
API Exploration
Before implementing, explore the API endpoints:
# Test basic connectivity
curl "https://goadmin.ifrc.org/api/v2/dref/?limit=1"
# Check completed DREFs
curl "https://goadmin.ifrc.org/api/v2/completed_dref/?limit=5"
# Search by country
curl "https://goadmin.ifrc.org/api/v2/dref/?country__iso=BD"Adding New Endpoints
Update Types: Add TypeScript interfaces for new data structures
Extend API Client: Add methods to
IFRCAPIClientclassRegister Tools: Add tool definitions in
ListToolsRequestSchemahandlerImplement Handlers: Add case in
CallToolRequestSchemahandler
Pagination Best Practices
Following IFRC API documentation guidelines:
Default limit is 50 records per page
Maximum limit is 1000 records per page
Stop pagination when returned records < limit
Check for empty array [] to confirm no more data
Use offset-based pagination with limit/offset parameters
Rate Limiting Considerations
The server includes basic caching (5-minute timeout) to be respectful of IFRC's infrastructure. For production use:
Implement exponential backoff for retries
Add request rate limiting
Monitor API usage and respect any documented limits
Consider using webhooks for real-time updates if available
Error Handling
The server includes comprehensive error handling:
HTTP errors from the API
Invalid parameters
Network timeouts
Cache management
Authentication
Currently, the IFRC GO Admin API appears to be publicly accessible. If authentication is required:
Add API key management to the
IFRCAPIClientclassInclude authentication headers in requests
Handle authentication errors appropriately
Data Schema Examples
DREF Operation
{
"id": 12345,
"title": "Bangladesh: Cyclone Mocha",
"country": "Bangladesh",
"disaster_type": "Cyclone",
"amount_requested": 500000,
"amount_funded": 500000,
"disaster_start_date": "2023-05-14",
"status": "completed"
}Emergency Event
{
"id": 67890,
"name": "Morocco Earthquake September 2023",
"countries": ["Morocco"],
"disaster_type": "Earthquake",
"num_affected": 300000,
"disaster_start_date": "2023-09-08"
}Project Structure
ifrc-go-admin-mcp-server/
├── src/
│ └── index.ts # Main MCP server implementation
├── dist/ # Compiled JavaScript output
├── package.json # Project configuration
├── tsconfig.json # TypeScript configuration
└── README.md # This fileContributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Submit a pull request
Humanitarian Use Guidelines
This server provides access to sensitive humanitarian data. Please:
Use responsibly and respect the humanitarian context
Don't overwhelm the IFRC API with excessive requests
Consider data privacy when analyzing beneficiary information
Contribute improvements back to the humanitarian community
Support
For issues related to:
MCP Server: Open an issue in this repository
IFRC GO API: Contact IFRC technical support
Data Questions: Refer to IFRC GO documentation
License
MIT License - See LICENSE file for details.
Acknowledgments
International Federation of Red Cross and Red Crescent Societies
Model Context Protocol development team
Open source humanitarian technology community
Available Tools
7 toolsget_appealsC
Access humanitarian appeals for funding
Inputs: limit, offset.
get_completed_drefsB
Retrieve completed DREF (Disaster Relief Emergency Fund) operations
Inputs: limit, offset.
get_dref_statisticsB
Get summary statistics about DREF operations
Inputs: no named parameters.
get_emergenciesB
Query emergency events and disasters
Inputs: limit, offset.
get_ongoing_drefsB
Get currently active DREF operations
Inputs: limit, offset.
search_drefs_by_countryA
Find DREF operations by country ISO code
Inputs: country_iso (required), limit.
search_drefs_by_disaster_typeA
Search DREF operations by disaster type (flood, earthquake, cyclone, etc.)
Inputs: disaster_type (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource or filter: completed vs ongoing DREFs, appeals, emergencies, country-specific and disaster-type-specific DREF searches, and aggregate statistics. There is no overlap or risk of misselection.
All tools follow a clear verb_noun pattern with 'get_' for direct retrieval and 'search_' for filtered queries, followed by the target object. The naming is predictable and uniform.
Seven tools is a well-scoped set for a read-only IFRC query server, covering core DREF operations, appeals, emergencies, and search/statistics without unnecessary bloat.
The surface covers listing, searching, and statistics for DREF operations, plus appeals and emergencies. Minor gaps exist (e.g., no get single DREF by ID, no appeals search), but the main read workflows are complete.
Maintenance
Related MCP Connectors
Manage API keys, identities, permissions, rate-limit overrides and verification analytics.
Manage Chili Piper scheduling links, meetings, routing rules, and teams. Admin only. Experimental.
Public tools to understand Dynamik, discover datasets, and connect account-scoped capabilities.
Read survey responses and manage contacts, webhooks, teams and organisation users.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables interaction with the Admina API to manage and query organizational SaaS resources including devices, user identities, service integrations, and account information across multiple services.31326 npm6Apache 2.0
- FlicenseNot gradedqualityCmaintenanceAllows programmatic management of a Dify instance, including listing and creating datasets, managing applications, and tool providers.-
- FlicenseNot gradedqualityDmaintenanceEnables programmatic management of a Dify instance, including datasets, apps, and tools.-
- AlicenseNot gradedqualityCmaintenanceEnables querying global disaster alerts from GDACS including earthquakes, tropical cyclones, floods, volcanoes, droughts, and wildfires. Supports listing events, getting details, and retrieving GeoJSON or RSS feeds.132 npmMIT