Technical reference for the ubi connector, an MCP server that lets an AI assistant read and, if the user allows it, change their ubi data. To connect an assistant, see Use ubi with your AI assistant.

Setup

Permissions

A Write tool called with a read-only grant returns HTTP 403 with error="insufficient_scope" in WWW-Authenticate, so the client can ask the user for more access. Every tool sees only what the user can see in the ubi app. Users can see and disconnect their connected assistants at connect.ubiplaces.com; a disconnected grant stops working at once.

Classifications

Each tool also carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) and a title. No tool sends messages, follows people, uploads photos or videos, takes payments, or deletes pins, collections or accounts.

Read tools

ToolWhat it returnsInputs
get_meThe user's own profile: id, user name, full name, bio, whether the profile is public, default pin visibilitynone
search_pinsPins by the user and people they follow whose text, label or place name matchesquery, limit
search_collectionsCollections by the user and people they follow, by name or descriptionquery, limit
search_peopleubi users by user name or full name, public profile fields onlyquery, limit
search_placesPlaces already in ubi by name, nearest first when a point is givenquery, latitude, longitude, radius_km, limit
pins_nearPins within a radius of a point, nearest first, by the user and people they follow, or everyone the user may seelatitude, longitude, radius_km, who, limit
get_pinOne pin with its place, creator, rating, visibility, links and media countspin_id
get_pin_mediaA pin's photos as images, and videos or large photos as links that expire after 15 minutespin_id, max_photos
get_placeA place's details, opening hours, vibe tags, and pins at it by the user and people they followplace_id
list_user_pinsA user's pins, newest first (empty for a private profile the user may not view)user, limit
list_collectionsA user's collections with visible pin countsuser, name_contains, limit
get_collectionA collection and the pins in it the user can seecollection_id, limit
list_saved_pinsThe user's saved pinslimit
get_profileA user's profile, counts, and connection to the signed-in useruser
list_followingPeople a user followsuser, limit
list_followersPeople who follow a useruser, limit
get_feedRecent activity from the user and people they follow, newest first, with a cursor for older eventslimit, cursor
recommend_pinsPersonalised pin recommendations for an area or overall, each with a reasonlatitude, longitude, radius_km
recommend_placesRecommended places, each with a reasonlatitude, longitude, radius_km
recommend_collectionsRecommended collections by other people, each with a reasonlatitude, longitude, radius_km, limit
recommend_peoplePeople to follow, with a reason and mutual connectionslatitude, longitude, radius_km, limit
get_taste_profileWhat ubi has learned the user likes: place categories, vibe tags and citiesnone
find_google_placeUp to 5 Google Maps candidates for a place not yet in ubi, each with an address and a google_place_id for create_pin. Calls Google; changes nothingquery, latitude, longitude

Write tools

ToolClassWhat it does and its side effectsInputs
create_pinSensitive writePins a place for the user. Visible at once to the chosen audience (only me, followers or everyone) and shown in followers' feeds unless "only me". If the user already has a pin at the place, returns it and creates nothingplace_id or google_place_id, description, label, rating, have_been_here, visibility
update_pinSensitive writeChanges the user's own pin. Only the fields given change. A visibility change takes effect at once and can show the pin to more peoplepin_id, description, label, rating, have_been_here, visibility
create_collectionSensitive writeCreates a collection, visible to the user's followers (everyone for a public profile). If one with the same name exists, returns itname, description
add_to_collectionSensitive writeAdds a pin the user can see to one of the user's collections, where the collection's viewers can see it. Adding twice is harmlesscollection_id, pin_id
remove_from_collectionWriteTakes a pin out of one of the user's collections. The pin itself is not deletedcollection_id, pin_id
save_pinWriteSaves (bookmarks) a pin for the user. Private to the user. Saving twice is harmlesspin_id
unsave_pinWriteRemoves a pin from the user's saved pins. The pin is not changedpin_id
dismiss_recommendationWriteHides a pin, place, collection or person from the user's recommendations (a person for 90 days). Private to the userkind, subject_id

Every write returns the resulting object, so the outcome is confirmed, not assumed. create_pin and create_collection return an existing item instead of creating a duplicate, and the other writes are idempotent, so a retry after an uncertain result is safe.

Errors and status

Rate limits

Data and privacy

The connector reads and writes the user's ubi data only to answer their requests. find_google_place sends the search words, and the area if given, to Google. ubi logs which tool was called, when, whether it worked and the type of any error, not the request, the results or the error message, and deletes those log entries after about 90 days. See how ubi handles connected assistants.

Contact

Support and security: support@ubiplaces.com.

Back to Use ubi with your AI assistant