Skip to main content

Overview

The GDELT MCP server exposes three CAMEO code reference resources that help you build effective queries with the correct filter values. Access them via resource URIs or through the read_resource tool.

Available Resources

Country Codes (gdelt://codes/cameo-country)

ISO-3 country codes for the actor_country parameter in get_media_events. These filter by WHO is involved. Common codes: USA, GBR, CHN, RUS, DEU, FRA, IRN, ISR, IND, JPN, BRA, CAN, AUS, KOR, MEX, TUR, SAU, UKR, POL
Don’t confuse with FIPS location codes. ISO-3 (3-letter) = WHO (actors). FIPS (2-letter) = WHERE (locations).
FIPS location codes for the location parameter: US, UK, CH, RS, GM, FR, IR, IS, IN, JA, BR, CA, AS, KS, MX, TU, SA, UP, PL

Event Codes (gdelt://codes/cameo-event)

CAMEO event root codes (01–20) for the event_type parameter. These filter by WHAT happened.
CodeDescription
01Make public statement
02Appeal
03Express intent to cooperate
04Consult
05Engage in diplomatic cooperation
06Engage in material cooperation
07Provide aid
08Yield
09Investigate
10Demand
11Disapprove
12Reject
13Threaten
14Protest
15Exhibit force posture
16Reduce relations
17Coerce
18Assault
19Fight
20Use unconventional mass violence

Goldstein Scale (gdelt://codes/goldstein-scale)

Event intensity reference from -10 (most conflictual) to +10 (most cooperative).
RangeInterpretation
-10 to -7Violent conflict (fight, assault, mass violence)
-6 to -4Non-violent conflict (threaten, coerce, sanction)
-3 to -1Mild conflict (disapprove, reject, protest)
0Neutral (investigate, make statement)
+1 to +2Mild cooperation (consult, appeal)
+3 to +6Material cooperation (aid, economic cooperation)
+7 to +10Strong cooperation (major agreements, alliances)

Accessing Resources

# Read a resource directly
country_codes = await client.read_resource("gdelt://codes/cameo-country")
print(country_codes.text)