Portugal (public data)
io.github.ThiagoJacobLannes/portugal-mcp
Portugal public data: weather, INE, Parliament, contracts, SNS, fuel, transit, power cuts.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/ThiagoJacobLannes/portugal-mcp
- Website
- thiagolannes.com/
- Server address
https://mcp.thiagolannes.com/portugal(streamable-http)- Version
- 0.10.3
- Author
- ThiagoJacobLannes (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 23, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: PORTUGAL_MCP_FEATURES.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http portugal-mcp https://mcp.thiagolannes.com/portugalClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://mcp.thiagolannes.com/portugalChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://mcp.thiagolannes.com/portugalCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"portugal-mcp": {
"url": "https://mcp.thiagolannes.com/portugal"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"portugal-mcp": {
"type": "http",
"url": "https://mcp.thiagolannes.com/portugal"
}
}
}On your machine
Claude Code
The server runs on your machine (pypi package). In a terminal:
claude mcp add portugal-mcp -e PORTUGAL_MCP_FEATURES=YOUR_PORTUGAL_MCP_FEATURES -- uvx [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"portugal-mcp": {
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"PORTUGAL_MCP_FEATURES": "YOUR_PORTUGAL_MCP_FEATURES"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"portugal-mcp": {
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"PORTUGAL_MCP_FEATURES": "YOUR_PORTUGAL_MCP_FEATURES"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"portugal-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"PORTUGAL_MCP_FEATURES": "YOUR_PORTUGAL_MCP_FEATURES"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 09:38 (test run by L’Atlas)
- Response time
- 1,294 ms (whole test)
- Tools found
- 72
- Announced name
- portugal 0.10.3
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (72)
weather_forecast
5-day weather forecast for a place in Portugal (IPMA, official). Args: place: district capital or island town, e.g. "Lisboa", "Porto", "Faro", "Funchal", "Ponta Delgada". lat, lon: use instead of place for anywhere else; the nearest IPMA foweather_warnings
Active IPMA weather warnings (rain, wind, heat, cold, snow, fog, sea, thunderstorms). Args: area: optional district or island group, e.g. "Lisboa", "Madeira", "Açores". Omit for the whole country. include_green: also list green (no-warning)fire_risk
Wildfire danger (RCM, risco de incêndio rural) for a municipality, today or tomorrow. Args: municipality: concelho name, e.g. "Sintra", "Monchique". day: 0 = today, 1 = tomorrow. Scale: 1 reduzido, 2 moderado, 3 elevado, 4 muito elevado, 5sea_forecast
Coastal sea forecast: wave height and period, wave direction, sea temperature (IPMA). Args: place: coastal spot, e.g. "Nazaré", "Peniche", "Faro", "Funchal". Or pass lat/lon for the nearest one. day: 0 = today, 1 = tomorrow, 2 = the day aftearthquakes
Recent earthquakes recorded by IPMA. Args: region: "mainland" (mainland Portugal and Madeira) or "azores". days: look back this many days (max 30). min_magnitude: only quakes at or above this magnitude. limit: max rows (newest first).postal_code
Look up a Portuguese postal code (código postal, 'XXXX-XXX' or 'XXXX'). Returns district, municipality, locality and the streets the code covers, plus a central point.where_is
Which parish, municipality and district a coordinate is in, plus altitude, land use and hazard maps.municipality
A municipality (concelho): district, INE code, area, parishes, 2021 census, town-hall contacts.public_holidays
Portugal's public holidays for a year (default: this year), with weekday. Always lists the national holidays. Pass `municipality` (a concelho, e.g. "Braga", "Lisboa", "Funchal") to add its own municipal holiday and, in the Azores or Madeiraine_search
Find INE indicators by keyword (e.g. "inflação", "desemprego", "população", "rendas", "turismo"). Searches INE's catalogue of key indicators. Returns varcd codes to pass to ine_indicator. Any other INE indicator can be read with ine_indicatine_indicator
Values of an INE indicator, latest periods first. Args: varcd: 7-digit indicator code from ine_search, e.g. "0008074". place: geography name to keep, e.g. "Portugal", "Lisboa", "Norte", "Porto". Default: "Portugal" when present, otherwise abpstat_search
Find Banco de Portugal statistical series by keyword. Examples: "euribor 12 meses", "taxa de juro novos empréstimos habitação", "dólar", "dívida pública", "depósitos particulares", "preços habitação". The search picks the most likely statisbpstat_series
Observations of Banco de Portugal series (ids from bpstat_search). Args: series_ids: one or more series ids (max 10), e.g. [12559924]. last_n: latest observations per series (1-500). Ignored when `since` is given. since: "YYYY-MM-DD" — retuparliament_search
Search initiatives in the Portuguese Parliament: bills, resolutions, inquiries. Args: query: words in the title, e.g. "habitação", "IRS", "imigração". type: e.g. "Projeto de Lei", "Proposta de Lei" (Government bills), "Projeto de Resolução"parliament_initiative
Full record of one initiative: every phase with dates, every vote with each group's position, text link. Args: initiative_id: the `id` from parliament_search (e.g. "356403"), or a reference like "Proposta de Lei 3".parliament_votes
Recent plenary votes, with how each parliamentary group voted. Args: party: show this group's position on each vote (e.g. "PS", "CH"); only votes where it is recorded. query: words in the initiative title. since: "YYYY-MM-DD". result: "aproparliament_deputies
Members of Parliament (deputados): party, constituency (círculo), status. Seats per party included. Args: name: part of the parliamentary or full name. party: group acronym, e.g. "PSD", "PS", "CH". constituency: e.g. "Lisboa", "Porto", "Açopublic_contracts
Search Portuguese public contracts (Portal BASE) for one year. Args: query: words in the contract object, e.g. "software", "limpeza", "ambulâncias". buyer: public body name or 9-digit NIF, e.g. "Município de Lisboa", "SPMS". supplier: compapublic_contracts_summary
Totals for one buyer or supplier in a year: number of contracts, total value, by procedure, top partners. Args: entity: name or 9-digit NIF of a public body or a company. role: "buyer", "supplier" or "any". year: default this year. top: howopen_data_search
Search the datasets of Portugal's national open-data portal (dados.gov.pt). Args: query: e.g. "acidentes rodoviários", "escolas", "qualidade do ar", "alojamento local". organization: optional publisher to filter by, e.g. "INE", "Lisboa" oropen_data_dataset
Details and downloadable files of one dados.gov.pt dataset (id or slug from open_data_search).open_data_preview
First rows of a CSV or JSON file hosted on dados.gov.pt (reads at most 512 KB). Args: url: a resource url from open_data_dataset (must be on dados.gov.pt). rows: how many rows to return (1-100).sns_find_institutions
Find SNS hospitals / local health units (ULS) by name, or the nearest ones to a coordinate. Use this first when the user names a hospital or a place ("hospitals near Lisbon", "is there an emergency department near 38.72,-9.14?"), then passsns_emergency_stats
Emergency-department (urgência) visits per month: by type and by Manchester triage colour. Use for "how busy is the ER at X?", "how many emergency visits in the Algarve last month?", "what share of ER visits are green/blue (non-urgent)?". Osns_surgery_wait_stats
Surgery access indicators per month: surgical waiting list, % within the guaranteed maximum time, mean days from admission to surgery, and surgeries performed. Use for "how long is the wait for surgery at X?", "how many people are on the susns_consultation_wait_stats
Hospital outpatient consultations per month and the % of FIRST specialist consultations (referred by a family doctor via CTH/SIGA) held within the guaranteed maximum time (TMRG). Use for "how long is the wait for a first hospital appointmensns_search_datasets
Search the ~150 datasets of the SNS Transparency portal (titles and descriptions are in Portuguese). Use when the curated tools don't cover the question — e.g. hospital bed occupancy ("ocupação"), births/caesareans ("partos"), INEM pre-hospsns_query_dataset
Run an ODSQL query on any SNS Transparency portal dataset (Opendatasoft Explore API v2.1). Use after sns_search_datasets for anything the curated tools don't cover. Clauses are ODSQL: - where: `instituicao like "santa maria" and tempo >= damedicine_availability
Is a medicine in shortage in Portugal? Checks Infarmed's published availability information. Use when someone can't find a medicine, or asks whether X is in shortage ("rutura", "esgotado", "falta"). Searches by brand or active substance (Popharmacies
Pharmacies in a Portuguese municipality, with which ones are on duty today and open now. Use for "farmácia de serviço em X", "pharmacy open now near me", or to list pharmacies to call. Each pharmacy has name, address, phone, coordinates, tofind_medicine_near
One-shot answer to "I need medicine X in city Y — what do I do?" in Portugal. Runs medicine_availability(medicine) and pharmacies(city or lat/lon), and returns: the shortage status (compact), the pharmacies on duty today and the ones open nmedicine_help
Verified help lines in Portugal for medicine problems: 112, SNS 24, Linha 1400, Infarmed. Use when someone can't find a medicine, needs urgent advice, or asks who to call. Each line has its number, what it is for, hours where published, andfuel_prices
Cheapest fuel stations in Portugal for one fuel type, cheapest first (official DGEG prices). Use for "where is diesel/petrol/LPG cheapest in Lisboa / near me / in Braga?". Give an area as a district, a municipality, or a point (lat + lon, wfuel_station_detail
Full details of one fuel station: every fuel it sells with price and last update, opening hours, services (car wash, shop, tyre air...) and payment methods. Use after fuel_prices, with a station `id` from its results.fuel_types
List DGEG fuel types (id, name, unit) and the districts accepted by fuel_prices. Only needed when unsure which fuel name to pass; fuel_prices also understands "diesel", "petrol", "95", "98", "lpg".ev_chargers
Public EV charging sites near a point in Portugal (MOBI.E network), nearest first, with live status and the price the network publishes for each charging point. Use for "where can I charge near X?", "fast chargers near me", "is there a freeev_charger_detail
Everything about one MOBI.E charging site: all its points with live status, power, connectors and price, plus operator contact, opening hours and accepted authentication (app, RFID card, credit card...). Use after ev_chargers. Accepts a sitbus_find_stops
Find Carris Metropolitana bus stops by name and/or near a coordinate. Use this first whenever the user names a place, street, station or gives a location, to get the stop_id needed by bus_next_arrivals. Results include the lines serving eacbus_next_arrivals
Upcoming buses at a Carris Metropolitana stop, real-time where available. Use for "when is the next bus at X?" (get stop_id from bus_find_stops first). Each arrival says whether it is "realtime" (live GPS estimate) or "scheduled" (timetablebus_line_info
Details of a Carris Metropolitana line: name, route ends, directions, municipalities. Use for "where does line 4715 go?", "which bus goes from Cacilhas to Almada?", or to check whether a line passes a stop (include_stops=True). If `line` isbus_service_alerts
Service alerts (detours, works, strikes, stops not served) for Carris Metropolitana. Use before recommending a trip, or when the user asks "is line X disrupted?". Filter by line and/or stop; with no filter, returns all current alerts (therebus_vehicle_positions
Live GPS positions of the buses currently running on a Carris Metropolitana line. Use for "where is the 3508 right now?" or to see how many buses are out on a line. Each vehicle includes its position, heading, speed, the stop it is at / heatransit_operators
Which transport operators have timetables here, and what each one covers.transit_find_stops
Find train stations, metro stations or bus/tram stops by name, or the nearest to a point. Args: query: e.g. "Oriente", "Porto Campanhã", "Marquês de Pombal", "Prazeres". operator: an operator id (see transit_operators) or a city/region: "potransit_departures
Scheduled departures from a station or stop (official timetable, not live). Args: stop: station or stop name, e.g. "Lisboa Oriente", "Cais do Sodré", "Baixa-Chiado", "Prazeres". operator: an operator id (see transit_operators) or a city/regtransit_trips_between
Direct services between two stations (no changes), with departure, arrival and duration. Examples: CP "Lisboa Oriente" → "Porto Campanhã"; Fertagus "Roma-Areeiro" → "Setúbal"; Metro "Alameda" → "Aeroporto" (same line only). Scheduled times,transit_vehicles
Where the buses (and Lisbon trams) are right now: live positions reported by the vehicles. Args: operator: "stcp" (Porto buses), "smtuc" (Coimbra buses) or "carris" (Lisbon buses and trams). City names work too: "porto", "coimbra", "lisboa"wildfires
Burnt areas from wildfires in Portugal, mapped by satellite (EFFIS / Copernicus). Not a live list of fires in progress: EFFIS maps burnt areas from satellite a day or more later, and small fires can be missing. Args: period: "today", "week"active_incidents
What emergency services (civil protection, ANEPC) are responding to right now in Portugal, closest first. Live occurrences of every kind: fires, road collisions, fallen trees, floods, rescues, with their status (e.g. "Em Curso"), time startpower_cuts
Planned power cuts (E-REDES maintenance works) for a postal code, municipality or parish. Args: postal_code: "2795-082" for that street, or "2795" for the whole postal area. municipality: e.g. "Sintra", "Vila Nova de Gaia". parish: e.g. "Alelectricity_price
Portugal's day-ahead wholesale electricity price (OMIE), per 15-minute period, in €/MWh. Useful for indexed ("dynamic") tariffs: when is electricity cheapest to run the washing machine or charge the car. Not the retail price on a normal bilelectricity_grid
How much electricity mainland Portugal used on a day, the peak, and how much wind, solar and hydro the distribution grid generated (E-REDES, 15-minute data, usually one day behind). Args: day: "YYYY-MM-DD" (default: the latest complete day,electricity_local
Electricity in one place (mainland Portugal): billed consumption per month, and how often and for how long the power went out there in recent years compared with the average municipality. Args: municipality: a concelho, e.g. "Sintra". postalocal_accommodation
Look up the national register of local accommodation (Alojamento Local, RNAL). Answers "is this flat/guesthouse registered?" and "how many AL are on my street?". Args: registration: the RNAL number, e.g. "12345/AL" or "12345". name: part oftourism_places
Official tourism places in Portugal, near a point or in a municipality/region. Args: kind: one of blue_flag_beaches, surf_spots, golf, spas, unesco, historic_villages, schist_villages, wine_villages, mountain_villages, marinas, walking_routlisbon_events
What's on in Lisbon: the city's official cultural agenda (exhibitions, concerts, theatre, dance, cinema, guided visits, kids, festivals). Args: day: ISO date, e.g. "2026-11-14". Default today. until: ISO date to look at a range from `day` (lisbon_street_works
Street works and public-space occupations in Lisbon: what is (or will be) blocking a street. Two official sources: licensed temporary occupations of public space (filming, events, scaffolding, containers...) and the city's road and pavementlisbon_recycling
The nearest recycling points in Lisbon of a given kind. Args: lat, lon: where you are. kind: "ecoponto" (paper, plastic, glass), "vidrao" (glass), "papel", "oleo" (used cooking oil), "reee" (small electronics), "alimentar" (food waste), "eclisbon_metro_status
Is the Lisbon Metro running normally right now? Status of the four lines (Amarela, Azul, Verde, Vermelha) as Metropolitano de Lisboa publishes it, with the disruption text if any. For timetables use transit_departures with operator "metro".web_archive_search
Search old versions of Portuguese websites in Arquivo.pt (full text, since 1996). `site` limits to one domain (e.g. "publico.pt", "cm-porto.pt"). `from_date`/`to_date` take a year, "YYYY-MM" or "YYYY-MM-DD". Each result has the capture dateweb_archive_history
When was a web address captured by Arquivo.pt, and how often did its content change? Returns the first and last capture, captures per year and up to `max_versions` versions where the content changed (spread over the period), each with a linweb_archive_page
The text of a web page as Arquivo.pt saved it closest to a date. `when` takes a year, "YYYY-MM" or "YYYY-MM-DD" (default: the latest copy). Returns the capture date, the page title, its readable text (cut at `max_chars`, up to 8000) and theporto_road_closures
Streets in Porto with traffic or parking restrictions active on a day (default today). Args: near: a street name ("Rua de Santa Catarina", matches part of it) or a Porto postal code ("4000-457"); or pass lat/lon. radius_km: around a postalporto_sensors
Latest readings of Porto's street sensors: air quality, noise and weather. Args: kind: "air" (PM2.5, PM10, NO2, O3, CO in µg/m³), "noise" (LAeq in dB(A)), "weather" (temperature, humidity, rain, wind) or "all". near: a Porto postal code, orelection_results
Official results of a Portuguese election for the country, a district, a municipality or a parish. Args: election: "legislativas2025" (default), "legislativas2024", "legislativas2022", "autarquicas2025", "autarquicas2021", "europeias2024",reservoir_levels
How full mainland Portugal's reservoirs are, per river basin, in the latest month published. Args: basin: optional, e.g. "Tejo", "Douro", "Guadiana", "Sado", "Ribeiras do Algarve", "Arade". Each basin has its % of capacity, the historical adiario_republica
What the latest Diário da República issue published, with a link to each act. Args: series: 1 (laws, decree-laws, ordinances, government resolutions; default) or 2 (dispatches, notices, appointments, tenders: hundreds per day). query: optioschool_stats
Statistics for schools in mainland Portugal (InfoEscolas, Ministry of Education). Args: school: part of a school's name ("Pedro Nunes", "Marquês de Pombal") or its DGEEC code. municipality: list that municipality's schools (e.g. "Braga"). lbroadband_coverage
Which fixed broadband technologies reach a place in Portugal, according to ANACOM: fibre, coaxial cable (DOCSIS 3.1 / 3.0) and copper with ADSL, with the date of the data. Args: near: a postal code ("1100-148"; the full 7 digits is the mostpost_offices
CTT post offices, postal agents and post boxes near a place, closest first (ANACOM register). Args: near: a postal code or municipality; or pass lat/lon. kind: "stations" (post offices, with hours and services), "agents" (postos de correiosprotected_areas
Is this place in a protected area or Natura 2000 site? (mainland Portugal, ICNF) Args: near: a postal code or municipality (its centre is used); for a precise answer pass lat/lon. Checks the National Network of Protected Areas (natural parknotable_trees
Classified trees of public interest (arvoredo de interesse público, ICNF): species, size, age. Args: municipality: list a municipality's trees (e.g. "Sintra"), or near / lat / lon: the trees around a place, closest first, within radius_km (
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
Portugal (public data) · L’Agora · Tested on
[Portugal (public data) — L’Agora](https://lagora.dev/en/entry/io.github.thiagojacoblannes/portugal-mcp)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.thiagojacoblannes/portugal-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.thiagojacoblannes/portugal-mcp"><img src="https://lagora.dev/badge/io.github.thiagojacoblannes/portugal-mcp.svg?lang=en" alt="io.github.ThiagoJacobLannes/portugal-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
Vinted Local
Brasil Planos de Saúde (ANS) Local
KuantoKusta Local
Google Flights Local