dhis2-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dhis2-mcpSearch for malaria indicators and query the last 12 months of confirmed cases for the district"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dhis2-mcp
A read-only MCP server for DHIS2 health data. It runs on stdio.
The server is built for small local models. Each tool returns compact JSON, not the raw DHIS2 response. A small context window is a budget — the tools spend as little of it as possible.
Tools
Tool | What it does |
| Search DHIS2 indicators by name. Returns id, name, and description. |
| Get aggregated values for one indicator, split by period, for one organisation unit. |
Run search_indicators first to get an indicator id. Then pass the id to query_analytics.
Related MCP server: WHO MCP Server
Requirements
Node.js 20 or later.
A DHIS2 instance. The default is the public play demo, so you can start with no setup.
Install and build
git clone https://github.com/brianmituka/dhis2-mcp.git
cd dhis2-mcp
npm install
npm run buildConfiguration
Set these environment variables. All three are optional.
Variable | Default | Meaning |
|
| Base URL of the DHIS2 instance |
|
| Basic auth username |
|
| Basic auth password |
The play demo resets every night. Use the host play.im.dhis2.org, not play.dhis2.org —
the old host redirects to an HTML page.
Use with LM Studio
LM Studio 0.3.17 or later supports MCP. Open the Program tab, then edit mcp.json.
Add this entry:
{
"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"
}
}
}
}Replace the path with your clone location. Restart the model chat after you edit the file.
Use with other MCP clients
Any stdio MCP client works. For Claude Code:
claude mcp add dhis2 -- node /absolute/path/to/dhis2-mcp/dist/index.jsTest with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsThe Inspector does not reload the server after a rebuild. Click Restart in the
Inspector after every npm run build.
License
MIT. See 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