Developer reference
Byway MCP
Scenic byways, atlas places and drive planning over the Model Context Protocol. Connect your client, check access requirements, and find every tool’s schema and worked example.
Remote endpoint
https://www.byway.world/api/mcpStreamable HTTP · stateless · POST only
Set up your client →Quick start
Use the remote endpoint in an MCP host, or inspect the tool list with curl.
Endpoint
https://www.byway.world/api/mcpStreamable HTTP, stateless — POST only, a plain GET answers 405 by design.
Add it to a client
Claude Desktop, Cursor and most MCP hosts accept a remote server block like this:
{
"mcpServers": {
"byway": {
"url": "https://www.byway.world/api/mcp"
}
}
}List the tools with curl
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Authentication
Public tools
No sign-in. Anonymous calls are metered per IP address; over the limit a tool returns a clean rate_limited error rather than a stack trace.
OAuth-gated tools
Reach a paid provider (routing, planning) and are metered per user, not per IP. A call without a Bearer token receives a 401 with a WWW-Authenticate header that most hosts use to trigger sign-in automatically.
/.well-known/oauth-protected-resource/api/mcp
/.well-known/oauth-authorization-server
Tool reference
Jump to a tool for its parameters, request and example result.
search_byways
Search scenic byways
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | OptionalNo | Name text to match |
| state | string | OptionalNo | Two-letter US state code |
| country | string | OptionalNo | ISO-2 country (US or a regional territory); a non-US value searches regional routes instead of the federal roster |
| limit | integer (1–25) | OptionalNo | Rows to return |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_byways","arguments":{"state":"UT","limit":3}}}'Example result: Found 3 of 33 byways: - Bear Lake Scenic Byway (UT) — https://www.byway.world/byways/bear-lake-scenic-byway?via=mcp - ...
get_byway
Get byway details
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | RequiredYes | Byway slug from search_byways |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_byway","arguments":{"slug":"bicentennial-highway"}}}'Example result: Bicentennial Highway — UT, 90.39 mi. 3 scenic lookouts on route. https://www.byway.world/byways/bicentennial-highway?via=mcp
search_lookouts
Search scenic lookouts
| Param | Type | Required | Description |
|---|---|---|---|
| byway | string | OptionalNo | Byway slug — provide this or state |
| state | string | OptionalNo | Two-letter US state code — provide this or byway |
| limit | integer (1–50) | OptionalNo | Rows to return |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_lookouts","arguments":{"byway":"bicentennial-highway"}}}'Example result: Found 3 lookouts: - Hite Overlook on Bicentennial Highway — https://www.byway.world/lookouts/hite-overlook-a8315eac?via=mcp
get_itinerary
Get road-trip itinerary
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | RequiredYes | Itinerary slug |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_itinerary","arguments":{"slug":"pacific-coast-highway"}}}'Example result: Pacific Coast Highway — California, Oregon. 94 waypoints. https://www.byway.world/itineraries/pacific-coast-highway?via=mcp
plan_drive
Plan a byway
| Param | Type | Required | Description |
|---|---|---|---|
| origin | string | RequiredYes | Starting point (city or place name) |
| destination | string | RequiredYes | Where the drive ends (city or place name) |
| budget_min | integer (30–960, default 240) | OptionalNo | Total minutes for the whole trip, driving plus stops — set well above the direct drive time to leave room for stops |
| depart_at | string (ISO 8601 with offset, ≤14 days out) | OptionalNo | Departure time — defaults to now; hours and weather verdicts are real only inside the forecast horizon |
| interests | string[] | OptionalNo | Taste categories to weight stops |
| pace | string (leisurely | balanced | efficient) | OptionalNo | Trip pace |
| save | boolean | OptionalNo | Save the trip to the connected Byway account |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-H 'authorization: Bearer <your-oauth-token>' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"plan_drive","arguments":{"origin":"Bozeman, MT","destination":"West Yellowstone, MT","budget_min":300,"pace":"balanced"}}}'Example result: A real routed plan: mapped stops, honest timing, official scenic byways. Requires a connected Byway account (OAuth sign-in) — see Authentication below.
search_places
Search atlas places
| Param | Type | Required | Description |
|---|---|---|---|
| kind | enum (place kind) | OptionalNo | Place type to filter on — see /places for the full kind list |
| state | string (length 2) | OptionalNo | Two-letter US state code; requires kind |
| name | string | OptionalNo | Place name text |
| lat | number (-90…90) | OptionalNo | Latitude to search near |
| lon | number (-180…180) | OptionalNo | Longitude to search near |
| radiusMi | number | OptionalNo | Miles around lat/lon |
| limit | integer | OptionalNo | Rows to return |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_places","arguments":{"kind":"waterfall","state":"OR","limit":3}}}'Example result: Found 3 places: More exist than are shown. - Multnomah Falls (OR) — 165 m — https://www.byway.world/places/waterfalls/multnomah-falls-fa5bcb0c?via=mcp - ...
get_place
Get place details
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | OptionalNo | The place's byway.world /places URL — provide this, or kind + slug |
| kind | enum (place kind) | OptionalNo | Place type |
| slug | string | OptionalNo | Place slug, ending in the row's 8-hex id |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_place","arguments":{"url":"https://www.byway.world/places/waterfalls/multnomah-falls-fa5bcb0c"}}}'Example result: Multnomah Falls (OR) — waterfall in the Columbia Gorge in Multnomah County, Oregon, United States. https://www.byway.world/places/waterfalls/multnomah-falls-fa5bcb0c?via=mcp Records: https://en.wikipedia.org/wiki/Multnomah_Falls · https://www.wikidata.org/wiki/Q37319
places_on_byway
Places on a byway
| Param | Type | Required | Description |
|---|---|---|---|
| byway | string | RequiredYes | Byway slug from search_byways |
| kind | enum (place kind) | OptionalNo | Place type to filter on |
| bandMi | number | OptionalNo | Miles either side of the route |
| limit | integer | OptionalNo | Rows to return |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"places_on_byway","arguments":{"byway":"historic-columbia-river","kind":"waterfall"}}}'Example result: 3 atlas places along Historic Columbia River (3 on the road itself). More exist than are shown. - Bridal Veil Falls (OR) — 0.01 mi, on the byway — 36 m — https://www.byway.world/places/waterfalls/bridal-veil-falls-d52a674c?via=mcp
search_destinations
Search destinations
| Param | Type | Required | Description |
|---|---|---|---|
| q | string (min length 2) | OptionalNo | City name text to match — provide this or state |
| state | string (two letters) | OptionalNo | Two-letter US state code — provide this or q |
| limit | integer (1–25, default 10) | OptionalNo | Rows to return |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_destinations","arguments":{"q":"Bozeman"}}}'Example result: Found 1 destination: - Bozeman, Montana — 4 byways · 2 national parks · 6 campgrounds within 30 mi — https://www.byway.world/destinations/bozeman-montana?via=mcp Byways within 30 mi of Bozeman: Paradise Valley Scenic Byway (12 mi) · ...
places_along_route
Places along a route
| Param | Type | Required | Description |
|---|---|---|---|
| origin | string | RequiredYes | Where the drive starts (city or place name) |
| destination | string | RequiredYes | Where it ends (city or place name) |
| kind | enum (place kind) | OptionalNo | Place type to filter on |
| bandMi | number | OptionalNo | Miles either side of the corridor |
| limit | integer | OptionalNo | Rows to return |
curl -s -X POST https://www.byway.world/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-H 'authorization: Bearer <your-oauth-token>' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"places_along_route","arguments":{"origin":"Bozeman, MT","destination":"West Yellowstone, MT","kind":"waterfall"}}}'Example result: 3 atlas places along Bozeman, Montana to West Yellowstone, Montana (2 on the road itself). - ...
Version history
get_place and search_lookouts carry the walk in from the car where it is known (approach): roadside, or a path with its time, length one way and climb — the middle half of travelers' times once at least 10 have walked it, else an estimate from the path and terrain. Null is not known, never no walk. Additive; no tool added or removed.
Server description now names the products an assistant is calling — Byway MCP, Byway Engine and Byway Atlas. No tool-surface change: the fingerprint is unchanged, and the bump exists only because the registry is keyed on version, so text at a live version cannot land.
Every tool now advertises whether it needs sign-in (securitySchemes), and a gated tool refused for an expired token returns a challenge a host can act on instead of a dead-end error. No tool added or removed.
Server description refreshed. No tool-surface change.
search_destinations ships — 10 tools.
search_byways reports total/truncated on a capped page. plan_drive gains budget_min and depart_at. Places carry verdictDetail, headliner, and an operational block (openingHours, condition, dwellMin).
The atlas ships over MCP: search_places, get_place, places_on_byway, and the OAuth-gated places_along_route. Every place result carries a citable url; the two corridor tools report distanceFromRouteMi. 9 tools.
Every lookout result carries a citable url to its own www.byway.world page.
Tool-surface vocabulary normalized to one noun.
Initial publish — search_byways, get_byway, search_lookouts, get_itinerary.
Tool names, access tiers and the published version come from the shipped registry. Parameter tables and worked examples document the tools at https://www.byway.world/api/mcp. Looking for the consumer pitch instead? See Byway in ChatGPT & Claude.