ACLED

liveDefenseGovernment

Armed Conflict Location & Event Data — political violence, protests, strategic developments. Requires API key + registered email.

2tools
0msauth
free tier50 calls/day
🔑Authentication

BYO only. ACLED requires manual API-access activation on each registered account (email [email protected] after registering). Once activated, supply myACLED email + password via query params; the pack exchanges them for a 24h access token cached in memory.

Config with credentials
{
  "mcpServers": {
    "pipeworx-acled": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://gateway.pipeworx.io/acled/mcp?_email=you%40example.com&_password=your_password"
      ]
    }
  }
}

Tools

search_events

Filter ACLED events by country, region, event type, actor, ISO code, date range, fatalities.

Parameters
NameTypeDescription
countryoptstringCountry name(s), pipe-separated for OR
regionoptstringACLED region
event_typeoptstringBattles | Protests | Riots | etc.
sub_event_typeoptstringACLED sub-event type
actoroptstringMatch actor1 (substring)
isooptnumberISO 3166-1 numeric code
event_date_fromoptstringYYYY-MM-DD
event_date_tooptstringYYYY-MM-DD
yearoptnumberCalendar year
fatalities_minoptnumberMinimum fatalities
limitoptnumber1-5000 (default 100)
Try it
event_counts_by_country

Aggregate event and fatality counts by country over a date range.

Parameters
NameTypeDescription
event_date_fromoptstringYYYY-MM-DD
event_date_tooptstringYYYY-MM-DD
regionoptstringOptional region
event_typeoptstringOptional event-type
limitoptnumberCap underlying events (default 5000)
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/acled/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/acled/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_events","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_events", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("armed conflict location & event data — political violence, protests, strategic developments");

Related packs

Other Pipeworx packs in the same categories (Defense, Government):