Sorted Travel Docs

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

Search Sorted Travel developer docs for MCP, API, SDK, and auth questions.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

只读的 MCP 服务器,让助手搜索并阅读 Sorted Travel 关于 API、SDK、认证和 MCP 的开发者文档。

可以做什么
  • 搜索文档,返回带公开链接的排序摘录
  • 列出文档页面及其路径、标题、描述和链接,可按关键词过滤
  • 按路径把单个文档页面以 Markdown 形式加载,例如 overview、mcp、rest-api、sdks 或 auth
适用场景
适合助手需要回答关于接入 Sorted Travel 的操作或参考问题时使用,例如连接其 MCP 服务器、调用 REST API、使用 SDK 或处理认证。不适用于目的地排名、签证查询或个人资料更新。
运行要求
位于 sorted.travel 的远程 streamable HTTP 端点;未声明认证、环境变量或请求头。需要能访问该端点的网络。
安装前请注意
该服务器自称只读,不进行目的地排名、签证查询或资料更新,这些操作属于另一个产品 MCP。摘录和页面来自第三方文档,应引用返回的公开链接,而不要将其内容视为权威结论。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Sorted Travel Docs,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/travel.sorted%2Fdocs/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "sorted-travel-docs": {
      "type": "http",
      "url": "https://sorted.travel/docs/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

工具

3

search_docs

Search Sorted Travel docs

Search Sorted Travel developer documentation for API, MCP, SDK, auth, and integration questions. Returns ranked excerpts with public URLs. Use this for how-to and reference questions. Do not use this tool to rank destinations or check visas — call the product MCP instead.

输入参数query必填top_k

get_doc_page

Get Sorted Travel doc page

Load one Sorted Travel documentation page as markdown. Pass a path from search_docs or list_doc_pages such as overview, mcp, rest-api, sdks, or auth.

输入参数path必填

list_doc_pages

List Sorted Travel doc pages

List documentation pages on this docs MCP server, with path, title, description, and public URL. Pass query to filter by keyword; omit it to list every page.

输入参数query

版本历史

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

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Sorted 集成