Thiago Lannes

Projects › Portugal’s public data, inside Claude

Postal codes, parishes and holidays, inside Claude

MCP server · Personal project · portugal-mcp · 2026

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

ParishFreguesiaSanta Maria Maior
MunicipalityConcelhoLisboa
AltitudeGeoAPI.pt101 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

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"].