Skip to main content
Glama

dhis2-mcp

DHIS2 のヘルスデータ用の読み取り専用 MCP サーバーです。stdio 上で動作します。

このサーバーは、小さなローカルモデル向けに作られています。各ツールは、生の DHIS2 レスポンスではなく、コンパクトな JSON を返します。小さなコンテキストウィンドウは予算のようなものです。ツールはその予算をできるだけ少なく使うようにしています。

ツール

ツール

説明

search_indicators

DHIS2 インジケーターを名前で検索します。id、name、description を返します。

query_analytics

1つのインジケーターについて、期間ごとに分割し、1つの組織単位の集計値を取得します。

最初に search_indicators を実行してインジケーター ID を取得します。次に、その ID を query_analytics に渡します。

Related MCP server: WHO MCP Server

必要条件

  • Node.js 20 以上が必要です。

  • DHIS2 インスタンスが必要です。デフォルトは公開されている play demo なので、何も設定しなくても開始できます。

インストールとビルド

git clone https://github.com/brianmituka/dhis2-mcp.git
cd dhis2-mcp
npm install
npm run build

設定

以下の環境変数を設定してください。3つとも省略可能です。

変数

デフォルト

意味

DHIS2_BASE_URL

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

DHIS2 インスタンスのベース URL

DHIS2_USERNAME

admin

Basic 認証のユーザー名

DHIS2_PASSWORD

district

Basic 認証のパスワード

play demo は毎晩リセットされます。ホストは play.im.dhis2.org を使用してください。play.dhis2.org ではありません。古いホストは HTML ページにリダイレクトされるためです。

LM Studio での使用

LM Studio 0.3.17 以降は MCP に対応しています。Program タブを開き、mcp.json を編集してください。次のエントリを追加します。

{
  "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"
      }
    }
  }
}

パスは、クローンした場所に置き換えてください。ファイルを編集したら、モデルチャットを再起動してください。

他の MCP クライアントでの使用

stdio の MCP クライアントであればどれでも動作します。Claude Code の場合:

claude mcp add dhis2 -- node /absolute/path/to/dhis2-mcp/dist/index.js

MCP Inspector でテストする

npx @modelcontextprotocol/inspector node dist/index.js

Inspector は再ビルド後にサーバーを再読み込みしません。npm run build を行うたびに、Inspector 内の Restart をクリックしてください。

ライセンス

MIT です。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