Developer documentation

MCP server

Beta · free to use

Connect an AI assistant to Vibe of the City through the Model Context Protocol. It can then look up a city’s week, find places and what stands at a spot, read a place from a link, and explain a city’s vibe. Once you sign in it can also read your trips, saved places and travel vibe, explain why a city fits you, plan your trips with you and save places for you.

These are the same tools Marvia, the app’s own AI guide, uses: what she can do for you in the app, your assistant can do here.

What you can ask

Three ways to connect

Connect by signing in

Step-by-step instructions for travellers, in every language the app speaks, are on Use Vibe of the City in ChatGPT, Claude or Gemini.

Claude

Customize → Connectors → Add custom connector, with the URL https://www.vibeofthe.city/api/public/mcp. Claude opens our sign-in; choose Allow, and the tools appear in the chat’s tool menu.

ChatGPT

Settings → Apps & Connectors → Create (developer mode), with the same URL and authentication set to OAuth. ChatGPT registers itself with us and opens our sign-in.

Gemini

On gemini.google.com, Settings → Connected apps → Custom apps → Add, with the same URL. Custom apps need a personal Google account on a Google AI Pro or Ultra plan and are still rolling out by country.

Other clients

Any MCP client that supports the MCP authorization spec finds everything on its own from the endpoint’s 401: the protected resource metadata, our authorization server at https://www.vibeofthe.city/.well-known/oauth-authorization-server, dynamic client registration, and authorization code with PKCE (S256). Access tokens last an hour and refresh for 30 days.

Connect with a key

Get a key

Sign in on vibeofthe.city, open Account → API keys and create a key. It is the same key as for the Travel API.

Tick Let AI assistants use my trips and saved places to make it a personal key. Without it, the key sees only public tools: cities, host guides and place search. Whether a key is personal is set when it is created; to change it, create a new key and revoke the old one.

A personal key acts as you. Anyone holding it can read your trips and saved places and add to them. Put it only into assistants you run yourself, and revoke it on the same page the moment you stop using one.

Use it

Send the key as a bearer token to https://www.vibeofthe.city/api/public/mcp. Any client that lets you set a request header works.

Claude Code

claude mcp add --transport http vibeofthecity https://www.vibeofthe.city/api/public/mcp \
  --header "Authorization: Bearer votc_live_…"

Cursor, Windsurf and most MCP clients

{
  "mcpServers": {
    "vibeofthecity": {
      "url": "https://www.vibeofthe.city/api/public/mcp",
      "headers": { "Authorization": "Bearer votc_live_…" }
    }
  }
}

VS Code

{
  "servers": {
    "vibeofthecity": {
      "type": "http",
      "url": "https://www.vibeofthe.city/api/public/mcp",
      "headers": { "Authorization": "Bearer votc_live_…" }
    }
  }
}

Claude Desktop

Through the mcp-remote bridge, in claude_desktop_config.json:

{
  "mcpServers": {
    "vibeofthecity": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://www.vibeofthe.city/api/public/mcp", "--header", "Authorization:${VOTC_AUTH}"],
      "env": { "VOTC_AUTH": "Bearer votc_live_…" }
    }
  }
}

Language

Add ?lang=de, es or hu to the URL for city and place data in that language. English is the default.

Tools

A connection lists only the tools it may use. Tools that change something tell your assistant so through MCP’s annotations, and the server tells it to check with you first; most clients also ask before running them.

