madeira.fun Hiking Permits is an MCP server published by fun.madeira, hosted at madeira.fun. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 8 tools, including list_permit_trails, check_trail_availability, get_start_times, get_permit_fees, build_booking_link.
Madeira hiking permit trails: availability for 120 days, fees, booking links and reservations.
181 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the Madeira trails that need a government hiking permit for a set start time and can be reserved on madeira.fun. Returns each trail's seo_slug (use it in the other tools), code (such as PR 18 or PS PR 1), name, island, official trail status, trail page and day feed links. Optional query filters by code or name, accents ignored.
| Parameter | Type | Description |
|---|---|---|
| query | string | Optional filter: a code such as "PR 18" or a name such as "Pico Ruivo". |
{
"name": "list_permit_trails",
"title": "List Permit Trails",
"description": "List the Madeira trails that need a government hiking permit for a set start time and can be reserved on madeira.fun. Returns each trail's seo_slug (use it in the other tools), code (such as PR 18 or PS PR 1), name, island, official trail status, trail page and day feed links. Optional query filters by code or name, accents ignored.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 120,
"description": "Optional filter: a code such as \"PR 18\" or a name such as \"Pico Ruivo\"."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List Permit Trails",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Day-by-day permit availability for one trail, from today up to 119 days ahead (Madeira dates). Each day is open (start times left for visitors), full (sold out for visitors), started (today only: every start time has already begun, nothing is left to book today; not sold out), closed, no_times (no start times listed) or unknown (not checked yet), with permits left for visitors and when it was last checked. Use date for one day, or from and to for a range; the default is the next 7 days. For the start times of a day, use get_start_times.
| Parameter | Type | Description |
|---|---|---|
| to | string | Last day of a range (YYYY-MM-DD, a Madeira calendar date). |
| date | string | One day (YYYY-MM-DD, a Madeira calendar date). |
| from | string | First day of a range (YYYY-MM-DD, a Madeira calendar date). |
| trail * | string | The trail: its seo_slug from list_permit_trails (preferred), a code such as "PR 18", "PR18" or "PS PR1", or a name such as "Levada do Rei". Accents are ignored. |
{
"name": "check_trail_availability",
"title": "Check Trail Availability",
"description": "Day-by-day permit availability for one trail, from today up to 119 days ahead (Madeira dates). Each day is open (start times left for visitors), full (sold out for visitors), started (today only: every start time has already begun, nothing is left to book today; not sold out), closed, no_times (no start times listed) or unknown (not checked yet), with permits left for visitors and when it was last checked. Use date for one day, or from and to for a range; the default is the next 7 days. For the start times of a day, use get_start_times.",
"inputSchema": {
"type": "object",
"required": [
"trail"
],
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of a range (YYYY-MM-DD, a Madeira calendar date)."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "One day (YYYY-MM-DD, a Madeira calendar date)."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of a range (YYYY-MM-DD, a Madeira calendar date)."
},
"trail": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The trail: its seo_slug from list_permit_trails (preferred), a code such as \"PR 18\", \"PR18\" or \"PS PR1\", or a name such as \"Levada do Rei\". Accents are ignored."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check Trail Availability",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Give trail (required without a partner key). The start times of a trail with the permits left for visitors at each one (as the trail page shows them: a number from 6 up, "few" at 1 to 5, "full" at 0), and a book_url per open start time that opens Reserve on madeira.fun at that time. Today up to 119 days ahead: give trail and date, or from and to (up to 14 days per call). Further ahead, up to 180 days: one trail and one date per call. Start times that have already begun today are never listed. Rate limited; a partner key (Authorization: Bearer mfk_...) gives higher limits, longer ranges and every trail at once (omit trail).
| Parameter | Type | Description |
|---|---|---|
| to | string | Last day of a range (YYYY-MM-DD, a Madeira calendar date). |
| date | string | One day (YYYY-MM-DD, a Madeira calendar date). |
| from | string | First day of a range (YYYY-MM-DD, a Madeira calendar date). |
| trail | string | The trail: its seo_slug from list_permit_trails (preferred), a code such as "PR 18", "PR18" or "PS PR1", or a name such as "Levada do Rei". Accents are ignored. Required, except for a partner key asking for every trail. |
{
"name": "get_start_times",
"title": "Get Start Times",
"description": "Give trail (required without a partner key). The start times of a trail with the permits left for visitors at each one (as the trail page shows them: a number from 6 up, \"few\" at 1 to 5, \"full\" at 0), and a book_url per open start time that opens Reserve on madeira.fun at that time. Today up to 119 days ahead: give trail and date, or from and to (up to 14 days per call). Further ahead, up to 180 days: one trail and one date per call. Start times that have already begun today are never listed. Rate limited; a partner key (Authorization: Bearer mfk_...) gives higher limits, longer ranges and every trail at once (omit trail).",
"inputSchema": {
"type": "object",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of a range (YYYY-MM-DD, a Madeira calendar date)."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "One day (YYYY-MM-DD, a Madeira calendar date)."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of a range (YYYY-MM-DD, a Madeira calendar date)."
},
"trail": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The trail: its seo_slug from list_permit_trails (preferred), a code such as \"PR 18\", \"PR18\" or \"PS PR1\", or a name such as \"Levada do Rei\". Accents are ignored. Required, except for a partner key asking for every trail."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get Start Times",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The government hiking permit fee records in force today (format MF-PRC-1.0, the same records as https://madeira.fun/hiking/permit-data), with legal references and exemptions. Give trail to get the fee that applies to that trail. The fee is paid to the government, never to madeira.fun.
| Parameter | Type | Description |
|---|---|---|
| trail | string | Optional. The trail: its seo_slug from list_permit_trails (preferred), a code such as "PR 18", "PR18" or "PS PR1", or a name such as "Levada do Rei". Accents are ignored. |
{
"name": "get_permit_fees",
"title": "Get Permit Fees",
"description": "The government hiking permit fee records in force today (format MF-PRC-1.0, the same records as https://madeira.fun/hiking/permit-data), with legal references and exemptions. Give trail to get the fee that applies to that trail. The fee is paid to the government, never to madeira.fun.",
"inputSchema": {
"type": "object",
"properties": {
"trail": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Optional. The trail: its seo_slug from list_permit_trails (preferred), a code such as \"PR 18\", \"PR18\" or \"PS PR1\", or a name such as \"Levada do Rei\". Accents are ignored."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get Permit Fees",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Build the link a visitor opens to book a permit: https://madeira.fun/hiking/<seo_slug>?date=YYYY-MM-DD opens that date's start times on the trail page. Optional adults (visitors aged 13 or over who are not Madeira residents) and children (aged 12 or under, no fee) preset the party; lang sets the page language. The link books and stores nothing. On the page the visitor picks a start time and presses Reserve: madeira.fun submits the government reservation for them and emails a PayPay link to pay the government fee.
| Parameter | Type | Description |
|---|---|---|
| date * | string | The hike date (YYYY-MM-DD, a Madeira calendar date). |
| lang | string | Page language. |
| trail * | string | The trail: its seo_slug from list_permit_trails (preferred), a code such as "PR 18", "PR18" or "PS PR1", or a name such as "Levada do Rei". Accents are ignored. |
| adults | integer | Visitors aged 13 or over who are not Madeira residents (they pay the government fee). |
| children | integer | Visitors aged 12 or under who are not Madeira residents (no fee, still part of the reservation). |
{
"name": "build_booking_link",
"title": "Build Booking Link",
"description": "Build the link a visitor opens to book a permit: https://madeira.fun/hiking/<seo_slug>?date=YYYY-MM-DD opens that date's start times on the trail page. Optional adults (visitors aged 13 or over who are not Madeira residents) and children (aged 12 or under, no fee) preset the party; lang sets the page language. The link books and stores nothing. On the page the visitor picks a start time and presses Reserve: madeira.fun submits the government reservation for them and emails a PayPay link to pay the government fee.",
"inputSchema": {
"type": "object",
"required": [
"trail",
"date"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The hike date (YYYY-MM-DD, a Madeira calendar date)."
},
"lang": {
"enum": [
"en",
"pt",
"es",
"de",
"fr",
"ru",
"lv",
"it",
"pl",
"ro",
"nl",
"cs",
"da",
"sv",
"no",
"fi",
"hu",
"tr"
],
"type": "string",
"description": "Page language."
},
"trail": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The trail: its seo_slug from list_permit_trails (preferred), a code such as \"PR 18\", \"PR18\" or \"PS PR1\", or a name such as \"Levada do Rei\". Accents are ignored."
},
"adults": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "Visitors aged 13 or over who are not Madeira residents (they pay the government fee)."
},
"children": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "Visitors aged 12 or under who are not Madeira residents (no fee, still part of the reservation)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build Booking Link",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Step 1 of 2 to reserve a Madeira hiking permit for a visitor through madeira.fun. Before calling, tell the visitor these three points in your own words and get their yes: (1) madeira.fun creates a madeira.fun account with the visitor's email address (or signs in the one they already have). (2) madeira.fun sends that email address and the party size to the Madeira government's Simplifica system (IFCN), which issues the permit. The name stays with madeira.fun. (3) Reserving is not paying: the government's PayPay payment link arrives by email, and the visitor must pay the permit fee to the government within 24 hours, or before the start time if that is sooner, or the reservation lapses. madeira.fun charges nothing and never collects the permit fee. This step checks the start time and emails the visitor a 6-digit code from madeira.fun; nothing is reserved yet. Then ask the visitor for the code and call confirm_reservation. Standard visitor reservations only (no Madeira residents, no Verified Permit): for those use build_booking_link. Today up to 119 days ahead. At most 3 codes per email per hour. For apps calling from a server: a call from a web page is refused.
| Parameter | Type | Description |
|---|---|---|
| date * | string | The hike date (YYYY-MM-DD, a Madeira calendar date). |
| lang | string | Language of madeira.fun's emails (default en). |
| name * | string | The visitor's name, for their madeira.fun reservation (madeira.fun keeps it; the government gets the email and the party size). |
| email * | string | The visitor's email: madeira.fun sends the code there, creates or signs in their madeira.fun account with it, and the government's payment link and permit go there. Not an Apple Hide My Email address. |
| trail * | string | The trail: its seo_slug from list_permit_trails (preferred), a code such as "PR 18", "PR18" or "PS PR1", or a name such as "Levada do Rei". Accents are ignored. |
| adults | integer | Visitors aged 13 or over who are not Madeira residents (each pays the government fee). |
| children | integer | Visitors aged 12 or under who are not Madeira residents (no fee, still part of the reservation). |
| start_time * | string | The begin of an open start time from get_start_times, HH:MM (Madeira time). |
| visitor_agreed * | boolean | true only after the visitor heard the three points in this tool's description and said yes. The emailed code is what confirms it. |
{
"name": "start_reservation",
"title": "Start a Permit Reservation",
"description": "Step 1 of 2 to reserve a Madeira hiking permit for a visitor through madeira.fun. Before calling, tell the visitor these three points in your own words and get their yes: (1) madeira.fun creates a madeira.fun account with the visitor's email address (or signs in the one they already have). (2) madeira.fun sends that email address and the party size to the Madeira government's Simplifica system (IFCN), which issues the permit. The name stays with madeira.fun. (3) Reserving is not paying: the government's PayPay payment link arrives by email, and the visitor must pay the permit fee to the government within 24 hours, or before the start time if that is sooner, or the reservation lapses. madeira.fun charges nothing and never collects the permit fee. This step checks the start time and emails the visitor a 6-digit code from madeira.fun; nothing is reserved yet. Then ask the visitor for the code and call confirm_reservation. Standard visitor reservations only (no Madeira residents, no Verified Permit): for those use build_booking_link. Today up to 119 days ahead. At most 3 codes per email per hour. For apps calling from a server: a call from a web page is refused.",
"inputSchema": {
"type": "object",
"required": [
"trail",
"date",
"start_time",
"name",
"email",
"visitor_agreed"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The hike date (YYYY-MM-DD, a Madeira calendar date)."
},
"lang": {
"enum": [
"en",
"pt",
"es",
"de",
"fr",
"ru",
"lv",
"it",
"pl",
"ro",
"nl",
"cs",
"da",
"sv",
"no",
"fi",
"hu",
"tr"
],
"type": "string",
"description": "Language of madeira.fun's emails (default en)."
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "The visitor's name, for their madeira.fun reservation (madeira.fun keeps it; the government gets the email and the party size)."
},
"email": {
"type": "string",
"maxLength": 254,
"description": "The visitor's email: madeira.fun sends the code there, creates or signs in their madeira.fun account with it, and the government's payment link and permit go there. Not an Apple Hide My Email address."
},
"trail": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The trail: its seo_slug from list_permit_trails (preferred), a code such as \"PR 18\", \"PR18\" or \"PS PR1\", or a name such as \"Levada do Rei\". Accents are ignored."
},
"adults": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "Visitors aged 13 or over who are not Madeira residents (each pays the government fee)."
},
"children": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "Visitors aged 12 or under who are not Madeira residents (no fee, still part of the reservation)."
},
"start_time": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"maxLength": 5,
"description": "The begin of an open start time from get_start_times, HH:MM (Madeira time)."
},
"visitor_agreed": {
"type": "boolean",
"description": "true only after the visitor heard the three points in this tool's description and said yes. The emailed code is what confirms it."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Start a Permit Reservation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Step 2 of 2: with the code the visitor got by email, Madeira Fun signs them in and books exactly what start_reservation described. The answer gives order_id and status_token. The reservation is not paid: madeira.fun then emails the government's PayPay link, and the visitor must pay the permit fee to the government within 24 hours, or before the start time if that is sooner, or it lapses. Safe to retry: calling it again with the same reservation_token returns the same order and never books twice (also after a lost answer). At most 5 reservations per email per day through apps.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code from the madeira.fun email, digits only. |
| reservation_token * | string | The reservation_token start_reservation returned, unchanged. |
{
"name": "confirm_reservation",
"title": "Confirm a Permit Reservation",
"description": "Step 2 of 2: with the code the visitor got by email, Madeira Fun signs them in and books exactly what start_reservation described. The answer gives order_id and status_token. The reservation is not paid: madeira.fun then emails the government's PayPay link, and the visitor must pay the permit fee to the government within 24 hours, or before the start time if that is sooner, or it lapses. Safe to retry: calling it again with the same reservation_token returns the same order and never books twice (also after a lost answer). At most 5 reservations per email per day through apps.",
"inputSchema": {
"type": "object",
"required": [
"reservation_token",
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 12,
"description": "The code from the madeira.fun email, digits only."
},
"reservation_token": {
"type": "string",
"maxLength": 3000,
"description": "The reservation_token start_reservation returned, unchanged."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Confirm a Permit Reservation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Where a reservation made with confirm_reservation stands: being reserved, waiting for payment (with the government's PayPay link, the amount and the deadline), paid, not taken, cancelled or lapsed. Needs order_id and status_token from confirm_reservation.
| Parameter | Type | Description |
|---|---|---|
| order_id * | string | order_id from confirm_reservation. |
| status_token * | string | status_token from confirm_reservation. |
{
"name": "get_reservation_status",
"title": "Get Reservation Status",
"description": "Where a reservation made with confirm_reservation stands: being reserved, waiting for payment (with the government's PayPay link, the amount and the deadline), paid, not taken, cancelled or lapsed. Needs order_id and status_token from confirm_reservation.",
"inputSchema": {
"type": "object",
"required": [
"order_id",
"status_token"
],
"properties": {
"order_id": {
"type": "string",
"maxLength": 36,
"description": "order_id from confirm_reservation."
},
"status_token": {
"type": "string",
"maxLength": 200,
"description": "status_token from confirm_reservation."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get Reservation Status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}madeira.fun publishes availability for Madeira's permit trails: the classified walking routes that need a government permit for a set start time. Typical flow: list_permit_trails to find a trail and its seo_slug, check_trail_availability for the day or days (open, full, started, closed, no_times or unknown, with permits left for visitors; full means sold out for visitors, started means every start time today has already begun), get_start_times for the start times of a day with the permits left at each (and a book_url per open start time that opens Reserve at that time), get_permit_fees for the government fee, and build_booking_link for the link the visitor opens. get_start_times is rate limited: one trail at a time, up to 14 days per call from today to 119 days ahead, or one date at a time up to 180 days ahead. A partner key (Authorization: Bearer mfk_..., on request at support@madeira.fun) gives higher limits, longer ranges and every trail at once. Dates are Madeira calendar dates (Atlantic/Madeira), from today up to 119 days ahead. Availability changes all the time: each day carries checked_at, the time of its last check. Exact start times are not part of this answer: get_start_times gives them (one trail at a time, rate limited), and book_url opens that date's start times on the trail page. How booking works: Madeira Fun books hiking permits for you. On the trail page the visitor picks a start time and the party and presses Reserve; Madeira Fun reserves the permit, then emails a PayPay link, and the visitor pays the permit fee directly to the government. Madeira Fun never collects the permit fee. No account is needed to look; at Reserve the visitor confirms the email address the permit is sent to, or signs in. Visitors can also book on their own on the government's Simplifica portal: https://simplifica.madeira.gov.pt/services/78-82-259 Reserving for a visitor takes two steps. Before start_reservation, tell the visitor, in your words, and get their yes: 1. madeira.fun creates a madeira.fun account with the visitor's email address (or signs in the one they already have). 2. madeira.fun sends that email address and the party size to the Madeira government's Simplifica system (IFCN), which issues the permit. The name stays with madeira.fun. 3. Reserving is not paying: the government's PayPay payment link arrives by email, and the visitor must pay the permit fee to the government within 24 hours, or before the start time if that is sooner, or the reservation lapses. madeira.fun charges nothing and never collects the permit fee. start_reservation (trail, date, an open start time from get_start_times, adults, children, name, email, visitor_agreed) emails the visitor a code from madeira.fun; nothing is reserved yet. confirm_reservation (reservation_token, code) reserves the permit for the visitor. get_reservation_status shows the government's PayPay link and deadline once the government accepts it. Never say a permit is booked or paid before get_reservation_status says so. Limits: 3 codes per email per hour and 5 reservations per email per day through apps. Madeira residents and the Verified Permit are reserved on madeira.fun itself (build_booking_link). Permits left are estimates, never an exact count (permits_left_is_estimate). Say "about" and treat a small number as "a few". An open trail can carry conditions (one-way sections, a closed branch, a passable stretch only): when status_has_conditions is true, route_conditions types them in English (two_way_section, one_way, partial_route, closed_branch) and status_detail and route_pt hold IFCN's own words in Portuguese. Tell the visitor. To decide whether a day can be booked, use the day states (check_trail_availability, get_start_times; in the open feeds days_7d and earliest_bookable_date / bookable_days_*): they apply the same check as Reserve. The feeds' older fields earliest_available_date and available_days_* are summaries under the original rule and can differ. There is no cha
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.