Skip to main content
Glama

dhis2w-mcp

The dhis2w MCP servers, as one plugin pack:

Package

What it is

dhis2w-mcp

The full FastMCP server: every built-in dhis2w plugin's tools, typed, plus whatever other packs (dhis2w-security) register.

dhis2w-mcp-bridge

One tool, dhis2_cli, over the d2w CLI, for small local models; read-only by default.

dhis2w-mcp-router

Search and dispatch over upstream MCP servers, so the tool surface never inflates a model's context.

The MCP tools of the built-in dhis2w plugins live here, as dhis2w_mcp.tools.v41|v42|v43, and reach the server through the dhis2w.plugins.v1 entry point, the same way every pack registers. They call the same service.py functions of dhis2w-core that the d2w CLI does.

Documentation: https://winterop-com.github.io/dhis2w-mcp/

Install

claude mcp add dhis2 -- uvx dhis2w-mcp          # the full server
uv tool install dhis2w-mcp-bridge                # the single-tool bridge
uv tool install dhis2w-mcp-router                # the router

Related MCP server: datanika-mcp

Development

make install         # uv sync --all-packages --all-groups
make lint            # ruff, mypy, pyright
make test            # the suite, without the tests that need a running DHIS2
make test-slow       # the live tests: DHIS2_URL and DHIS2_PAT pointing at a running DHIS2
make check-examples  # every example's call_tool(...) names a registered tool
make docs            # regenerate the tool reference and build the site, strictly

This repository releases the same version as the dhis2w host; see CLAUDE.md.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Read-only-by-default MCP server for Datanika, an open-source dlt + dbt-core data pipeline platform: browse connections, introspect and preview source tables, compile and run dbt transformations, and monitor pipeline runs. 25 tools (17 read-only, plus 8 write tools gated behind --allow-write); source lives in the datanika-mcp/ subdirectory of the repo.
    25
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 20 essential tools including HTTP requests, web search, file I/O, shell commands, and persistent memory for any MCP client, with zero configuration required.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Provides a document store, web search, and safe calculator as MCP tools, enabling both offline and LLM-driven clients to discover and call them over the Model Context Protocol.
    6
    MIT