ToolWhoArgumentsWhat it does
find_cityNo sign-in neededqueryLooks up a city Vibe of the City covers (hundreds, worldwide) by name and returns its city_slug and page. Call it first whenever another tool needs a city_slug; if the city isn't covered, answer from your own knowledge.
get_city_weekNo sign-in neededcity_slug, days?What is on in a city and the weather, day by day for up to 14 days from today: concerts, markets, festivals and local events, each with its source. Call it for "what's on this weekend", "is next week a good time for X" or to plan around rain. Cite the url it returns; events are as of generatedAt.
get_host_guideNo sign-in neededhost_slugA published host guide (a holiday flat, a hotel, a guide's page): check-in facts, house information such as wifi and parking, and the host's own tips with coordinates. Call it when the user is staying somewhere with a Vibe of the City guide and asks about the place or the host's tips.
search_placesNo sign-in neededquery, near_lat?, near_lng?, town?, limit?Finds places (cafés, museums, bars, parks, shops) or a street address by name or kind, optionally near a point or a town. Returns a place_ref for each place, which save_place and add_trip_idea take, and matching addresses with their coordinates. saved_by_like_minded, when present (signed in only), is how many travellers with a vibe like the user's saved that place; say so, it is what sets these apart from any map search. Each place in our catalogue carries its page url. Pass near_lat/near_lng to rank by distance, e.g. to resolve "the café next to X": search X first, then search "café" near its coordinates.
find_places_nearNo sign-in neededlat, lng, radius_m?, limit?The places right at a point, nearest first: cafés, bars, restaurants, sights and shops within a short walk. Use it to find which place a photo shows from the GPS it was taken at, or what is at coordinates the user gives. Returns a place_ref for the places we can pin (save_place, add_trip_idea, update_trip_idea); one without a place_ref can be added with add_new_place. saved_by_like_minded, when present, is how many travellers with a vibe like the user's saved that place.
list_my_tripsSigned in or personal keywhen?The user's trips (their own and ones they joined), with city and dates. Returns the trip_id get_trip and add_trip_idea take.
get_tripSigned in or personal keytrip_idOne trip's plan: the ideas scheduled per day (with time and place), ideas not yet on a day, and the shortlist of places. Use it for "what's next", "what's on Saturday" or before adding to a trip.
get_trip_balancesSigned in or personal keytrip_idWho paid what on a trip, who owes whom, and the fewest transfers that settle it. Read-only: expenses are added in the app. Use it for "who owes what" or "how much have we spent".
list_saved_placesSigned in or personal keycity_slug?, state?, query?Places the user saved as want-to-go or marked as been, with their notes, across every city and trip. Use it to recall "that tapas bar I saved in Madrid" or to suggest from the user's own list first, before any other recommendation.
save_placeSigned in or personal key · writesplace_ref, state?, note?, name?, lat?, lng?Saves a place to the user's want-to-go list or marks it as been, with an optional note. As when saving in the app, the user's contacts may see the save in their feed. Confirm the exact place with the user first. For a place_ref that does not start with "poi:", also pass the name, lat and lng search_places returned with it.
add_trip_ideaSigned in or personal key · writestrip_id, text, date?, time?, duration_minutes?, note?, place_ref?, name?, lat?, lng?Adds an idea to a trip: something to do, optionally on a day, at a time and for a length, optionally pinned to a place (place_ref) or to an address from search_places (name, lat, lng without a place_ref). Everyone on the trip sees it and may get a notification. Confirm the wording, day and time with the user first.
recommend_activitySigned in or personal key · writestrip_id, idea_id?, text?, url?, date?, verdict, publish?, tip?Logs an activity the user did on a trip — a tour, a tasting, a class, a boat trip, often a GetYourGuide or Viator link — with their verdict, and with publish true recommends it on the trip city's Things to do. An activity is not a place: it needs no pin and never has to be added as one. Pass idea_id when it is already on the plan (from get_trip), else text and url to add it. Ask how it was first; publish only when they say so. A published recommendation shows the activity, the link and their tip to everyone once we have reviewed it; their name only to their contacts.
update_trip_ideaSigned in or personal key · writestrip_id, idea_id, text?, date?, time?, duration_minutes?, note?, place_ref?, name?, lat?, lng?Changes something already on a trip's plan: its wording, day, time, length, note, or where it happens (a place_ref from search_places, or an address's name, lat and lng). Use it instead of add_trip_idea whenever the user means an item that is already there, e.g. "set the location of the ATP match"; get its idea_id from get_trip. Only set a time the user gave or a source confirmed. Everyone on the trip sees the change. Confirm it with the user first.
set_trip_staySigned in or personal key · writestrip_id, name, address?, lat?, lng?, check_in_date?, check_out_date?, check_in_time?, check_out_time?Records where the group sleeps on a trip: a hotel, a flat, and the nights it covers when known. Only the trip's members see it; it places their plan's distances. Use it when the user says where they stay or asks to add it, and confirm the name first.
add_trip_day_tripSigned in or personal key · writestrip_id, town, country_code?, date?Adds a day out to another town to a trip's route, optionally on one of its days. Everyone on the trip sees it. Confirm the town and the day with the user first.
plan_trip_daysSigned in or personal key · writestrip_id, dates?, wish?, avoid?, mode?Plans whole days of a trip with Vibe of the City's day planner: a timed sequence of real, open places in the town the group is in that day, built from what this traveller and people like them love, what they turned down, the weather and what is on. One day, or up to three together for a weekend. The draft shows on the trip's plan in the app; nothing is on the trip until add_planned_day. Planning a day again replaces its stops nobody added; mode "more" adds a few instead. A day somewhere else than the trip's town: add_trip_day_trip that day first. Uses one of the user's daily AI questions.
add_planned_daySigned in or personal key · writestrip_id, date?Puts a day drafted with plan_trip_days on the trip, every stop nobody added yet: places on the schedule at their times, the rest on the idea board. Everyone on the trip sees it and may get a notification. Only when the user says yes to the drafted day.
get_my_vibeSigned in or personal keynoneThe user's own travel vibe as they set it in Vibe of the City: the travel types they like or love, how they take crowds, heat and rain, who they travel with, budget, diet, what they seek, care about and avoid, the vibe dimensions they value most, and how far their profile is filled in. Read it before recommending cities or places, or when the user asks what their vibe is. It is the user's own data: describe it to them, never to others.
adapt_my_vibeSigned in or personal key · writeslike?, love?, interests?, values?, cares?, avoids?, liked_city_slug?, because, apply?Adapts the user's travel vibe from what they say they like ("I love the harbour, the ships, the fish restaurants by the water, and how clean it is") or from a city they say they like. Only ever adds or raises: it never lowers or removes what they set. Call it first without apply: that saves nothing and returns what would change and why. Tell them in a sentence or two what you would adapt and why, in their own words, and ask. Only when they agree, call it again with the same arguments and apply true. Read get_my_vibe first so you don't offer what they already have.
get_city_vibeNo sign-in neededcity_slugWhat a city is like for a traveller, on the vibe dimensions (calm, adventure, nature, food, sport, culture, social, family, romance, productivity, value, authenticity, safety, weather, beauty, sea): how strongly it delivers each over the year, a sentence of local knowledge where we have one, and classic places that prove it. Call it for "what is Porto like" or "is Lisbon good for food". Not personal; when the user is signed in, explain_city_match says how it fits them.
explain_city_matchSigned in or personal keycity_slugHow a city fits the user's travel vibe, and why: the match label, where what they value meets what the city delivers, where it falls short, what it offers beyond their priorities, and classic places that prove each point. Use it for "why does Lisbon suit me?" or "why not Ibiza?"; compare two cities by calling it for each. Say the match label in words; give a percent only when match_percent is not null.
compare_city_vibesSigned in or personal keycity_slugs, when?, with?The user's vibe score (0–100, the number Explore shows) for one to five cities over a time window — today, tomorrow, the weekend, this week, this month, or the year — and, when the user names friends, each friend's score and the group's (the mean pulled towards the lowest, so a city one of them would endure does not win). Use it for "what's the vibe score for Lisbon and Porto this week?" or "which city suits me, Anna and Tom best this month?". Friends must be the user's mutual contacts; any other name comes back under not_compared, and you say you can compare only with mutual contacts. A friend's score never comes with a reason: say how well a city fits them, never why. A null score is too little to go on: say so instead of a number.
where_to_staySigned in or personal keycity_slugWhere the user should stay in a covered city, from what people like them did: the parts of town where places like-minded travellers saved cluster (with how many lie within a ten-minute walk, and what kind), the user's own want-to-go places weighed in, and the hotels, guesthouses and holiday flats like-minded travellers or the user's contacts rated after staying. Call it before recommending where to stay. Recommend two or three areas first, each with how many like-minded places are near and one honest trade-off; then stays from this list; then, if you like, hotels search_places finds that clearly fit — saying no like-minded traveller has rated them yet. Name a holiday flat only from this list. Counts only: never name or describe a traveller. When thin is true, say few like-minded travellers have saved places there yet.
read_place_linkNo sign-in neededurlReads a place from a link the user shares: a map link (Google Maps, Apple Maps, OpenStreetMap) or the place's own website. Returns its name, address and coordinates when the link carries them; needs_name when it can't be read, so ask the user for the name. Then search_places for it, and only if it isn't there, add_new_place.
import_article_to_listSigned in or personal key · writesurl, confirmed_authorTurns a travel article the user wrote themselves (their blog post or guide, an https link) into a DRAFT list of the places it recommends, with their own sentences as notes and the dates it gives. Only for the user's own writing: ask them to confirm they wrote it before calling. Nothing is published; answer with how many places it found, which it couldn't place, and the edit_url where they check and publish it. Takes up to a minute.
add_new_placeSigned in or personal key · writesname, lat, lng, category?, address?, note?, state?Adds a place that is not on the map yet, and saves it for the user (want to go, or been). Only after search_places did not find it. The name must be the place's real name, never an address; the coordinates come from read_place_link, from an address search_places returned, or from the user. It becomes a place everyone can find, so confirm the name and where it is with the user first. Returns a place_ref for add_trip_idea and update_trip_idea.
get_app_helpNo sign-in needednoneHow Vibe of the City works and where things are: signing in, account and data, reporting and blocking, notifications and language, the travel vibe, the map, places, trips, tips, invites, Marvia, and how to reach a person. Read it before answering any question about the app, and answer only from it; when it doesn't say, say you aren't sure and offer report_problem or the contact address.
report_problemSigned in or personal key · writessummary, details?, trip_id?Sends the Vibe of the City team a bug or problem the user ran into, in their words: what happened, what they expected, and where in the app. A person reads every report. Use it when the user reports something broken or wrong in the app, after summing it up back to them and getting their yes. Not for reporting a person or a message — that is the report option on their profile or thread.

