Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itPortugal public data: weather, INE, Parliament, contracts, SNS, fuel, transit, power cuts.
One address for any MCP client. No sign-in needed on this server.
11 read39 other
Grouped by tool name. At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Portugal's public data for AI assistants, in one MCP server. Ask Claude (or any MCP client) about the weather and warnings, a postal code, unemployment or inflation, the Euribor, what Parliament voted, who won a public contract, how busy the emergency rooms were, whether a medicine is in shortage, the cheapest fuel nearby, when the next train to Porto leaves or how much has burned this fire season.
Read-only, no API keys, no accounts. Every answer comes from an official or public open-data source and says which one and for which date. Not affiliated with any of the sources.
Português: servidor MCP com os dados públicos de Portugal (IPMA, INE, Banco de Portugal, Parlamento, Portal BASE, dados.gov.pt, SNS, Infarmed, DGEG, MOBI.E, Carris Metropolitana, horários da CP, de Lisboa, Porto, Coimbra, Braga, Aveiro, Cascais, Barreiro, Algarve e Madeira e da FlixBus, autocarros ao vivo no Porto, Coimbra e Lisboa, cortes de luz programados da E-REDES, registos do Turismo de Portugal (alojamento local, praias com bandeira azul, hotéis), agenda cultural, obras, reciclagem e estado do Metro de Lisboa, condicionamentos de trânsito e sensores do Porto, consumo e falhas de eletricidade, incêndios do EFFIS, ocorrências da Proteção Civil, feriados municipais, Arquivo.pt, resultados eleitorais, albufeiras, Diário da República, estatísticas das escolas, cobertura de fibra e estações dos CTT, áreas protegidas e árvores classificadas). Só leitura, sem chaves. As ferramentas aceitam perguntas em português.
| Feature | Tools | Source |
|---|---|---|
clima | weather_forecast, weather_warnings, fire_risk, sea_forecast, earthquakes | IPMA |
geo | postal_code, where_is, municipality, public_holidays (national, plus a concelho's municipal holiday and the Azores/Madeira regional ones) | GeoAPI.pt (CAOP, CTT, INE census); national holidays computed from the Labour Code, municipal ones from the SAPO holiday service |
ine | ine_search, ine_indicator | INE indicator API |
bpstat | bpstat_search, bpstat_series | Banco de Portugal BPstat |
parlamento | parliament_search, parliament_initiative, parliament_votes, parliament_deputies | Assembleia da República open data |
contratos | public_contracts, public_contracts_summary | IMPIC / Portal BASE |
dados | open_data_search, open_data_dataset, open_data_preview | dados.gov.pt |
saude | sns_find_institutions, sns_emergency_stats, sns_surgery_wait_stats, sns_consultation_wait_stats, sns_search_datasets, sns_query_dataset | SNS Transparency portal |
medicamentos | medicine_availability, pharmacies, find_medicine_near, medicine_help | Infarmed public pages, pharmacies on duty |
energia | fuel_prices, fuel_station_detail, fuel_types, ev_chargers, ev_charger_detail | DGEG, MOBI.E |
transportes | bus_find_stops, bus_next_arrivals, bus_line_info, bus_service_alerts, bus_vehicle_positions | Carris Metropolitana API |
transit | transit_operators, transit_find_stops, transit_departures, transit_trips_between, transit_vehicles (live) | Official GTFS timetables of CP, Metro de Lisboa, Carris, Fertagus, Metro do Porto, TUB (Braga), SMTUC and SIT (Coimbra), Busway (Aveiro region), MobiCascais, TCB (Barreiro), Vamus and Próximo (Algarve), Horários do Funchal and the SIGA network (Madeira), and FlixBus coaches (ODbL). Live positions: STCP (Porto urban platform), SMTUC (AGIT), Carris (GTFS-Realtime) |
incendios | wildfires | EFFIS (Copernicus, CC BY 4.0) |
ocorrencias | active_incidents (live: what civil protection is responding to near a place, closest first; included on the hosted endpoint; a local install needs its own free personal key in FOGOS_API_KEY; police activity is not public) | ANEPC via Fogos.pt (request a key) |
eletricidade | power_cuts (planned interruptions by postal code, municipality or parish), electricity_price (day-ahead wholesale price for Portugal, per 15 minutes), electricity_grid (a day's national consumption, peak and wind/solar/hydro generation on the distribution grid), electricity_local (monthly consumption of a municipality or postal area, and how often the power went out there) | E-REDES open data (CC BY 4.0), OMIE (free use, unaltered, source cited) |
turismo | local_accommodation (the Alojamento Local register: is it registered, how many on a street), tourism_places (Blue Flag beaches, surf spots, golf, spas, villages, walking routes, Ways of Saint James, marinas, UNESCO sites, hotels) | Turismo de Portugal open data (CC BY 4.0) |
lisboa | lisbon_events (the city's cultural agenda), lisbon_street_works (licensed occupations of public space, road and pavement works), lisbon_recycling (nearest ecoponto, vidrão, oleão...), lisbon_metro_status (is each Metro line running normally now) | Agenda Cultural de Lisboa (CC BY), Lisbon open data (CC0 for occupations), Metropolitano de Lisboa line status |
arquivo | web_archive_search (full-text search of archived Portuguese websites since 1996), web_archive_history (when an address was captured and how often it changed), web_archive_page (the text of a page as it was on a date) | Arquivo.pt (FCT), API |
porto | porto_road_closures (streets with traffic or parking restrictions on a day: works, events, loading, plus unplanned ones such as accidents and burst pipes), porto_sensors (latest air-quality, noise and weather readings of the city's street sensors) | Porto open data (Câmara Municipal do Porto), Porto Digital urban platform (CC0) |
eleicoes | election_results (official results of the 2025, 2024 and 2022 legislative, 2025 and 2021 local, 2024 European and 2021 presidential elections, for the country, a district, a municipality or a parish, with the previous election of the same kind) | SGMAI, Ministério da Administração Interna |
agua | reservoir_levels (how full mainland reservoirs are per river basin, against the month's historical average and a year before) | APA, SNIRH |
diario | diario_republica (what the latest Diário da República issue published, Series I and II, with links) | Diário da República (INCM) |
escolas | school_stats (per school, public and private: students, retention or dropout rate, the share finishing on time next to comparable students nationally, and direct-success paths, from the 1st cycle to secondary and vocational) | InfoEscolas, DGEEC |
anacom | broadband_coverage (fibre, cable and copper at a place, dated), post_offices (CTT post offices, postal agents and post boxes nearby, with hours, services and last collection) | ANACOM (Fonte: ANACOM) |
natureza | protected_areas (is a place in a natural park, reserve, Natura 2000 site, Ramsar wetland or biosphere reserve), notable_trees (classified trees of public interest) | ICNF |
There are 72 tools in total. If your client struggles with that many, load only what you need with PORTUGAL_MCP_FEATURES (see below).
operator="porto", "coimbra", "madeira"...); without it only CP and the Lisbon operators are searched. When an operator's published timetable has run out, answers carry a warning instead of silently showing nothing. transit_trips_between finds direct services only (no changes). STCP (Porto buses) last published a timetable valid until September 2026, so Porto buses have live positions only (transit_vehicles); no open feeds were found for Viseu, Évora, Leiria, the Azores or the Tagus ferries.transit_vehicles) are what the vehicles report, usually under a minute old, not arrival predictions.power_cuts) are the interruptions E-REDES has planned for maintenance, usually for the next two weeks; live faults are not published (call E-REDES, 808 100 100).open_data_search(organization="Lisboa") (or Porto, Cascais, Oeiras, Águeda...) finds that town hall's datasets on dados.gov.pt. Most other towns publish little or nothing.electricity_price) are OMIE's wholesale day-ahead prices for Portugal in €/MWh, as published (averages and cheapest periods are computed from them). OMIE's download files lag the market by about a day, so today's and tomorrow's prices may only be on omie.es yet. Not the price on a regular bill.fire_risk; in an emergency call 112.A free shared copy runs at https://mcp.thiagolannes.com/portugal (streamable HTTP, no key, no sign-in). In Claude, add it as a custom connector; in Claude Code:
claude mcp add --transport http portugal https://mcp.thiagolannes.com/portugal
It is rate-limited to 60 requests a minute per IP (Claude's own connectors on claude.ai, desktop and mobile all arrive from Anthropic's servers, so those addresses get 600), and it stays awake and refreshes the large files (contracts, Parliament, EV chargers, timetables) in the background before they expire, so answers come in seconds. Only in the first few minutes after a new deploy can a question about one of those files take a minute or two. One known gap: Parliament's site refuses the deputies file to Cloudflare's network, so parliament_deputies only works on a local install (search and votes work on both). For heavy use, run your own copy with uvx as below, or docker build -t portugal-mcp . && docker run -p 8000:8000 portugal-mcp. The hosted copy is non-commercial and stays that way: its live incidents come from Fogos.pt, whose API terms rule out commercial use.
Usage counts, and nothing more. To know whether anyone uses it, the hosted endpoint counts requests anonymously: per day, the MCP method, the tool name, the kind of client (Claude, ChatGPT, Cursor...), the country Cloudflare already knows and whether the call worked. It never stores IP addresses, tool arguments (they can hold a postal code or coordinates), session ids or cookies, and keeps the counts for 400 days. The totals are public at mcp.thiagolannes.com/stats; the code is in deploy/cloudflare/src/usage-core.ts. A local install sends nothing anywhere. Full details, including logs and what the public sources see: PRIVACY.md.
Needs Python 3.10+. With uv nothing else is required:
uvx portugal-mcp --list-tools
Or with pip: pip install portugal-mcp.
claude mcp add portugal -- uvx portugal-mcp
Add this to claude_desktop_config.json (also in claude_desktop_config.snippet.json):
{
"mcpServers": {
"portugal": {
"command": "uvx",
"args": ["portugal-mcp"]
}
}
}
Any client that runs stdio servers works: command uvx, args ["portugal-mcp"]. For HTTP, run portugal-mcp --http, which serves streamable HTTP on 127.0.0.1:8000 (change it with MCP_HOST / MCP_PORT).
| Variable | Default | What it does |
|---|---|---|
PORTUGAL_MCP_FEATURES | all | Comma list of features to load (clima,geo,ine) or to drop (-contratos,-parlamento). |
PORTUGAL_MCP_CACHE_DIR | OS cache dir | Where downloaded files are cached. |
PORTUGAL_MCP_LOG_LEVEL | INFO | Log level; logs go to stderr. |
PORTUGAL_MCP_MAX_PARALLEL | 8 | --hosted only: how many tool calls run at once (the large files are still loaded one at a time). |
PORTUGAL_MCP_KEEP_WARM_HOURS | 0 (off) | --hosted only: download and parse the large files in the background at start and every N hours, one at a time, rebuilding any that would expire before the next pass. |
portugal-mcp --refresh downloads the large files ahead of time (Parliament, this year's contracts, EV chargers, timetables) and then exits.
python -m venv .venv && .venv/bin/pip install -e ".[dev]"
pytest # offline unit tests (fixtures, no network)
pytest -m live # hits every real source; CI runs this daily
ruff check .
CONTRIBUTING.md explains how features are laid out and the rules for adding a source. SECURITY.md explains how to report a vulnerability.
pip-audit.Deploy hosted endpoint workflow).This package merges four earlier servers by the same author, which are now deprecated: sns-portugal-mcp, portugal-medicines-mcp, portugal-fuel-ev-mcp and carris-metropolitana-mcp. Their tools continue here. The SNS, medicine and bus tools now carry a prefix (sns_, medicine_, bus_) so they stay unambiguous among the 47 tools.
MIT. The data belongs to its publishers and is used under their open-data terms; please credit them when you reuse it.