Claro AI is a separate MCP server provided by Casafari, not part of https://mcp.casafari.com/. Its address on the platform is https://platform.casafari.com/mcp/claro: Streamable HTTP, a platform API key or the platform's OAuth, metered in platform units. How to connect.
Over REST: POST /v1/search (equivalent). MCP and REST compared.
What does Search commercial premises do?
Find shops, restaurant premises, offices, warehouses and other commercial premises for rent or sale anywhere in Spain. Describe the site in plain words in any language (brief), send criteria as data, or both (criteria override the brief). Returns exact counts (matching, all criteria stated, some not stated), the criteria as understood, and the best results: each with its data, what was met and what its text does not state, the sentence that matched, its coordinates (exact, or snapped to the centre of a ~500 m cell and marked approximate when the agency hides the address; none when it has no pin), a fit verdict read from its text, location figures when your account has location access (footfall, residents, nearby places, and in location the footfall split by weekday/weekend, time of day and where the activity comes from live, plus residents by age, households by income and spending power, each null when not stated or unknown, never 0 for unknown; location_sources gives each figure's unit, source and vintage, and when it was computed), and the agency's own listing link. Our fit verdict is one input: every raw figure is there for your own scoring. Up to 200 results a page (50 with a publishable key). next_cursor gets the next page: send it as cursor (alone, with limit if you like); the order is fixed when the search runs and stays the same for its 24 hours, so pages never repeat or skip a premises. page gives offset, limit and the total ranked. The read-through (check) runs only for pages of up to 50. Keep search_id to refine. Keywords only, no model: send just criteria.keywords and/or exclude_keywords (plus any data criteria) with no brief and check: false, e.g. {"criteria": {"operation": "rent", "cities": ["madrid"], "keywords": [["salida de humos", "sortida de fums"], ["esquina", "chaflán"]], "exclude_keywords": ["se traspasa"]}, "check": false}; each keyword group met carries the sentence that matched (evidence) and the phrase it holds (matched).
Which parameters does search_premises take?
briefstringcriteriaobject53 properties
operationstringrent sale eithercitiesstring[]provincesstring[]52 allowed values
a-coruna alava albacete alicante almeria asturias avila badajoz barcelona burgos caceres cadiz cantabria castellon ceuta ciudad-real cordoba cuenca girona granada guadalajara guipuzcoa huelva huesca islas-baleares jaen la-rioja las-palmas leon lleida lugo madrid malaga melilla murcia navarra ourense palencia pontevedra salamanca santa-cruz-de-tenerife segovia sevilla soria tarragona teruel toledo valencia valladolid vizcaya zamora zaragozadistrictsstring[]typesstring[]hotel retail warehouse industrial office other_commercialarea_minnumberarea_maxnumberprice_minnumberprice_maxnumberrent_price_minnumberrent_price_maxnumbersale_price_minnumbersale_price_maxnumberprice_m2_minnumberprice_m2_maxnumberrent_price_m2_minnumberrent_price_m2_maxnumbersale_price_m2_minnumbersale_price_m2_maxnumberstreet_levelbooleanfrontage_min_mnumberfrontage_max_mnumberfloors_minnumberfloors_maxnumberceiling_min_mnumbersmoke_extractionbooleancornerbooleanshop_windowbooleanopen_planbooleanstep_freebooleanloading_accessbooleanlicencestringfood_service retail office gym nonelicence_activitiesstring[]transfer_price_minnumbertransfer_price_maxnumberbusiness_transferbooleanbusiness_typesstring[]keywordsstring[][]exclude_keywordsstring[]footfall_minnumberpop_walk10_minnumberpop_drive10_minnumbertransit_minnumbercompetitors_maxobject[]2 properties
kindstringrequiredrestaurants fast_food cafes shops supermarkets gymsmaxnumberrequiredown_stores_away_mnumbercompetitors_near_maxobject[]max businesses of a segment (or of the named chains) within within_m straight-line metres (1-1,000), from Overture Maps places. A property with an approximate pin gets no verdict.4 properties
segmentstringrequiredgym burger fast_food coffee bakery pharmacy supermarket fashion pizzawithin_mnumberrequiredmaxnumberrequiredchainsstring[]spending_per_resident_minnumberhigh_income_share_minnumberage_shares_minobject[]2 properties
bandstringrequired0_14 15_29 30_44 45_59 60pmin_pctnumberrequiredmeaningstringsortstringbest price_asc price_desc area_desc footfall_desc supply_gapgap_segmentstringgym burger fast_food coffee bakery pharmacy supermarket fashion pizzagap_radius_minteger300 600limitintegercursorstringcheckbooleaninsightsbooleaninsights, charts as data over every match, each with a one-sentence answer, its count, scope, source and date: per criterion how many matches meet it, leave it unsaid or contradict it (and how many would state everything without it); with one price limit, what it reaches among premises of this kind and place before the limit, else what the matches ask per m²; and where the matches are by district or town. Asking prices; each unit counted once.How do I call search_premises?
Required arguments only, with placeholder values. Your assistant fills them in from the parameters above.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_premises",
"arguments": {
"brief": "…"
}
}
}