psgc-mcp
Server Details
MCP server for the Philippine Standard Geographic Code (PSGC) API. Gives AI agents structured access to the full PH geographic hierarchy - regions, provinces, cities, municipalities, and barangays.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
Each tool targets a clearly distinct operation: single lookup vs batch_lookup (one code vs many), list_by_type (all of a level) vs list_children (children of a parent), plus hierarchy, search, and population queries. The single/multiple and by-level/by-parent distinctions are spelled out in the descriptions, so an agent can reliably choose.
Most names follow a verb_noun pattern (batch_lookup, get_hierarchy, list_by_type, list_children, query_by_population). 'lookup' and 'search' are bare verbs, which are conventional for those operations but break the otherwise uniform pattern slightly.
Seven tools is well-scoped for a geographic reference-data server, covering the main access patterns without redundancy or bloat.
As a read-only reference dataset, the surface is comprehensive: single and batch code lookup, name search, level listing, parent-child traversal, full hierarchy, and population queries. Barangay volume is handled by delegating to search and list_children, leaving no dead ends.
Available Tools
7 toolsbatch_lookupAInspect
Look up multiple PSGC entities in one call. Pass an array of 10-digit codes (max 50). Returns results in the same order as input, with null for codes not found.
Inputs: codes (required).
get_hierarchyAInspect
Get the full administrative hierarchy for a PSGC entity. Returns the chain from the entity up through its parent city/municipality, province, and region.
Inputs: code (required).
list_by_typeAInspect
List all PSGC entities of a given geographic level. Barangay (Bgy) is excluded because there are 42,000+ barangays. To find barangays, use 'search' with a name query or 'list_children' on a city/municipality. Paginated (default limit: 50).
Inputs: level (required), limit, offset.
list_childrenAInspect
List the direct children of a PSGC entity. For a region, returns provinces/districts. For a province, returns cities/municipalities. For a city/municipality, returns barangays. Optionally filter by level. Paginated (default limit: 50).
Inputs: code (required), level, limit, offset.
lookupAInspect
Look up a Philippine geographic entity by its 10-digit PSGC code. Returns the full entity record including name, level, parent, population, and classification data.
Inputs: code (required).
query_by_populationAInspect
Query PSGC entities by population range. Returns entities sorted by population. Useful for finding the largest/smallest cities, municipalities, or provinces. Barangay queries require a parent_code to narrow scope.
Inputs: level (required), sort, limit, offset, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Servers
- AlicenseAqualityBmaintenanceRevenue intelligence for complex B2B growth. Your agent builds the assets technical founders sell with, and prepares them for real buyer conversations.34398 npm2MIT
- AlicenseCqualityCmaintenanceCompetitor Monitor AI - MCP server providing AI-powered tools and automation by MEOK AI Labs118 npm39 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceSearches and analyzes competitor ads and content across Meta, Google, Instagram, TikTok, and YouTube with AI-powered creative analysis and cross-platform brand discovery.1MIT

industrylens-mcpofficial
AlicenseNot gradedqualityCmaintenanceBrowse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.