PSGC MCP Server
@GodModeArch
About PSGC MCP Server
A Model Context Protocol server that provides Philippine Standard Geographic Code (PSGC) data to LLMs. Built on Cloudflare Workers with KV storage.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"psgc": {
"url": "https://psgc.godmode.ph/mcp"
}
}
}Tools
7Fetch a geographic entity by its 10-digit PSGC code
Search entities by name with optional level filter and strict mode
Get the full administrative chain (barangay to region)
List direct children of a parent entity
List all entities at a given geographic level
Look up multiple entities in one call (max 50 codes)
Query entities by population range with sorting and filtering
Overview
What is PSGC MCP Server?
A Model Context Protocol (MCP) server that provides Philippine Standard Geographic Code (PSGC) data to LLMs. Built on Cloudflare Workers with KV storage, it is public, read-only, and requires no authentication. Data is sourced from the Philippine Statistics Authority (PSA) quarterly publication.
How to use PSGC MCP Server?
Add the server URL https://psgc.godmode.ph/mcp to your MCP client configuration. No authentication or API key is needed. Use the available tools (e.g., lookup, search, get_hierarchy) via standard MCP calls. A quick test with curl is provided in the README.
Key features of PSGC MCP Server
- 8 tools: lookup, search, hierarchy, children, by type, batch, population query
- Data includes regions, provinces, cities, municipalities, and barangays
- Public, read-only, no authentication required
- Built on Cloudflare Workers for low-latency global access
- Supports strict search and batch operations (up to 50 codes)
- All responses wrapped in metadata envelope with dataset version
Use cases of PSGC MCP Server
- Look up any geographic entity by its 10-digit PSGC code
- Search for places by name with optional level filter and strict mode
- Get the full administrative chain from barangay to region
- Query entities by population range (e.g., largest cities in a region)
- Batch lookup of multiple PSGC codes in a single request
FAQ from PSGC MCP Server
How often is the data updated?
Data is sourced from the PSAβs quarterly PSGC publication and cached in Cloudflare KV. If data appears stale, users can open an issue to request an unscheduled refresh.
Do I need authentication or an API key?
No. The server is public, read-only, and requires no authentication. Simply point your MCP client to the URL.
What geographic levels are available?
Eight levels: Reg (18), Prov (82), Dist (4), City (149), Mun (1,493), SubMun (16), SGU (~8), and Bgy (~42,000). Special cases include NCR districts and BARMM Special Geographic Units.
How are response data structured?
All data responses are wrapped in { _meta, data } where _meta includes dataset version, date, source, and last synced timestamp. Error responses are returned as plain text without wrapping.
What is the PSGC code format?
A 10-digit code with leading zeros significant. Segments encode region, province, city/municipality, and barangay. The README documents known edge cases (e.g., NCR districts, Cotabato City, BARMM SGUs).
More Other MCP servers

Peekaboo MCP β lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
FastMCP v2 π
jlowinπ The fast, Pythonic way to build MCP servers and clients.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation β’ (~400 MCP servers for AI agents) β’ AI Automation / AI Agent with MCPs β’ AI Workflows & AI Agents β’ MCPs for AI Agents
π Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Comments