Skip to main content
Glama

PokeMCP

PokeMCP 是一个 MCP(模块化指挥平台)服务器,通过与PokeAPI集成,提供宝可梦的详细信息。它提供了一个工具来获取任何宝可梦的综合数据,包括基础属性、类型、能力(含效果)、招式(含效果)和进化链。

特征

  • 获取神奇宝贝的基本统计数据、类型和能力(附带效果描述)

  • 检索每个宝可梦最多 10 个招式,包括招式效果

  • 提供特定神奇宝贝的完整进化链

  • 妥善处理错误并返回信息丰富的错误消息

Related MCP server: PokéAPI MCP Server

要求

安装

  1. 克隆此存储库:

    git clone https://github.com/ChiragAgg5k/poke-mcp.git
    cd poke-mcp
  2. 使用uv安装依赖项:

    uv sync

用法

开发服务器

使用 uv 运行服务器(确保您拥有所需的 MCP 基础设施):

uv run mcp dev server.py

与克劳德联系

运行以下命令连接 Claude:

uv run mcp install server.py

结果应该如下所示:

Added server 'poke-mcp' to Claude config   
Successfully installed poke-mcp in Claude app 

现在您可以在 Claude 中使用poke-mcp MCP 工具:

获取口袋妖怪信息

模拟战斗

在此处了解如何将服务器与其他 MCP 客户端(如 Cursor)连接。

API

工具: get_pokemon_info

获取有关神奇宝贝的详细信息。

参数

  • pokemon_name (str): 神奇宝贝的名字(不区分大小写)

返回

具有以下结构的字典:

{
  "name": "pikachu",
  "id": 25,
  "base_stats": {
    "hp": 35,
    "attack": 55,
    ...
  },
  "types": ["electric"],
  "abilities": [
    {"name": "static", "effect": "May paralyze on contact."},
    ...
  ],
  "moves": [
    {"name": "thunder-shock", "effect": "Has a 10% chance to paralyze the target."},
    ...
  ],
  "evolution_chain": ["pichu", "pikachu", "raichu"]
}

错误处理

如果未找到 Pokémon 或者出现网络错误,响应将包含带有描述性消息的error键。

工具: simulate_battle

使用核心机制(统计数据、类型和状态效果)模拟两个神奇宝贝之间的神奇宝贝战斗。

参数

  • pokemon1 (str): 第一个神奇宝贝的名字(不区分大小写)

  • pokemon2 (str): 第二只神奇宝贝的名字(不区分大小写)

返回

具有以下结构的字典:

{
  "pokemon1": "pikachu",
  "pokemon2": "charizard",
  "initial_hp": {
    "pikachu": 35,
    "charizard": 78
  },
  "battle_log": [
    "Turn 1:",
    "charizard uses mega-punch and deals 75 damage! (pikachu HP: 0)",
    "pikachu fainted!",
    "Winner: charizard!"
  ],
  "winner": "charizard"
}

错误处理

如果未找到 Pokémon 或者出现网络错误,响应将包含带有描述性消息的error键。

执照

该项目使用PokeAPI ,旨在用于教育和非商业用途。

Available Tools

2 tools
get_pokemon_infoB
Get comprehensive information about a Pokémon.

Includes base stats, types, abilities, moves (with effects), and evolution information.

Args:
    pokemon_name: The name of the Pokémon to get information about.

Returns:
    A dictionary containing the Pokémon's information

Inputs: pokemon_name (required).

simulate_battleC
Simulate a Pokémon battle between two Pokémon using core mechanics.
Args:
    pokemon1: Name of the first Pokémon
    pokemon2: Name of the second Pokémon
Returns:
    Battle log and winner

Inputs: pokemon1 (required), pokemon2 (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have completely distinct purposes: get_pokemon_info retrieves detailed Pokémon data, while simulate_battle runs battle simulations. There is no overlap or ambiguity between these functions, making tool selection straightforward for an agent.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun naming pattern (get_pokemon_info, simulate_battle) with clear, descriptive names that accurately reflect their functions. The naming convention is uniform throughout the tool set.

    Tool Count2/5

    With only 2 tools, this server feels severely under-scoped for a Pokémon domain. While the tools cover information retrieval and battle simulation, there are obvious gaps in functionality like listing Pokémon, managing teams, or accessing other game mechanics, making the tool count insufficient for comprehensive Pokémon-related tasks.

    Completeness2/5

    The tool surface is significantly incomplete for a Pokémon server. It lacks basic operations such as listing Pokémon, searching by criteria, or accessing other game elements like items or locations. The two existing tools provide limited coverage, leaving agents unable to perform many expected Pokémon-related workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP (Multi-Agent Conversation Protocol) Server that provides an interface to access Pokémon data through the PokéAPI, enabling agents to retrieve information about Pokémon species, abilities, moves, and more via natural language.
      -
    • A
      license
      Not graded
      quality
      F
      maintenance
      An MCP server that provides standardized access to Pokemon data, allowing users to search, compare, and retrieve detailed information about Pokemon through natural language tools.
      6
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that provides comprehensive Pokemon data and battle simulation capabilities to AI assistants. It enables users to access detailed stats, types, and moves while simulating battles with realistic mechanics like type effectiveness and status effects.
      -