Integrations
Connect your AI assistant, agent, or app directly to loksa.camp. Query the current public camper inventory, check availability for valid public listings, and generate booking links when listings are live.
MCP Server (Model Context Protocol)
For Claude Desktop, Cursor, Windsurf, Cline, and any MCP-compatible AI client
Our MCP server has two tiers. Public discovery tools need no API key — renter booking still requires login, so those tools generate a pre-filled URL the user opens in their browser. Host tools (create bookings, locate your camper) require your personal host token. If there are no public listings at the moment, search tools return an empty result rather than sample data.
https://loksa.camp/api/mcpPublic tools · no auth
search_campers
Filter by location, dates, capacity, price, pets
get_camper
Full spec sheet and pricing for a camper by slug
check_availability
Real-time conflict check + full price quote
start_booking
Generate a pre-filled booking URL for the user
get_demand_insights
Renter search demand + suggested price for a location
Host toolstoken required
These act on your own account. Generate a personal token at Profile → AI assistant access (MCP) and send it as an Authorization: Bearer header. They only appear to a client that presents a valid token.
list_my_campers
Your campers with ids, price and location
create_manual_booking
Record an offline booking on one of your campers
where_is_my_camper
Live GPS location, map link, battery and status
Claude Desktop setup
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"mcpServers": {
"loksa-camp": {
"url": "https://loksa.camp/api/mcp",
"transport": "streamable-http"
}
}
}Restart Claude Desktop after saving. The public tools appear automatically.
Add host tools (authenticated)
To also expose your host tools, add your token as an Authorization header:
{
"mcpServers": {
"loksa-camp": {
"url": "https://loksa.camp/api/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer <your host token>"
}
}
}
}Cursor / Windsurf setup
Go to Settings → MCP → Add Server and paste:
https://loksa.camp/api/mcpExample conversation
This example mirrors the current public API behavior when no camper listings are live.
REST API
Simple JSON endpoint — no authentication, no SDK needed
For lightweight integrations, scripts, or when MCP is not available. This endpoint returns the same public inventory as the website and may legitimately return zero results when no listings are live.
GET https://loksa.camp/api/ai/campers
# Optional query parameters:
# location – e.g. Tallinn, Riga, Vilnius
# max_price – maximum price per day (EUR)
# min_capacity – minimum sleeping capacity
# Example:
GET https://loksa.camp/api/ai/campers?location=Tallinn&min_capacity=2&max_price=100Deep-link Booking URLs
Pre-fill camper and dates in any link
Send users directly to a pre-filled booking page. If they are not logged in they are redirected to sign in and then returned automatically. Only generate deep links from a valid public camper returned by the REST API or MCP tools.
https://loksa.camp/booking/confirm
?camper_id=<uuid>
&start_date=YYYY-MM-DD
&end_date=YYYY-MM-DDGet camper UUIDs from the REST API or MCP search_campers tool. Dates are inclusive (check-in and check-out both count as rental days).
Machine-readable resources
For web crawlers, AI training pipelines and LLM indexers
Building something?
Reach out if you want to build a deeper integration, get access to the webhook stream, or partner with us.
Get in touch