Portugal (public data)

v0.10.3
io.github.ThiagoJacobLannes/portugal-mcp Checked 2 days ago Published 10 days ago

Portugal public data: weather, INE, Parliament, contracts, SNS, fuel, transit, power cuts.

Values you need

VariableWhat it is
PORTUGAL_MCP_FEATURESoptional Optional comma list of features to load (e.g. clima,geo,ine) or to drop (-contratos). Default: all.

PyPI (uvx) discovery passed

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

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http portugal-mcp https://mcp.thiagolannes.com/portugal
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "portugal-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.thiagolannes.com/portugal"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "portugal-mcp": {
      "url": "https://mcp.thiagolannes.com/portugal"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "portugal-mcp": {
      "type": "http",
      "url": "https://mcp.thiagolannes.com/portugal"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.portugal-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.thiagolannes.com/portugal"]

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: weather_forecast, weather_warnings, fire_risk, sea_forecast, earthquakes, postal_code, where_is, municipality, ….
  4. 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