Places come back with a place_ref: poi:… for a place in our catalog, or osm:… for one found live in OpenStreetMap. Pass it on to save_place, add_trip_idea or update_trip_idea; for an osm: ref, pass its name and coordinates too. A place nobody has mapped yet can be added with add_new_place, after search_places and find_places_near came back without it.

What a write does

Limits during the beta

A key shares its allowance with the Travel API: 1000 calls per UTC day and bursts of 60, refilling 60 per minute. A signed-in assistant gets the same allowance of its own. Every MCP message counts as one call, so a session opening (initialize, tools/list) costs two or three and each tool use one. Over the allowance the server answers 429 with Retry-After. Before sign-in, public tool calls share one daily allowance across the whole server.

Protocol details

curl https://www.vibeofthe.city/api/public/mcp \
  -H "Authorization: Bearer votc_live_…" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"find_city","arguments":{"query":"Lisbon"}}}'

Discovery

The server describes itself at https://www.vibeofthe.city/.well-known/mcp.json (also at /.well-known/mcp/server-card.json): its endpoint, sign-in and every tool with its schema, for registries and clients that discover servers on their own. AI crawlers find it, and this page, from /llms.txt.

While it is a beta

Tools will be added; existing ones will not change meaning without notice to key holders by email. Questions, a bug, or a tool you are missing: hello@vibeofthe.city.

See also the Travel API, the terms of service and the privacy policy.