Sorted Travel

travel.sorted由 sorted.travel 發布官方發布者v1.2.0更新於 Nov 7, 2026

Travel ranking, place facts, weather, visa, and profile tools for Sorted Travel.

發布方自己的服務:Sorted Travel Docs

已驗證Streamable HTTP可網頁執行位置與生活網頁搜尋與抓取

概覽

AI 產生的概覽

Sorted Travel 讓助理依出發機場排序目的地,並取得地點資訊、天氣、簽證提示與已儲存的旅客偏好。

可以做什麼
  • 將城市、國家、地區或機場解析為 Sorted 目的地代號與 IATA 代碼
  • 依出發機場推薦並呈現排序後的目的地,可選月份、預算、天氣、簽證與標籤篩選
  • 取得並呈現目的地的實地資訊:簡介、安全、貨幣、電話國碼、eSIM 說明與叫車應用程式
  • 取得並呈現目前天氣、7 天預報、每月氣候與最佳造訪時間說明
  • 查詢護照國與目的地國之間的簽證要求
  • 讀取與更新已登入旅客儲存的個人偏好
適用情境
適合旅客詢問該去哪裡、想比較或了解某個地點、需要天氣或最佳造訪時間建議,或想了解某本護照的簽證難易度時。也適合需要跨工作階段記住旅客出發機場、護照與興趣的助理。
執行需求
透過 streamable HTTP 連線到 sorted.travel 的遠端 MCP 端點,不需要本機執行環境或安裝套件。目的地排序、地點資訊、天氣與簽證工具據稱免費且免驗證,API 金鑰為選用。個人檔案讀取與更新工具需要具備 profile.read 或 profile.write 權限範圍的 OAuth 2.0 存取權杖。
安裝前請注意
個人檔案工具會讀取並變更已儲存的旅客資料,例如護照、出發機場、貨幣、單位與收藏清單;更新工具會寫入帳戶。簽證結果僅供規劃參考,不構成官方移民建議。此伺服器明確不搜尋或預訂航班與活動,並要求助理只引用工具回傳的網址。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sorted Travel,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/travel.sorted%2Fsorted-travel/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "sorted-travel": {
      "type": "http",
      "url": "https://sorted.travel/mcp"
    }
  }
}

README

sorted-travel

[skills.sh]

Official Python, JavaScript, Go, and Ruby SDK and CLI for the Sorted Travel REST API.

This repository publishes:

This is a stdlib-only Python client and a zero-dependency JavaScript client for the public endpoints at https://sorted.travel. Destination ranking, facts, weather, and visa tools are a free tier with zero-auth access. An API key is optional.

Agent skills (skills.sh)

Install Sorted Travel agent skills for Cursor, Claude Code, Codex, and other supported agents:

sh
npx skills add a-l-e-x-k/sorted-travel-sdk

Non-interactive install for Cursor:

sh
npx skills add a-l-e-x-k/sorted-travel-sdk -y -a cursor

Install one capability area:

sh
npx skills add a-l-e-x-k/sorted-travel-sdk --skill sorted-travel-weather
SkillUse when
sorted-travelWhere to go / ranked recommendations
sorted-travel-destinationsPlace facts for a named destination
sorted-travel-weatherForecast, climate, best months
sorted-travel-visaPassport visa hassle

They teach agents when to use Sorted Travel, how to connect the product MCP at https://sorted.travel/mcp and the docs MCP at https://sorted.travel/docs/mcp, and which tools to call. Groupings: skills.sh.json.

Connect MCP directly with mcp.json or Smithery:

sh
npx -y smithery mcp add sorted-travel/destinations

Install SDKs

Python:

sh
pip install sorted-travel

JavaScript:

sh
npm install sorted-travel

Go:

sh
go get github.com/a-l-e-x-k/sorted-travel-sdk/[email protected]

Ruby:

sh
gem install sorted-travel

Quickstart (Python)

python
from sorted_travel import Client
client = Client()print(client.status())page = client.list_destinations(limit=20)print(page["data"][0]["handle"], page["has_more"])

Destination tools need no key. If a host still requires one:

python
client = Client(api_key="st_sandbox_...")  # or set SORTED_TRAVEL_API_KEY

Self-serve sandbox keys:

python
payload = client.create_api_key()

Quickstart (JavaScript)

js
import { Client } from "sorted-travel"
const client = new Client()await client.status()await client.listDestinations({ limit: 20 })

Quickstart (Go)

go
import (	"context"
	"github.com/a-l-e-x-k/sorted-travel-sdk/go/sortedtravel")
client := sortedtravel.NewClient()client.Status(context.Background())limit := 20client.ListDestinations(context.Background(), nil, &limit)

Quickstart (Ruby)

ruby
require "sorted_travel"
client = SortedTravel::Client.newclient.statusclient.list_destinations(limit: 20)

CLI

sh
sorted-travel statussorted-travel destinations --limit 5sorted-travel sandboxsorted-travel api-key

JavaScript CLI via npm:

sh
npx sorted-travel status

