Bikepackia MCP server
Last verified
Bikepackia's MCP server gives any MCP-compatible AI client four tools: planRoute, refineRoute, exportGpx and getRouteSafety. With them an agent can plan a bikepacking route from a plain-language brief, refine it with follow-up instructions, download its GPX and read its safety scorecard.
The tools
| Tool | What it does | Input | Returns |
|---|---|---|---|
planRoute | Plans a new route from a free-text brief. Takes a while (often tens of seconds) and sends progress notifications. | brief (up to 4,000 characters) and optional constraints | Route summary, day stages, safety scorecard and a routeId |
refineRoute | Runs one more planning turn on a saved route with a follow-up instruction. Also sends progress notifications. | routeId and instruction (up to 4,000 characters) | Same shape as planRoute |
exportGpx | Fetches the GPX file for a planned route. Quick, no progress events. | routeId | filename and the gpx XML |
getRouteSafety | Fetches the route's safety scorecard. Quick, no progress events. | routeId | safetyScore (0–100), safetyReview and safetyFlags |
What a planned route contains
routeId: the saved route's id. Pass it torefineRoute,exportGpxandgetRouteSafety. The route is saved to your account, so the id keeps working later.bikeTypeandisEbike: the bike setup the route was planned for.distanceKmandascentM: totals for the whole route.stages: one entry per day, with start and end coordinates,distanceKm,ascentMand adifficultyofeasy,moderateorhard.safetyScore,safetyReviewandsafetyFlags: an overall 0–100 score, a short written review, and flagged stretches, each with aseverity(mediumorhigh), a reason and its length in km.
The safety scorecard is an early, advisory estimate that is still being developed. Don't rely on it for safety decisions, and don't present it to riders as a verified assessment of the roads.
Optional planning constraints
planRoute understands the brief on its own, but you can pin details with constraints. Every field is optional:
origin,destinationandisLoop: where the trip starts and ends.days(1–30) anddailyDistanceKm(20–250): trip length and daily distance.surface:road,gravel,mtbortrekking.avoidHighwaysdefaults to true.waypoints: coordinates the route should pass through.travelers,accommodation,lunch,pace,scenery,budgetandstartTime: trip preferences that shape stages and stops.notes: anything else, as free text.
Connecting a client
The MCP server address is shared with you when access is granted. Most MCP clients take a configuration like this; the exact format depends on the client:
Discovery (initialize, tools/list) works without a key. Tool calls need one. See the API keys page for authentication and limits.
Errors and long calls
- A failing tool call comes back as an MCP tool result with
isError: trueand a readable message, not as a transport error, so the calling model can see what went wrong and adjust. - Planning and refining can take tens of seconds. If your client sends a
progressToken, the server reports a progress notification for each planning step. - A single planning or refining turn stops after 40 internal steps rather than running forever.
- Rate, concurrency and daily spend limits return
429. See the API keys page.
What the server doesn't do
The server offers these four route-level operations only. The fine-grained editing controls of the Bikepackia planner are not exposed. Route geometry always comes from the routing engine, never from the AI model.
Frequently asked questions
Which AI clients work with the Bikepackia MCP server?
Any client that supports the Model Context Protocol over HTTP and lets you set an Authorization header can connect.
Can an agent change a route after planning it?
Yes. Call refineRoute with the routeId and a plain-language instruction such as "make day 2 shorter". It returns the updated route.
What is the MCP server's address?
The address is shared when access is granted. Access is currently available on request: contact sales.