MCP.Market

PH Civic Data MCP server

by xmpuspus·io.github.xmpuspus/ph-civic-data-mcp·v0.8.0·5 stars

PH civic data as MCP tools: the full PSA OpenSTAT catalog, hazards, procurement. 41 tools.

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

full report

Adoption
Growing

5 stars47 downloads/wk

Reviews

Write one

Nobody 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 posts

Read from the package source without running it. The installed server may list more.

  • assess_area_risk

    Multi-hazard risk assessment combining PHIVOLCS + PAGASA.

  • browse_election_results

    Walk the COMELEC 2025 election results tree: region down to precinct.

  • browse_psa_catalog

    List one level of the PSA OpenSTAT statistical catalog.

  • compare_areas

    Compare civic indicators for two to five Philippine places, side by side.

  • describe_psa_dataset

    Read the dimensions and valid value codes of one PSA OpenSTAT dataset.

  • flag_infra_anomalies

    Flag PhilGEPS infrastructure projects that warrant further review by cross-referencing PHIVOLCS earthquakes and PAGASA typhoon footprints.

  • get_active_typhoons

    Get active tropical cyclones in/near the Philippine Area of Responsibility (PAR).

  • get_air_quality

    Real-time air quality for a Philippine city via Open-Meteo (no API key).

  • get_area_profile

    One-call correlated civic profile for a Philippine location.

  • get_data_freshness

    Server health and data-source catalog probe.

  • get_earthquake_bulletin

    Get the full bulletin for a PHIVOLCS earthquake event.

  • get_election_return

    One precinct's official vote tally from the COMELEC 2025 archive.

  • get_flood_forecast

    Daily river discharge forecast for a Philippine place, from Open-Meteo's GloFAS model.

  • get_health_indicators

    National health indicators from PSA OpenSTAT (subject 1D).

  • get_historical_typhoons_ph

    Historical tropical cyclone tracks that passed through the Philippine AOR.

  • get_inflation_stats

    Headline consumer-price inflation (year-on-year, all items) from PSA.

  • get_infra_project

    Return the full record for one infrastructure project by project_id.

  • get_labor_stats

    Key labor-force indicators from the PSA Labor Force Survey.

  • get_latest_earthquakes

    Get the latest earthquake events from PHIVOLCS.

  • get_location_hierarchy

    Return the full chain region -> province -> city/municipality -> barangay for one PSGC code.

  • get_official_gazette_feed

    Latest issuances from the Official Gazette of the Republic of the Philippines.

  • get_population_stats

    Population from the PSA Census of Population, discovered live on OpenSTAT.

  • get_poverty_stats

    Poverty incidence from the PSA Full Year Poverty Statistics table.

  • get_procurement_summary

    Aggregate procurement statistics over the latest notices cached from PhilGEPS.

  • get_solar_and_climate

    Daily solar irradiance and climate variables from NASA POWER for any coordinate.

  • get_usgs_earthquakes_ph

    Philippine-region earthquakes from USGS, cross-reference to PHIVOLCS.

  • get_vegetation_index

    NASA MODIS MOD13Q1 NDVI and EVI vegetation index at any coordinate.

  • get_volcano_status

    Get current alert level for Philippine volcanoes.

  • get_weather_alerts

    Get active PAGASA weather alerts and advisories.

  • get_weather_forecast

    Get the weather forecast for a Philippine location.

  • get_world_bank_indicator

    World Bank macroeconomic and social indicator for the Philippines.

  • list_admin_units

    Browse children of a PSGC node, or top-level regions when parent_code is None.

  • list_pagasa_advisory_files

    List PAGASA public PDF files from a pubfiles directory listing, newest first.

  • query_psa_datasetwrite action

    Run one bounded query against a PSA OpenSTAT dataset.

  • resolve_ph_location

    Fuzzy-resolve a Philippine place name to its canonical PSGC record.

  • search_hdx_datasets

    Search HDX for Philippine humanitarian datasets by keyword.

  • search_infra_projects

    Search Philippine government infrastructure projects.

  • search_procurement

    Search PH government procurement from PhilGEPS open data.

  • search_psa_catalog

    Find a PSA OpenSTAT dataset by keyword, without browsing level by level.

  • search_psic_codes

    Find a PSIC code by description keyword or by code prefix.

  • summarize_infra_spending

    Aggregate 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

no findings
  • 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
Overall 83/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

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
Add to Cursor

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-mcp

Codex. Confirmed live on 2026-09-03.

codex mcp add ph-civic-data -- uvx ph-civic-data-mcp

Cursor. 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.