baseline-mcp

v0.1.9
io.github.elninyo-ops/baseline-mcp Checked 3 days ago Published 2 months ago

Statistically rigorous weather and climate context: forecast plus 35-year historical ranking.

Values you need

VariableWhat it is
BASELINE_API_URLrequired Base URL of the Baseline API instance to query.
BASELINE_API_KEYrequired secret API key for the Baseline API. Contact chadmcnutt@gmail.com for a key -- self-serve signup is not yet available.

PyPI (uvx) discovery passed

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

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

For AI agents

  1. Ask the user for: BASELINE_API_URL, BASELINE_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: get_climate_context, get_context_for_coordinates, get_water_year_status, compare_to_normal, compare_locations, get_seasonal_outlook.
  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