Loksa.camp
Developer & AI

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 public MCP server exposes four tools your AI agent can call directly. No API key required. Booking still requires the user to log in — the tools generate a pre-filled URL the user opens in their browser. If there are no public listings at the moment, search tools return an empty result rather than sample data.

MCP endpoint
https://loksa.camp/api/mcp

Available tools

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

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 four tools appear automatically.

Cursor / Windsurf setup

Go to Settings → MCP → Add Server and paste:

https://loksa.camp/api/mcp

Example conversation

This example mirrors the current public API behavior when no camper listings are live.

YouFind me a camper near Tallinn for 2 people from April 20–25, pets allowed.
Claudesearch_campers({location:"Tallinn", start_date:"2026-04-20", end_date:"2026-04-25", min_capacity:2, pets_allowed:true})
ClaudeNo campers are currently available for those filters. The public inventory is empty right now, so I cannot generate a booking link yet.
YouCan I still connect the integration now?
ClaudeYes. The MCP and REST endpoints are live now; they will return public campers automatically as soon as listings are published.

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=100

Deep-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-DD

Get 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