A home-search portal in one prompt
"Build me a home search portal for Madrid", running on live data.
- You get: A working app in Claude or your code.
- Where: every country the products it uses cover.
- Cost: €9.00 a run · 225 tokens, per build.
- Status: runs today.
It uses Location Lookup, Property Sourcing and Area Insights. The plan names a country that one of them does not cover. Written for: Software or AI builder, Portal or classifieds.
Run in Claude
Add the one Casafari MCP server, https://platform.casafari.com/mcp, to Claude, ChatGPT or any MCP client (it carries Location Lookup, Area Insights and Property Sourcing), and sign in the first time you use it (a Free account, no card, is created then; console).
In Claude Code:
claude mcp add --transport http casafari https://platform.casafari.com/mcpThen ask:
Run the a home-search portal in one prompt playbook for Spain: call locations_search, then property-sourcing_search, then property-sourcing_next_page, then property-sourcing_get_property, then area-insights_get_time_series_data, in that order, and tell me what each step cost in tokens.Get the API calls
The same steps as REST calls, in order. Create a platform API key in the console and export it as CASAFARI_API_KEY; each call takes the parameters its operation documents in the REST reference.
# 1. Location Lookup, 0 tokens a call
curl -X GET https://platform.casafari.com/v1/locations/search \
-H "Authorization: Bearer $CASAFARI_API_KEY"
# 2. Property Sourcing, 50 tokens a call
curl -X POST https://platform.casafari.com/v1/property-sourcing/searches \
-H "Authorization: Bearer $CASAFARI_API_KEY"
# 3. Property Sourcing, 50 tokens a call
curl -X GET https://platform.casafari.com/v1/property-sourcing/searches/{cursor} \
-H "Authorization: Bearer $CASAFARI_API_KEY"
# 4. Property Sourcing (10 times), 10 tokens a call
curl -X GET https://platform.casafari.com/v1/property-sourcing/properties/{property_id} \
-H "Authorization: Bearer $CASAFARI_API_KEY"
# 5. Area Insights, 25 tokens a call
curl -X POST https://platform.casafari.com/v1/area-insights/time-series \
-H "Authorization: Bearer $CASAFARI_API_KEY"The steps, and what each costs
| # | Step | Product | Tokens |
|---|---|---|---|
| 1 | locations_search | Location Lookup | 0 |
| 2 | property-sourcing_search | Property Sourcing | 50 |
| 3 | property-sourcing_next_page | Property Sourcing | 50 |
| 4 | property-sourcing_get_property × 10 | Property Sourcing | 100 |
| 5 | area-insights_get_time_series_data | Area Insights | 25 |
One run: €9.00, 225 tokens at €0.04 each. Each call costs the same over MCP and REST, so the run always costs what the table says. How many tokens your volume needs, and plans and credits.
Other playbooks
- Competitor map: Know who wins listings in my area, and where. €7.00 a run · 175 tokens.
- Valuation in a minute: An indicative value with comparables, before the visit. €2.20 a run · 55 tokens.
- Price-position badge: Show buyers whether each listing is priced above or below the market. €1.00 a run · 25 tokens.
- Check the AI's shortlist: Paste five links, get each home's evidence side by side. €8.00 a run · 200 tokens.
- All playbooks and the calculator