dhis2-mcp
dhis2-mcp
Ein schreibgeschützter MCP-Server für DHIS2-Gesundheitsdaten. Er läuft über stdio.
Der Server ist für kleine lokale Modelle gedacht. Jedes Tool gibt kompaktes JSON zurück, nicht die rohe DHIS2-Antwort. Ein kleines Kontextfenster ist ein Budget – die Tools verbrauchen so wenig davon wie möglich.
Tools
Tool | Was es tut |
| Sucht DHIS2-Indikatoren nach Namen. Gibt id, name und description zurück. |
| Ruft aggregierte Werte für einen Indikator ab, aufgeteilt nach Zeitraum, für eine Organisationseinheit. |
Führen Sie zuerst search_indicators aus, um eine Indikator-ID zu erhalten. Übergeben Sie die ID anschließend an query_analytics.
Related MCP server: WHO MCP Server
Anforderungen
Node.js 20 oder später.
Eine DHIS2-Instanz. Standardmäßig wird die öffentliche Play-Demo verwendet, sodass Sie ohne Einrichtung starten können.
Installation und Build
git clone https://github.com/brianmituka/dhis2-mcp.git
cd dhis2-mcp
npm install
npm run buildKonfiguration
Legen Sie diese Umgebungsvariablen fest. Alle drei sind optional.
Variable | Default | Bedeutung |
|
| Basis-URL der DHIS2-Instanz |
|
| Basic-Auth-Benutzername |
|
| Basic-Auth-Passwort |
Die Play-Demo wird jede Nacht zurückgesetzt. Verwenden Sie den Host play.im.dhis2.org, nicht play.dhis2.org – der alte Host leitet auf eine HTML-Seite weiter.
Verwendung mit LM Studio
LM Studio 0.3.17 oder neuer unterstützt MCP. Öffnen Sie den Tab Program und bearbeiten Sie dann mcp.json. Fügen Sie diesen Eintrag hinzu:
{
"mcpServers": {
"dhis2": {
"command": "node",
"args": ["/absolute/path/to/dhis2-mcp/dist/index.js"],
"env": {
"DHIS2_BASE_URL": "https://play.im.dhis2.org/stable-2-43-1",
"DHIS2_USERNAME": "admin",
"DHIS2_PASSWORD": "district"
}
}
}
}Ersetzen Sie den Pfad mit dem Speicherort Ihres Klons. Starten Sie den Modell-Chat neu, nachdem Sie die Datei bearbeitet haben.
Verwendung mit anderen MCP-Clients
Jeder stdio-MCP-Client funktioniert. Für Claude Code:
claude mcp add dhis2 -- node /absolute/path/to/dhis2-mcp/dist/index.jsTest mit MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsDer Inspector lädt den Server nach einem Neubuild nicht neu. Klicken Sie nach jedem npm run build im Inspector auf Restart.
Lizenz
MIT. Siehe LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables comprehensive interaction with DHIS2 health information systems through 40+ tools covering complete Web API functionality. Supports data management, tracker programs, analytics, and bulk operations for DHIS2 development and administration.47186MIT
- AlicenseBqualityDmaintenanceProvides access to the World Health Organization's Global Health Observatory data, enabling AI assistants to search, retrieve, and analyze comprehensive health indicators, country statistics, disease burden data, and regional health trends through WHO's OData API.1MIT

Data360 MCP Serverofficial
FlicenseNot gradedqualityCmaintenanceProvides LLM agents direct access to World Bank development indicators, enabling search, validation, and retrieval of data on topics like GDP, poverty, and gender equality.33- AlicenseAqualityCmaintenanceConnects DHIS2 health information systems to AI assistants via the Model Context Protocol, enabling natural language queries for analytics, metadata, and tracker data.13MIT
Related MCP Connectors
Query 29,500+ World Bank development indicators for 200+ countries across 60+ years.
OWID MCP — Our World in Data chart/indicator access (free, no auth)
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/brianmituka/dhis2-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server