Skip to main content

Switch游戏折扣与上新查询 MCP Server - 搜游戏、查折扣、查史低价

Project description

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_gamesget_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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

switch_game_mcp-4.2.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

switch_game_mcp-4.2.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file switch_game_mcp-4.2.0.tar.gz.

File metadata

  • Download URL: switch_game_mcp-4.2.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for switch_game_mcp-4.2.0.tar.gz
Algorithm Hash digest
SHA256 980b27065bd495d0fc63156e94e5e47a18e8fd79690e9dbb0088f5b493e40ee4
MD5 937bbc13712196211365ee133f5aa9a7
BLAKE2b-256 b6a8c53b0e733cb288f42fcbb91f83cc55d23fee18ae4dec539ef20fedd8b780

See more details on using hashes here.

File details

Details for the file switch_game_mcp-4.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for switch_game_mcp-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5df90aecc6eb4e0e0420ceba920fbf13c09203d297f5be9ddd875b615f56b586
MD5 5c782f4e0c25b9cb678cc34979caa9ef
BLAKE2b-256 02f83f6747edec31d36933ff073523e984a119129f12edfbb18d309947eaa738

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page