PH Civic Data MCP server
io.github.xmpuspus/ph-civic-data-mcp·v0.8.0·5 starsPH civic data as MCP tools: the full PSA OpenSTAT catalog, hazards, procurement. 41 tools.
5 stars47 downloads/wk
Reviews
Write oneNobody has reviewed PH Civic Data yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
PH Civic Data tools (41, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
assess_area_riskMulti-hazard risk assessment combining PHIVOLCS + PAGASA.
browse_election_resultsWalk the COMELEC 2025 election results tree: region down to precinct.
browse_psa_catalogList one level of the PSA OpenSTAT statistical catalog.
compare_areasCompare civic indicators for two to five Philippine places, side by side.
describe_psa_datasetRead the dimensions and valid value codes of one PSA OpenSTAT dataset.
flag_infra_anomaliesFlag PhilGEPS infrastructure projects that warrant further review by cross-referencing PHIVOLCS earthquakes and PAGASA typhoon footprints.
get_active_typhoonsGet active tropical cyclones in/near the Philippine Area of Responsibility (PAR).
get_air_qualityReal-time air quality for a Philippine city via Open-Meteo (no API key).
get_area_profileOne-call correlated civic profile for a Philippine location.
get_data_freshnessServer health and data-source catalog probe.
get_earthquake_bulletinGet the full bulletin for a PHIVOLCS earthquake event.
get_election_returnOne precinct's official vote tally from the COMELEC 2025 archive.
get_flood_forecastDaily river discharge forecast for a Philippine place, from Open-Meteo's GloFAS model.
get_health_indicatorsNational health indicators from PSA OpenSTAT (subject 1D).
get_historical_typhoons_phHistorical tropical cyclone tracks that passed through the Philippine AOR.
get_inflation_statsHeadline consumer-price inflation (year-on-year, all items) from PSA.
get_infra_projectReturn the full record for one infrastructure project by project_id.
get_labor_statsKey labor-force indicators from the PSA Labor Force Survey.
get_latest_earthquakesGet the latest earthquake events from PHIVOLCS.
get_location_hierarchyReturn the full chain region -> province -> city/municipality -> barangay for one PSGC code.
get_official_gazette_feedLatest issuances from the Official Gazette of the Republic of the Philippines.
get_population_statsPopulation from the PSA Census of Population, discovered live on OpenSTAT.
get_poverty_statsPoverty incidence from the PSA Full Year Poverty Statistics table.
get_procurement_summaryAggregate procurement statistics over the latest notices cached from PhilGEPS.
get_solar_and_climateDaily solar irradiance and climate variables from NASA POWER for any coordinate.
get_usgs_earthquakes_phPhilippine-region earthquakes from USGS, cross-reference to PHIVOLCS.
get_vegetation_indexNASA MODIS MOD13Q1 NDVI and EVI vegetation index at any coordinate.
get_volcano_statusGet current alert level for Philippine volcanoes.
get_weather_alertsGet active PAGASA weather alerts and advisories.
get_weather_forecastGet the weather forecast for a Philippine location.
get_world_bank_indicatorWorld Bank macroeconomic and social indicator for the Philippines.
list_admin_unitsBrowse children of a PSGC node, or top-level regions when parent_code is None.
list_pagasa_advisory_filesList PAGASA public PDF files from a pubfiles directory listing, newest first.
query_psa_datasetwrite actionRun one bounded query against a PSA OpenSTAT dataset.
resolve_ph_locationFuzzy-resolve a Philippine place name to its canonical PSGC record.
search_hdx_datasetsSearch HDX for Philippine humanitarian datasets by keyword.
search_infra_projectsSearch Philippine government infrastructure projects.
search_procurementSearch PH government procurement from PhilGEPS open data.
search_psa_catalogFind a PSA OpenSTAT dataset by keyword, without browsing level by level.
search_psic_codesFind a PSIC code by description keyword or by code prefix.
summarize_infra_spendingAggregate infrastructure procurement statistics over the latest PhilGEPS window.
Public scan report
scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it
- Code scan42 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How PH Civic Data compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,243 servers
- Tools
- 41
- the typical server has 7
- Tools that change things
- 2%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 5
- more than 83% of 28,706 servers
- Downloads a week
- 47
- more than 37% of 12,306 servers with a package
What its tools let an agent do: 40 read · 1 change
Install PH Civic Data in Claude Code, Cursor or VS Code
claude mcp add ph-civic-data-mcp -- uvx ph-civic-data-mcp
What the publisher says
From the PH Civic Data repository's README, as published. We do not edit it. Read it on GitHub
ph-civic-data-mcp
<!-- mcp-name: io.github.xmpuspus/ph-civic-data-mcp -->
Philippine civic data as agent-callable tools. The full PSA OpenSTAT
statistical catalog, PSGC location codes, infra-spending accountability,
earthquakes, weather, typhoons, procurement, poverty, solar radiation, air
quality, satellite vegetation, and macro indicators. Population figures
reach barangay level. 41 tools, no API keys.
Philippine civic-data portals publish open data in different shapes: scraped HTML tables, PXWeb JSON, and undocumented APIs. Nothing ties them together for an agent to use. This server does, over stdio, with zero hosting cost and no API key needed. It answers questions such as how many people live in a barangay, whether a place sits near an active fault or volcano, what a city spent on flood control, and how one place compares against another.
All data comes from public records. Heuristic indicators are statistical only. A specific allegation needs independent investigation and a second source.
Install
Every client below runs the same package, uvx ph-civic-data-mcp, over stdio.
Claude Desktop. Add this to claudedesktopconfig.json, which sits at ~/Library/Application Support/Claude/claudedesktopconfig.json on macOS:
{
"mcpServers": {
"ph-civic-data": {
"command": "uvx",
"args": ["ph-civic-data-mcp"]
}
}
}Claude Code.
claude mcp add ph-civic-data -- uvx ph-civic-data-mcpCodex. Confirmed live on 2026-09-03.
codex mcp add ph-civic-data -- uvx ph-civic-data-mcpCursor. Add this to mcp.json:
{
"mcpServers": {
"ph-civic-data": {
"command": "uvx",
"args": ["ph-civic-data-mcp"]
}
}
}VS Code. Add this to .vscode/mcp.json:
{
"servers": {
"ph-civic-data": {
"type": "stdio",
"command": "uvx",
"args": ["ph-civic-data-mcp"]
}
}
}Docker. Build once, then run with -i for stdio:
docker build -t ph-civic-data-mcp .The image runs as a non-root user and ships a healthcheck.
That recording is vhs docs/demosetup.tape. It spawns Claude Code with --mcp-config pointed at this server, and Claude fans out to getweatherforecast and getpopulation_stats, then correlates them. The temperatures and the population are what the live sources returned while it recorded. The population turn answers from the 2024 Census of Population (NCR: 14,001,751 as of 1 July 2024).
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
PH Civic Data: common questions
- Is PH Civic Data MCP server safe?
- Mostly: it is graded B (83/100). Read the PH Civic Data safety report
- How do I install PH Civic Data?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does PH Civic Data need an API key?
- Yes. The registry entry asks for
PAGASA_API_TOKEN. - Is PH Civic Data maintained?
- The last commit was 21 days ago (2026-10-15). The latest release is v0.8.0.
- How does PH Civic Data compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,243 servers); tools 41 (the typical server has 7); tools that change things 2% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.