Philippine Geocoding Service: Querying PSGC Administrative Divisions in an Agent

This article introduces the SkillHub enterprise Skill "Philippine Geocoding Service" (@org-rn88lg3j/philippine-geocode). This Skill accesses the Philippine Standard Geographical Code (PSGC) through the XiaoBenYang (XBY) MCP gateway, exposing hierarchical queries across island groups, regions, provinces, cities, and barangays, as well as name search, code validation, and hierarchy tracing, via scripts.tools. Installation requires following the guides on skillhub.cn or using CLI/ZIP methods; runtime operation requires configuring the XBY_APIKEY. The article provides key configuration instructions, typical Python invocation examples, and skills directory specifications for agents such as Cursor, along with considerations regarding API keys, timeouts, and data currency.

Read More