dhis2-tracker

Extract DHIS2 Tracker entities, enrollments, events, and relationships via API.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/BLSQ/mcp_servers --skill dhis2-tracker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dhis2-tracker
Source: https://github.com/BLSQ/mcp_servers/tree/main/.claude/skills/dhis2-tracker
Command: npx skills add https://github.com/BLSQ/mcp_servers --skill dhis2-tracker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill enables extraction of individual-level and case-based data from DHIS2 Tracker programs, making it easier to retrieve tracked entities, enrollments, events, and relationships without manual querying.

Core Features & Use Cases

  • Extract tracked entities, including attributes and program membership.
  • Retrieve enrollments and events with filtering by program, org unit, and date ranges.
  • Retrieve relationships and data relationships between tracked entities.

Quick Start

To start, configure the dhis2 client and request data for a specific program and org unit, then convert results into a structured DataFrame or JSON for downstream analysis.

Frequently Asked Questions about dhis2-tracker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract tracked entities and enrollments from DHIS2 Tracker programs?

To extract DHIS2 Tracker data, configure the DHIS2 client in a Python environment and request tracked entities, enrollments, and events filtered by program, org unit, and date ranges. Results are shaped into structured DataFrames or JSON for downstream analysis.

Can I filter DHIS2 events by date range and hierarchical org units?

Yes, DHIS2 event extraction supports filtering by specific programs, date ranges, and hierarchical organization units. The retrieval logic applies these filters during paginated API access to return only the relevant case-based data.

What is the best way to retrieve case-based relationships from DHIS2 Tracker?

Retrieving DHIS2 Tracker relationships involves querying the API for data relationships between tracked entities within specific programs. The extracted relationship data can be enriched with optional metadata during the extraction process.

Do I need a Python environment to extract DHIS2 Tracker data?

Yes, extracting DHIS2 Tracker data requires a Python environment configured with the DHIS2 client library and related tooling. This setup enables paginated API access, data shaping into DataFrames, and optional metadata enrichment features.

How does paginated API access work for DHIS2 Tracker data extraction?

Paginated API access for DHIS2 Tracker data extraction works by sequentially requesting data chunks from the server using the DHIS2 client library. This ensures reliable retrieval of large tracked entity datasets without exceeding API limits.

Can I convert extracted DHIS2 Tracker events into a structured DataFrame?

Yes, extracted DHIS2 Tracker events can be converted into a structured DataFrame or JSON format. After configuring the DHIS2 client and retrieving program data, the tooling shapes the response for immediate downstream analysis.