Skip to main content
Glama

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

search_indicators

Sucht DHIS2-Indikatoren nach Namen. Gibt id, name und description zurück.

query_analytics

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 build

Konfiguration

Legen Sie diese Umgebungsvariablen fest. Alle drei sind optional.

Variable

Default

Bedeutung

DHIS2_BASE_URL

https://play.im.dhis2.org/stable-2-43-1

Basis-URL der DHIS2-Instanz

DHIS2_USERNAME

admin

Basic-Auth-Benutzername

DHIS2_PASSWORD

district

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

Test mit MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js

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

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    B
    quality
    F
    maintenance
    Enables 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.
    47
    18
    6
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides 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.
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Connects DHIS2 health information systems to AI assistants via the Model Context Protocol, enabling natural language queries for analytics, metadata, and tracker data.
    13
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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