BMKG Gempa & Cuaca

v1.0.0
io.github.EzkielynaGroup/mcp-bmkg Checked 1 day ago Published 22 days ago

Indonesian earthquakes and village weather forecasts from BMKG open data.

Values you need

VariableWhat it is
MCP_BMKG_TIMEOUT_MSoptional Timeout per BMKG request in ms (default 10000)
MCP_BMKG_CACHE_MSoptional Cache lifetime per URL in ms (default 60000)
MCP_BMKG_BASE_URLoptional Override base URL for both BMKG hosts (tests or mirrors)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-bmkg -- npx -y mcp-bmkg@1.0.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-bmkg": {
      "args": [
        "-y",
        "mcp-bmkg@1.0.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-bmkg": {
      "args": [
        "-y",
        "mcp-bmkg@1.0.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-bmkg": {
      "args": [
        "-y",
        "mcp-bmkg@1.0.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-bmkg]
command = "npx"
args = ["-y", "mcp-bmkg@1.0.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: gempa_terbaru, gempa_dirasakan, gempa_m5, prakiraan_cuaca.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json