Go CLI:

sh
go run ./go/cmd/sorted-travel status

Ruby CLI:

sh
sorted-travel status

Configuration

Constructor argEnvironment variableDefault
api_keySORTED_TRAVEL_API_KEY—
base_urlSORTED_TRAVEL_BASE_URLhttps://sorted.travel
timeout—30.0 seconds

Surface

  • status() — GET /api/v1/status
  • list_destinations(cursor=, limit=) — GET /api/v1/destinations
  • create_api_key() — POST /api/v1/api-keys
  • sandbox() — GET /sandbox
  • create_job(operation, **body) — POST /api/v1/jobs
  • get_job(job_id) — GET /api/v1/jobs/{job_id}
  • get(path, params=) / post(path, body=) — raw REST escape hatch

Interactive ranking, weather, and visa still go through MCP at https://sorted.travel/mcp. These SDK packages do not wrap JSON-RPC.

License

MIT. The Sorted Travel product remains under its own terms at https://sorted.travel/terms.

來源:README.md,提交 100f017

工具

10

resolve_destination

Resolve a destination

Resolve a city, country, region, or airport onto Sorted destinations. Use this when the traveler names a place and you do not already have a sitemap handle (paris, hanoi) or IATA code. Returns handle, name, country, airport_code, and place_url for a few live matches. After resolve: for generic info / what a place is like, call get_destination_info (not weather). Call get_destination_weather only when they asked for weather, forecast, climate, or when to visit. For where-to-go ranking, call get_recommended_destinations with airport_code. One place per call. Do not invent a handle.

輸入參數query必填page_size

get_destination_info

Get destination facts

Get Sorted on-the-ground facts for one destination handle. Default tool for generic destination info ("info on Dubai", "tell me about Lisbon", "what is Tokyo like"). Returns brief, safety, currency, phone code, eSIM notes, and taxi apps. Use a sitemap handle such as hanoi, paris, or tokyo. If you only have a city, country, or airport name, call resolve_destination first. Do not use get_destination_weather for those generic info asks. Use get_destination_weather only when the traveler explicitly asks for current weather, a 7-day forecast, monthly climate, or when to visit. Send the traveler to place_url for the full page. Do not use this for bookings. This tool returns data only. After a successful call, always call render_destination_info so the place card appears.

輸入參數destination_handle必填

render_destination_info

Render destination facts

Render the destination facts card. Always call get_destination_info first, then pass its structuredContent here. Do not invent destination facts.

輸入參數destination必填

get_destination_weather

Get destination weather

Get current weather, forecast, climate, and when-to-visit notes for one place. Use when the traveler explicitly asks for current weather, a 7-day forecast, monthly climate averages, or when to visit a named destination. Do not use this for generic destination info ("info on Dubai", "tell me about Lisbon", "what is Tokyo like") — use get_destination_info instead. This tool already includes seasonal when-to-visit months; do not look for a separate when-to-visit tool. Use a sitemap handle such as hanoi, paris, or tokyo. If you only have a city, country, or airport name, call resolve_destination first. The 7-day forecast is from Foreca; credit Foreca if you paraphrase it. Send the traveler to place_url for the full page. Do not use this for bookings. This tool returns data only. After a successful call, always call render_destination_weather so the weather card appears.

輸入參數destination_handle必填

render_destination_weather

Render destination weather

Render the destination weather card. Always call get_destination_weather first, then pass its structuredContent here. Do not invent weather data.

輸入參數destination必填

check_visa_requirements

Check visa requirements

Check visa hassle for a passport country and destination country. Use visa-table country names (Ireland, not Irish; USA, not United States). Common aliases are accepted and normalized. This is planning context, not official immigration advice. Cite only place_url or source_url from this result (sorted.travel only — never invent domains).

輸入參數user_visaspassport_country必填destination_handledestination_country必填

get_profile_preferences

Get profile preferences

Read the signed-in traveler's saved Sorted profile preferences. Requires an OAuth 2.0 access token with the profile.read scope. Returns passports, home airport, currency, units, destination and activity interests, preferred airlines, and bookmark or ignore lists. Does not return chat history or account-deletion controls. Intentionally omitted from OpenAI/ChatGPT tools/list while should_list_profile_preference_tools is false. Ora and other hosts still see the tool; implementation and OAuth gating stay.

無需輸入參數。

update_profile_preferences

Update profile preferences

Update one saved traveler profile preference for the signed-in user. Requires an OAuth 2.0 access token with the profile.write scope. Allowed fields: currency, units, sourceAirportCode, passports, visas, passportHolder, airlines, destinationInterests, activityInterests, lists.bookmarked, and lists.ignored. This cannot delete the account, unlink messengers, or change email. Intentionally omitted from OpenAI/ChatGPT tools/list while should_list_profile_preference_tools is false. Ora and other hosts still see the tool; implementation and OAuth gating stay.

輸入參數operation必填field_name必填field_value必填

版本歷史

1
  1. v1.2.0最新Nov 7, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Sorted 整合