countrycode
(optional): Restrict to country (ISO 3166-1 alpha-2 code)
How to use it
countrycode is exposed by the Opencage Geocoding MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the countrycode tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL OPENCAGE GEOCODING MCP LISTINGOther tools in Opencage Geocoding MCP (7)
(optional): Bounding box (minlon,minlat,maxlon,maxlat)
(optional): Language for results (e.g., 'en', 'de', 'fr')
(required): Latitude coordinate (-90 to 90) in decimal format
(optional): Max results (1-100, default 10)
(required): Longitude coordinate (-180 to 180) in decimal format
(optional): Exclude location annotations
(required): The address or place name to geocode