MGM Radar

v0.40.2
io.github.Velosophic-Life/mgm-radar Checked 2 days ago Published 1 hour ago

Türkiye radar rain observations with confidence and frame age.

Values you need

VariableWhat it is
MGM_API_KEYrequired secret First-party MGM Radar API key, sent on every /v1 request as X-API-Key. Required; the process exits 2 when it is missing or blank.
MGM_API_BASE_URLoptional Optional API origin override. Defaults to https://mgm-radar.velosophic.life and must be an absolute http(s) URL.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mgm-radar -e 'MGM_API_KEY=<MGM_API_KEY>' -- uvx mgmradar-mcp==0.37.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mgm-radar": {
      "args": [
        "mgmradar-mcp==0.37.0"
      ],
      "command": "uvx",
      "env": {
        "MGM_API_KEY": "<MGM_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mgm-radar": {
      "args": [
        "mgmradar-mcp==0.37.0"
      ],
      "command": "uvx",
      "env": {
        "MGM_API_KEY": "<MGM_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "MGM_API_KEY",
      "id": "mgm-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mgm-radar": {
      "args": [
        "mgmradar-mcp==0.37.0"
      ],
      "command": "uvx",
      "env": {
        "MGM_API_KEY": "${input:mgm-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mgm-radar]
command = "uvx"
args = ["mgmradar-mcp==0.37.0"]
env = { "MGM_API_KEY" = "<MGM_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mgm-radar https://mgm-radar.velosophic.life/mcp --header 'X-API-Key: <X-API-Key>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mgm-radar": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mgm-radar.velosophic.life/mcp",
        "--header",
        "X-API-Key: <X-API-Key>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mgm-radar": {
      "headers": {
        "X-API-Key": "<X-API-Key>"
      },
      "url": "https://mgm-radar.velosophic.life/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mgm-radar": {
      "headers": {
        "X-API-Key": "<X-API-Key>"
      },
      "type": "http",
      "url": "https://mgm-radar.velosophic.life/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mgm-radar]
command = "npx"
args = ["-y", "mcp-remote", "https://mgm-radar.velosophic.life/mcp", "--header", "X-API-Key: <X-API-Key>"]

For AI agents

  1. Ask the user for: MGM_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: rain_now, rain_series, radar_snapshot, compare_places, coverage_check.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json