关于 Visa Requirements
Visa Requirements 是面向旅行工具和 AI Agent 的 MCP 服务,可查询护照持有者的入境要求。它支持国家配对查询、按要求列出目的地及比较不同护照的旅行便利度,数据来自社区维护的 Passport Index 快照。
主要功能
- 01查询护照与目的地的签证规则
- 02按入境类别列出可前往目的地
- 03比较 2 至 5 本护照的旅行便利度
- 04提供已知的停留期限
适用场景
- 01出行规划前核对入境要求
- 02查找护照持有人可前往的目的地
- 03比较不同护照的出行便利度
MCP 相关
向 MCP 客户端提供 visa_requirement、visa_free_destinations 和 visa_passport_compare 工具。可作为本地 stdio 服务运行,也可通过 Pipeworx 网关连接。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/visa-requirements/mcpclaude mcp add --transport http pipeworx-io-visa-requirements https://gateway.pipeworx.io/visa-requirements/mcp{"mcpServers":{"pipeworx-io-visa-requirements":{"type":"http","url":"https://gateway.pipeworx.io/visa-requirements/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-visa-requirements":{"type":"http","url":"https://gateway.pipeworx.io/visa-requirements/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-visa-requirements":{"type":"http","url":"https://gateway.pipeworx.io/visa-requirements/mcp"}}}{"mcpServers":{"pipeworx-io-visa-requirements":{"serverUrl":"https://gateway.pipeworx.io/visa-requirements/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
mcp-visa-requirements
Visa Requirements MCP — 任意国籍护照与目的地组合的签证规定
属于 Pipeworx — 一个将 AI Agent 连接到 1679+ 个实时数据源的 MCP 网关。
工具
| 工具 | 描述 |
|---|---|
visa_requirement | 我需要签证吗?查询持有某国护照(国籍)前往某个目的地国家的签证要求 — 返回免签(已知时附允许停留天数)、落地签、电子签证、eTA、需要签证或不准入境。覆盖 199×199 个国家组合。数据:社区维护的 Passport Index 快照(最后更新于 2026-02-18)— 出行前请通过官方来源核实。例如:visa_requirement({ passport: "United States", destination: "Brazil" }) |
visa_free_destinations | 持有某国护照可以免签前往哪些地方?按要求类别列出所有目的地:免签(附允许停留天数)、落地签、电子签证、eTA — 并提供需要签证和不准入境的数量。可选按单个类别筛选。回答“持有 X 国护照可以免签前往哪些国家”。数据:Passport Index 快照(2026-02-18)。例如:visa_free_destinations({ passport: "Germany" }) |
visa_passport_compare | 比较护照实力:针对 2-5 本护照,统计每本护照可免签、落地签、持电子签证或 eTA 入境,以及需要签证的目的地数量(护照排名流动性比较)。恰好比较 2 本护照时,还会列出要求不同的目的地(最多 30 个)。数据:Passport Index 快照(2026-02-18)。例如:visa_passport_compare({ passports: ["US", "India"] }) |
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"visa-requirements": {
"url": "https://gateway.pipeworx.io/visa-requirements/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/visa-requirements/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 共享元工具 — ask_pipeworx、
discover_tools、search_within、remember/recall 及网关范围内的其他工具。因此,你看到的工具数量会多于此表:目前,单个工具包端点会在该工具包自有工具之外,列出大约 30 个共享工具。连接的 initialize 响应会说明其确切范围,并且是特定日期下的权威信息。
这是有意为之,并非意外的多路复用。元工具可以让一个受限连接回答此工具包未涵盖的问题 — 通过 ask_pipeworx 跨整个目录路由 — 无需再添加第二个 MCP 服务。目前无法挂载不包含这些元工具的工具包端点;如果额外的架构定义占用的上下文多于路由带来的收益,请只连接一次完整网关,而不要连接多个工具包端点。
也可以连接完整的 Pipeworx 网关,直接列出所有工具包的工具,而不只是当前工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都连接到同一个网关和同一组 1679+ 个数据源。唯一的区别是哪个工具包的工具会被直接列出;无论连接哪个端点,ask_pipeworx 都可以访问所有工具。
没有 MCP 客户端?通过 HTTP 调用
curl -X POST https://gateway.pipeworx.io/v1/tools/visa_requirement \
-H 'Content-Type: application/json' \
-d '{"passport":"US","destination":"Brazil"}'
首次调用无需账户。查看任意工具:GET https://gateway.pipeworx.io/v1/tools/visa_requirement。查找工具:使用 {"query":"..."} 调用 POST https://gateway.pipeworx.io/v1/tools/search_packs。
独立运行(无需网关账户)
此软件包也可以作为本地 stdio MCP 服务运行 — 无需 Pipeworx 账户,也无需通过网关往返:
{
"mcpServers": {
"visa-requirements": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-visa-requirements"]
}
}
}
也可以直接运行,确认服务能正常启动:
npx -y @pipeworx/mcp-visa-requirements
它通过 stdin/stdout 使用 MCP 通信,并响应 initialize/tools/list/tools/call,且仅提供此工具包的工具 — 不包含上方网关连接额外提供的共享元工具。数据源相同,工具相同,但没有 ask_pipeworx 路由。
使用 ask_pipeworx
你也可以用普通英语提问,而不是直接调用工具 — 此方式既适用于上方的工具包端点,也适用于完整网关:
ask_pipeworx({ question: "your question about Visa Requirements data" })
网关会自动选择合适的工具并填入参数。
More
License
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。