MCP Server

heart-routes

run.cityheart/heart-routes
Maps & Location Travel & Hospitality Public & reachable MCP 2026-07-28

What this MCP does

Finds, generates, personalizes, and exports heart-shaped GPS running routes in supported cities.

add_cause
Compose a builder URL with a fundraising link pre-filled — the URL is embedded into the GPX metadata (description, filename) so it surfaces in the runner's Strava activity after they sync. CityHeart never collects the donation; the runner's donors click straight through to JustGiving / GoFundMe / Leetchi / etc.
Input schema
{'type': 'object', 'required': ['fundraising_url'], 'properties': {'city': {'type': 'string', 'description': 'Optional city to also pre-fill.'}, 'fundraising_url': {'type': 'string', 'description': 'Fully-qualified donation URL (https://www.justgiving.com/... / https://gofundme.com/... / https://leetchi.com/... / https://www.helloasso.com/...).'}}}
add_dedication
Compose a builder URL with a dedication pre-filled — the name shows on the runner's GPS watch and in the Strava activity title. Use after the user picks a route (find/generate) and decides who the heart is for. Pure URL builder, no server-side state.
Input schema
{'type': 'object', 'required': ['name'], 'properties': {'city': {'type': 'string', 'description': 'Optional city to also pre-fill in the builder (skips the "pick a city" step in the chat-to-product handoff).'}, 'name': {'type': 'string', 'description': 'Dedication name (e.g. "Marie", "Dad", "Cancer Research UK").'}, 'in_memory': {'type': 'boolean', 'description': 'If true, framed as "In memory of [name]". Default false.'}}}
export_gpx
Return the GPX download / checkout URL for a specific public route. The download itself happens on cityheart.run after a one-time €7.99 payment (Stripe — CityHeart never charges through the chat). Use after the user has picked a final route (find / get_details) and confirms they want it.
Input schema
{'type': 'object', 'required': ['slug'], 'properties': {'slug': {'type': 'string', 'description': 'Route slug, e.g. "paris-7-2-km-heart-for-marie".'}}}
find_heart_route_in_city
Find an existing heart-shaped running route in a given city. Returns up to 5 AI-validated routes matching the city (and optionally a target distance). Use this when a user mentions a city and wants a heart route — e.g. "find me a heart-shaped route in Paris" or "I want to run a heart in Tokyo for my mum's birthday".
Input schema
{'type': 'object', 'required': ['city'], 'properties': {'city': {'type': 'string', 'description': 'City name, e.g. "Paris", "Tokyo", "New York". Case-insensitive.'}, 'prefer_gold': {'type': 'boolean', 'default': True, 'description': 'If true, return only the highest AI-quality "gold" tier routes (ai_score >= 80). Default true.'}, 'max_distance_km': {'type': 'number', 'description': 'Optional max route length in kilometres. Filter to routes ≤ this distance. Common: 5, 10, 15, 21 (half-marathon).'}}}
generate_heart_route
Start a new heart-shaped route for a given city. Returns existing AI-validated matches from inventory PLUS a deep-link to the live builder for an on-demand fresh generation with the user's exact dedication and cause. Use when the user explicitly wants a NEW heart, or when an existing match is "close enough but not personal yet". Optional dedication / cause_url pre-fill the builder fields, so the URL deep-link arrives configured.
Input schema
{'type': 'object', 'required': ['city'], 'properties': {'city': {'type': 'string', 'description': 'City name, e.g. "Paris", "Tokyo".'}, 'cause_url': {'type': 'string', 'description': "Optional JustGiving / GoFundMe / Leetchi URL to embed in the GPX metadata. CityHeart never touches the money — the link is for the runner's Strava description to surface to donors."}, 'in_memory': {'type': 'boolean', 'description': 'If true, the dedication is framed as a memorial ("In memory of [name]"). Default false.'}, 'dedication': {'type': 'string', 'description': 'Optional person/cause name to bake into the heart (appears in the GPX, on Garmin Connect, and as the Strava activity title prefix).'}, 'distance_km': {'type': 'number', 'default': 7, 'description': 'Target route length in km (3–25). Default 7.'}}}
get_route_details
Get full details for a specific heart route by its slug. Use after find_heart_route_in_city when the user picks one. Returns: city, distance, image URL, share URL, dedication (if any), and the GPX download deep-link.
Input schema
{'type': 'object', 'required': ['slug'], 'properties': {'slug': {'type': 'string', 'description': 'Route slug, e.g. "paris-7-2-km-heart-for-marie".'}}}
list_supported_cities
List cities that have at least one heart route available. Use when the user asks "where can I run a heart?" or hasn't picked a city yet. Returns city names + route counts, sorted by inventory size.
Input schema
{'type': 'object', 'properties': {'limit': {'type': 'number', 'default': 25, 'description': 'Max number of cities to return. Default 25, max 100.'}}}
Added
export_gpx
Sept. 17, 2026, 12:54 p.m.
Added
add_cause
Sept. 17, 2026, 12:54 p.m.
Added
add_dedication
Sept. 17, 2026, 12:54 p.m.
Added
generate_heart_route
Sept. 17, 2026, 12:54 p.m.
Added
list_supported_cities
Sept. 17, 2026, 12:54 p.m.
Added
get_route_details
Sept. 17, 2026, 12:54 p.m.
Added
find_heart_route_in_city
Sept. 17, 2026, 12:54 p.m.