Esim Mcp

io.github.kakha13由 GitHub 账号 kakha13 发布v0.1.1更新于 Oct 24, 2026

Compare travel eSIM plans by country, and regional vs local pricing for multi-country trips.

已验证STDIO仅桌面位置与生活金融

概览

AI 生成的概览

一个本地 MCP 服务器,让助手按国家搜索旅行 eSIM 套餐、比较价格,并为多国行程规划最省钱的联网方案。

可以做什么
按完整或部分国家名搜索可购买 eSIM 套餐的目的地及热门目的地,并按价格从低到高列出某国套餐,包括不限量流量选项。查询区域或全球套餐覆盖哪些国家。为多国行程比较单一区域套餐与逐国本地套餐的价格并给出推荐。配置令牌后,可列出账户中的 eSIM 并查看某个 eSIM 的剩余流量。
适用场景
适合在准备出国旅行时比较 eSIM 流量套餐、确认区域套餐覆盖哪些国家,或在多国行程中权衡一个区域套餐与多个本地套餐。
运行要求
通过 stdio 在本地运行,通常用 npx 启动 npm 包 esim-mcp,因此需要 Node.js。需要能访问 CheapereSIM API 的网络。五个查询工具无需账户或令牌;两个账户工具需要 CHEAPERESIM_API_TOKEN。可选设置:CHEAPERESIM_API_BASE 和 CHEAPERESIM_TIMEOUT_MS。
安装前请注意
所有工具均为只读,购买在浏览器中完成,助手无法代买套餐。CHEAPERESIM_API_TOKEN 以 bearer 请求头发送,应像密码一样保管,泄露后应撤销;CHEAPERESIM_API_BASE 应保持 https,以免令牌明文传输。结果仅反映 CheapereSIM 的价格,返回的链接带有跟踪参数。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

esim-mcp

[npm version] [npm downloads] [CI] [MCP Registry] [License: MIT]

An MCP server for travel eSIM plans. It lets Claude, Cursor, and any other Model Context Protocol client search travel eSIM data plans by country, compare prices, and work out the cheapest way to stay connected across a multi-country trip.

Ask "what is the cheapest eSIM for two weeks in Japan and South Korea?" and get real plans with real prices, not a guess.

esim-mcp is built and maintained by CheapereSIM, and returns CheapereSIM pricing. It covers 190+ destinations across 8 regions.

What you can ask

Once installed, these all work in plain language:

  • "What is the cheapest eSIM for Japan?"
  • "I am travelling to Japan, South Korea and Taiwan for three weeks. What should I buy?"
  • "Is there a single eSIM that covers all of Southeast Asia?"
  • "Which countries does that regional plan actually cover?"
  • "Show me unlimited data eSIM plans for Turkey."
  • "How much data is left on my eSIM?" (needs a token)

The interesting one is the multi-country case. A regional eSIM that covers your whole trip is sometimes cheaper than buying a local eSIM in each country, and sometimes it is not. plan_trip prices both and tells you which wins.

Setup

Add this to your MCP client configuration:

json
{  "mcpServers": {    "esim": {      "command": "npx",      "args": ["-y", "esim-mcp"]    }  }}

No API key, no account, and no configuration are required to search destinations and compare plans. Set CHEAPERESIM_API_TOKEN only if you also want the two account tools.

Example: planning a multi-country trip

Asking plan_trip for three weeks across Japan, South Korea and Taiwan, with at least 10GB:

Option 1 - one plan covering everything, $34.58:Asia (12 areas) 10GB 30Days: 10 GB for 30 days - $34.58 - covers 12 countries  https://cheaperesim.com/multi-country-esim?package=2488&utm_source=mcp&utm_medium=ai&utm_campaign=esim-mcp
Option 2 - one local plan per country, $17.52 total:Japan 10GB 30Days: 10 GB for 30 days - $8.76  https://cheaperesim.com/esim/japan?package=339&utm_source=mcp&utm_medium=ai&utm_campaign=esim-mcpSouth Korea 10GB 30Days: 10 GB for 30 days - $8.76  https://cheaperesim.com/esim/south-korea?package=345&utm_source=mcp&utm_medium=ai&utm_campaign=esim-mcpNo local plan available for: TW.
Recommended: option 1, since option 2 does not cover: TW.

That is real output against live pricing, not an illustration. It is also the case worth understanding: buying local is half the price, and it is still the wrong answer, because Taiwan is sold only inside regional plans. A price comparison that stopped at the cheaper number would leave you without service for a third of the trip.

The server prints each buy_url exactly as the API returns it, so the links above are the ones you would get.

Tools

ToolDescriptionRequires token
search_destinationsFind countries CheapereSIM sells eSIM plans for, by full or partial name.No
list_plansList eSIM plans for one country, cheapest first.No
plan_tripWork out the cheapest way to stay connected across several countries.No
get_plan_coverageList every country a regional or global plan covers.No
list_popular_destinationsList the destinations travellers buy eSIMs for most often.No
list_my_esimsList the eSIMs on the configured CheapereSIM account.Yes
get_esim_usageShow how much data is left on one eSIM.Yes

list_my_esims and get_esim_usage are only registered when CHEAPERESIM_API_TOKEN is set. Without a token, the server exposes the first five tools only, so a model never sees a tool it cannot call.

Environment variables

VariableDefaultPurpose
CHEAPERESIM_API_BASEhttps://cheaperesim.comBase URL of the CheapereSIM API
CHEAPERESIM_API_TOKENunsetAPI token for the two account tools; omit to run in read-only lookup mode
CHEAPERESIM_TIMEOUT_MS10000Request timeout in milliseconds

Keep CHEAPERESIM_API_BASE on https. The token is sent as a bearer header, so an http override would put it on the wire in cleartext.

Getting a token

Create a token at cheaperesim.com/dashboard/api-tokens. Tokens are read-only: they can list your eSIMs and their usage, but they cannot buy a plan, change your profile, or delete your account. Treat one like a password and revoke it if it leaks.

FAQ

What is an eSIM? A digital SIM your phone downloads instead of a plastic card you swap in. Most phones sold since about 2018 support one, so you can buy mobile data for a country before you land and skip roaming charges.

Which countries can I search? 190+ destinations across Europe, Asia, North and South America, Africa, Oceania and the Middle East, plus regional and global plans that span many countries at once. Use search_destinations to check a specific one.

Does this cost anything to install? No. The server and the five lookup tools are free and need no account. You only pay if you decide to buy a plan on cheaperesim.com.

Is a regional eSIM cheaper than buying one per country? It depends on the trip, which is the whole reason plan_trip exists. For two neighbouring countries a pair of local plans often wins; across four or five, a regional plan usually does. The tool prices both and shows the difference.

Does it work with anything other than Claude? Yes. It speaks the Model Context Protocol over stdio, so any MCP client can run it, including Cursor and custom agents built on the MCP SDKs.

Can it buy a plan for me? No, by design. Every tool is read-only. Plans come back with a link, and the purchase happens in your browser on cheaperesim.com.

Development

bash
npm installnpm testnpm run build

npm run typecheck type-checks the tests as well as the source. CI runs the build, the typecheck, and the suite on Node 20 and 22.

License

MIT. See LICENSE.

来源:README.md,提交 391a5f4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分