kkm-data-mcp
Reads KKM open-data CSV files hosted in GitHub repositories, covering blood donations, organ pledges, health facilities, and bed/ICU utilisation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
kkm-data-mcp
An MCP server for open data from the Ministry of Health Malaysia (Kementerian Kesihatan Malaysia, KKM). It lets AI assistants such as Claude answer questions like:
"How many people donated blood in Selangor last month, and how many were first-time donors?"
"Which government clinics are closest to Seksyen 7, Shah Alam?"
"How have organ donation pledges in Penang changed since 2015?"
"What was ICU utilisation at Hospital Sultanah Aminah in KKM's latest snapshot?"
It reads the CSV files KKM publishes on GitHub, so there is no API key and nothing to sign up for.
Not affiliated with or endorsed by KKM.
Tools
Tool | What it returns |
| Donations per day, month or year for Malaysia, a state or a blood bank hospital, by blood group, centre or mobile drive, donation type, donor group and new or returning donors. Daily data since 2006. |
| First-time donors by age group. |
| Organ donation pledges per day, month or year, nationally or by state. Daily data since 2009. |
| Search about 5,160 public health facilities (hospitals, klinik kesihatan, dental clinics, health offices, labs) by name, address, postcode, state, district or category. |
| Facilities nearest to a latitude and longitude, with straight-line distance. |
| One facility by its KKM facility code. |
| Number of facilities by category and state. |
| Bed, ICU and ventilator counts and utilisation by state and hospital. |
| When each dataset was last updated. |
State names are flexible: "KL", "Kuala Lumpur" and "W.P. Kuala Lumpur" all work, as do "Penang" and "Pulau Pinang". Dates can be 2025, 2025-06 or 2025-06-15.
Related MCP server: Swahili Health MCP
Install
You need uv.
Claude Desktop
Add this to claude_desktop_config.json and restart Claude:
{
"mcpServers": {
"kkm-data": {
"command": "uvx",
"args": ["--from", "git+https://github.com/azuriru3/kkm-data-mcp", "kkm-data-mcp"]
}
}
}Claude Code
claude mcp add kkm-data -- uvx --from git+https://github.com/azuriru3/kkm-data-mcp kkm-data-mcpOther MCP clients
Run uvx --from git+https://github.com/azuriru3/kkm-data-mcp kkm-data-mcp as a stdio server.
Data
Dataset | Source | Updated |
Blood donations and new donors | Daily, a day or two behind | |
Organ donation pledges | Monthly | |
Public health facilities | Registry as at 31 December 2025 | |
Bed, ICU and ventilator utilisation | Snapshot, last updated September 2024 |
Things to know:
The facility registry covers public facilities only (KKM, plus a few under the higher education ministry and the armed forces). Private clinics and hospitals are not in it.
Bed utilisation is an old snapshot, not live occupancy. The tool returns its date so the assistant can say so.
Blood donation data by hospital covers the 22 hospitals that run blood banks, not every hospital.
Data is downloaded on first use and kept in memory for 6 hours. The blood donation files are about 30 MB in total, so the first question can take a few seconds.
The same data is shown on KKM's own dashboards at data.moh.gov.my.
Development
git clone https://github.com/azuriru3/kkm-data-mcp
cd kkm-data-mcp
pip install -e . pytest
pytest # offline tests
pytest -m live # also downloads real dataLicence
Code: MIT. The data belongs to the Ministry of Health Malaysia, which publishes it openly on GitHub.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only discovery for Malaysian public datasets with freshness, licence, and provenance.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Read-only NPRA pharmaceutical records and pipeline health for Malaysia (5 tools).
data.gov.my / OpenDOSM (Department of Statistics Malaysia) — official Malaysian open-data API.…
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to query NHS public health datasets, including prescribing data, dataset exploration, and organisation lookup via the NHSBSA Open Data Portal.9MIT
- AlicenseAqualityBmaintenanceEnables AI agents to query Kenya health facilities, maternal health indicators, immunization coverage, and disease surveillance data via the DHIS2 public API.366 PyPIMIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search, profile and compare any US hospital using live CMS Care Compare data — overall performance stars, patient survey results, ER wait times, and mortality, safety and readmission measures — with no API key required.3MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to query official Israeli Ministry of Health open-data registries in plain language for doctor and pharmacist licence verification, nutrition facts and food comparisons, health organizations, and medical-cannabis pharmacies or physicians, returning sources.750 PyPIMIT