关于 Orbis Travel Mcp
Orbis Travel MCP 为 AI Agent 提供机场、航班、酒店和旅行规划数据 API。调用通过 Base 上的 x402 以 USDC 按次计费,无需 API 密钥或账户。
主要功能
- 01机场与航空公司查询
- 02航班搜索
- 03酒店搜索与空房查询
- 04签证与行李信息
- 05汇率与碳排估算
适用场景
- 01搜索城市间航班
- 02查询酒店价格与空房
- 03查看签证要求
- 04比较航空公司行李费用
MCP 相关
提供远程 MCP 服务 https://orbisapi.com/api/mcp/travel,向 MCP 客户端开放旅行 API。调用通过 Base 上的 x402 以 USDC 按次计费。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://orbisapi.com/api/mcp/travel一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http travel https://orbisapi.com/api/mcp/travelCursor.cursor/mcp.json
{"mcpServers":{"travel":{"type":"http","url":"https://orbisapi.com/api/mcp/travel"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"travel":{"type":"http","url":"https://orbisapi.com/api/mcp/travel"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"travel":{"type":"http","url":"https://orbisapi.com/api/mcp/travel"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"travel":{"serverUrl":"https://orbisapi.com/api/mcp/travel"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
2| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| search | string | 否 | 你需要什么 Travel API?例如 "flight search" |
详细介绍
Orbis Travel MCP ✈️
为 AI Agent 提供真实的机场、航班、酒店和旅行数据 API。使用 Base 上的 USDC 按调用付费——无需 API 密钥、账号或订阅。
实际包含的内容
以下是 Orbis 上此领域调用次数最多的 API:
| API | 调用次数 | 功能 |
|---|---|---|
| Airport Database API | 220 | 全球机场完整数据库,包含 IATA 代码 |
| Airport Codes API | 170 | 按 IATA/ICAO 代码或城市查询机场 |
| Airport Code API | 48 | 将机场代码解析为名称和位置 |
| Booking.com Hotels API | 46 | 搜索酒店的空房情况和价格 |
| Airline Lookup | 43 | 按 IATA 代码查询航空公司详情 |
| Airport Code Lookup API | 41 | 根据任意机场代码查询详细信息 |
| Hotel Availability | 40 | 查询指定日期和地点的酒店空房情况 |
| Airport Info Lookup | 35 | 机场完整详情:航站楼、登机口、设施 |
| Currency Exchange Reference API | 31 | 为旅行预算规划提供汇率 |
| Travel Destinations Guide | 26 | 目的地信息、亮点和旅行建议 |
| Flight Search API | 23 | 搜索城市之间的可选航班 |
| Seat Pitch Comparator API | 21 | 比较不同航空公司和座位舱等的腿部空间 |
| Visa Requirement Lookup | 19 | 查询国家之间的签证要求 |
| Baggage Fee Calculator API | 19 | 计算任意航空公司的行李费 |
| Flight Carbon API | 17 | 估算航线的碳足迹 |
快速开始
无需 API 密钥,也无需账号。将以下内容粘贴到 MCP 客户端中:
Claude Desktop / Claude Code
{
"mcpServers": {
"orbis-travel": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://orbisapi.com/api/mcp/travel"]
}
}
}
配置路径:~/Library/Application Support/Claude/claude_desktop_config.json
Cursor / Windsurf / Cline
{
"mcpServers": {
"orbis-travel": {
"url": "https://orbisapi.com/api/mcp/travel"
}
}
}
OpenAI Codex CLI
# ~/.codex/config.yaml
mcpServers:
orbis-travel:
type: url
url: "https://orbisapi.com/api/mcp/travel"
示例提示词
连接后,可以试试:
- “希思罗机场的 IATA 代码是什么,英国航空使用哪个航站楼?”
- “查找东京 8 月 10 日至 15 日每晚低于 $200 且有空房的酒店。”
- “如果我持美国护照,去日本需要签证吗?”
- “搜索下周五从 JFK 飞往 LHR 的航班。”
- “比较达美航空、联合航空和美国航空经济舱座位的腿部空间。”
- “西南航空托运行李的费用是多少?”
- “从纽约往返伦敦的碳足迹是多少?”
- “我的东京旅行预算应按什么 USD 兑 JPY 汇率计算?”
直接使用 x402(Node.js)
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
import { createWalletClient, http } from "viem";
import { base } from "viem/chains";
const account = privateKeyToAccount(process.env.WALLET_PRIVATE_KEY);
const walletClient = createWalletClient({ account, chain: base, transport: http() });
const fetch = wrapFetchWithPayment(globalThis.fetch, walletClient);
// Airport database — 220 real calls on Orbis
const resp = await fetch(
"https://orbisapi.com/api/proxy/airport-database-api-dc0fd2/lookup",
{ method: "POST", headers: { "Content-Type": "application/json" },
body: JSON.stringify({ code: "JFK" }) }
);
console.log(await resp.json());
完整可运行的脚本请参阅 example.mjs。
所有 Orbis 领域 MCP
| 领域 | URL |
|---|---|
| ₿ 加密货币与区块链 | https://orbisapi.com/api/mcp/crypto |
| 🔍 研究与数据 | https://orbisapi.com/api/mcp/research |
| 🛒 商业与零售 | https://orbisapi.com/api/mcp/commerce |
| ✈️ 旅行 | https://orbisapi.com/api/mcp/travel |
| 🌐 全部 20,000+ 个 API | https://orbisapi.com/api/mcp |
由 Orbis 构建——面向 AI Agent 的 API 市场。
连接
Claude Desktop
添加到你的 claude_desktop_config.json:
{
"mcpServers": {
"orbis-travel": { "url": "https://orbisapi.com/api/mcp/travel" }
}
}
OpenAI Agents SDK
Python:
from agents.mcp import MCPServerStreamableHttp
from agents import Agent, Runner
mcp = MCPServerStreamableHttp(url="https://orbisapi.com/api/mcp/travel")
agent = Agent(
name="Orbis Travel Agent",
model="gpt-4o",
mcp_servers=[mcp]
)
result = await Runner.run(agent, "Browse available travel APIs")
print(result.final_output)
TypeScript:
import { Agent, run } from "@openai/agents";
import { MCPServerStreamableHttp } from "@openai/agents/mcp";
const mcp = new MCPServerStreamableHttp({
url: "https://orbisapi.com/api/mcp/travel",
});
const agent = new Agent({
name: "Orbis Travel Agent",
model: "gpt-4o",
mcpServers: [mcp],
});
const result = await run(agent, "Browse available travel APIs");
console.log(result.finalOutput);
调用费用通过 x402 在 Base 主网上按次以 USDC 结算。无需订阅,也无需 API 密钥。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。
