Projects › Portugal’s public data, inside Claude
Postal codes, parishes and holidays, inside Claude
Look up a postal code, find which parish and municipality a point is in, read a municipality’s census figures and town-hall contacts, and list Portugal’s public holidays.
Example conversation
“Which parish is this point in? 38.7139, -9.1334”
where_is
| Parish | Freguesia | Santa Maria Maior |
| Municipality | Concelho | Lisboa |
| Altitude | GeoAPI.pt | 101 m |
That’s Santa Maria Maior, in Lisbon, 101 m up. The next public holiday is Tuesday 1 December, Restoration of Independence.
What it can do
postal_codeA code like 1000-001: locality, municipality and the streets it coverswhere_isCoordinates to parish, municipality and district, with altitude and hazard mapsmunicipalityA municipality’s parishes, 2021 census and town-hall contactspublic_holidaysThe national holidays of any year, with the weekday, plus a municipality’s own holiday and the Azores and Madeira ones
The clever bit
National holidays are worked out from the Labour Code, Easter included, so there is no API to break; the municipal ones come for all 308 municipalities. Carnival is marked as optional, because it is a day off by custom, not by law.
Install it
In Claude Code: claude mcp add portugal -- uvx portugal-mcp. In Claude Desktop or Codex: command "uvx", args ["portugal-mcp"].