DHIS2 Model Context Protocol Server for AI assistants
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"dhis2-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The DHIS2 MCP Server connects AI tools directly to DHIS2 instances. This gives AI agents, assistants, and chatbots the ability to read and manage DHIS2 data, perform analytics, manage metadata, and automate workflows through natural language interactions.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in health / data
Query and manage PostgreSQL databases directly from AI assistants
An official Qdrant Model Context Protocol (MCP) server implementation
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP Security Weekly
Get CVE alerts and security updates for Dhis2 Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The DHIS2 MCP Server connects AI tools directly to DHIS2 instances. This gives AI agents, assistants, and chatbots the ability to read and manage DHIS2 data, perform analytics, manage metadata, and automate workflows through natural language interactions.
Built for health data managers who want to connect their AI tools to DHIS2 context and capabilities.
docker run -d \
-e DHIS2_URL=https://play.dhis2.org/dev \
-e DHIS2_USERNAME=admin \
-e DHIS2_PASSWORD=district \
ghcr.io/smalljoe1/dhis2-mcp-server
git clone https://github.com/Smalljoe1/dhis2-mcp-server
cd dhis2-mcp-server
go build -o dhis2-mcp-server ./cmd/dhis2-mcp-server
./dhis2-mcp-server stdio
{
"servers": {
"dhis2": {
"command": "./dhis2-mcp-server",
"args": ["stdio"],
"env": {
"DHIS2_URL": "https://your-dhis2-instance.org",
"DHIS2_USERNAME": "your-username",
"DHIS2_PASSWORD": "your-password"
}
}
}
}
get_system_info - Retrieve DHIS2 system informationget_me - Get current user profiletest_connection - Test DHIS2 connectivityget_organisation_units - Retrieve organization units with filtering by level, parent, search term, and limitget_data_elements - Retrieve data elements with filtering by search term, domain type, value type, and limitsearch_metadata - Search across multiple metadata objects (organization units, data elements, etc.) with a single queryget_data_values - Retrieve data valuessubmit_data_values - Submit data entriesvalidate_data_completeness - Check data completenessget_analytics_data - Query analytics APIgenerate_pivot_table - Create pivot tablesexport_report - Generate and export reportsDHIS2_URL - DHIS2 instance URL (required)DHIS2_USERNAME - Username for authenticationDHIS2_PASSWORD - Password for authenticationDHIS2_TOKEN - Personal access token (alternative to username/password)DHIS2_TOOLSETS - Comma-separated list of toolsets to enableDHIS2_READ_ONLY - Set to "true" for read-only modeThis project is under active development. Current implementation status:
Test DHIS2 connectivity and functionality:
# Test connection to DHIS2 demo instances
go run ./cmd/test-connection
# Build and run tests
go build -o bin/test-connection.exe ./cmd/test-connection
./bin/test-connection.exe
# Run unit tests
go test ./...
Contributions are welcome! Please read our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.