Switch Game MCP Server
Switch游戏折扣与上新查询 MCP Server,基于 MCP (Model Context Protocol) 协议。
数据来源:eshop-prices.com(Nintendo eShop 官方各区服价格数据,实时更新)
功能
| 工具 | 描述 |
|---|---|
| search_switch_games | 搜Switch游戏,支持中文/英文/日文,自动fallback找最佳匹配 |
| get_game_price_info | 查某个游戏的各区服价格,联网实时汇率换算成目标货币(默认CNY) |
| get_switch_discounts | 看看现在有啥游戏在打折,热门大作优先展示 |
| get_new_switch_games | 最近有啥新出的Switch游戏 |
调用示意
AI 模型通过读取工具描述(docstring)自动判断何时调用。以下是各工具的典型触发场景:
| 用户说法 | 自动调用的工具 |
|---|---|
| "塞尔达多少钱" / "Zelda price" / "マリオの値段" | search_switch_games → get_game_price_info |
| "现在有啥游戏打折" / "Switch discounts" | get_switch_discounts |
| "最近出了什么新游戏" / "new Switch games" | get_new_switch_games |
| "日服和美服哪个便宜" / "cheapest region" | get_game_price_info |
| "宝可梦朱值得买吗" / "is Pokémon good" | search_switch_games |
💡 给模型的提示:搜索时中英文皆可,但如果中文搜不到结果,建议尝试用英文或日文游戏名再次调用,效果通常更好(因为 eshop-prices.com 对英文/日文的支持更完善)。
核心特性
- 中文搜索增强:中文搜不到时自动访问百度百科提取英文/日文名,再去搜索
- 各区服原价:
get_game_price_info返回各区服原始货币价格,方便比价 - 热门折扣优先:折扣列表优先展示 Persona、Hogwarts Legacy 等热门大作
- 零硬编码映射:纯 fallback 架构,不依赖维护繁重的映射表
安装
pip install switch-game-mcp
启动
switch-game-mcp
或者用 uvx(不用装):
uvx switch-game-mcp
MCP客户端配置
{
"mcpServers": {
"switch_game_mcp": {
"command": "uvx",
"args": ["switch-game-mcp@latest"],
"env": {}
}
}
}
环境变量
这个服务不需要配任何环境变量,装好直接用。
数据说明
本服务使用 eshop-prices.com 作为数据源,该网站汇总了 Nintendo Switch eShop 各区域(日服、美服、港服、欧服等)的官方价格数据。
协议
MIT
Metadata
Release files for switch-game-mcp 4.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| switch_game_mcp-4.2.0.tar.gz | 11.0 kB | Without provenance | Details for switch_game_mcp-4.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| switch_game_mcp-4.2.0-py3-none-any.whl | Python 3 | none | any | Details for switch_game_mcp-4.2.0-py3-none-any.whl |
Total release size: 22.6 kB
Release files / switch_game_mcp-4.2.0.tar.gz
| Download URL | switch_game_mcp-4.2.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
980b27065bd495d0fc63156e94e5e47a18e8fd79690e9dbb0088f5b493e40ee4
|
|
BLAKE2b-256 checksum How to use checksums |
b6a8c53b0e733cb288f42fcbb91f83cc55d23fee18ae4dec539ef20fedd8b780
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / switch_game_mcp-4.2.0-py3-none-any.whl
| Download URL | switch_game_mcp-4.2.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5df90aecc6eb4e0e0420ceba920fbf13c09203d297f5be9ddd875b615f56b586
|
|
BLAKE2b-256 checksum How to use checksums |
02f83f6747edec31d36933ff073523e984a119129f12edfbb18d309947eaa738
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for switch-game-mcp 4.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.