PSGC MCP Server
@GodModeArch
关于 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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"psgc": {
"url": "https://psgc.godmode.ph/mcp"
}
}
}工具
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
概览
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).
其他 分类下的更多 MCP 服务器
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
评论