Poke-MCP

Overview

Poke-MCP is a Model Context Protocol (MCP) server that provides Pokémon information through a standardized interface. It connects to the PokeAPI to fetch Pokémon data and exposes it through MCP tools that can be used by any MCP-compatible client, such as Claude Desktop App, Continue, Cline, and others.

Features

  • Get information about specific Pokémon by name
  • Discover random Pokémon
  • Find random Pokémon from specific regions (Kanto, Johto, Hoenn, etc.)
  • Get random Pokémon of specific types (Fire, Water, Electric, etc.)
  • Natural language query interface for Pokémon information

How It Works

Poke-MCP is built using the Model Context Protocol, which enables AI applications to access external tools and data sources in a standardized way. The server:

  1. Connects to the PokeAPI to fetch Pokémon data
  2. Exposes several tools through the MCP interface
  3. Processes requests from MCP clients
  4. Returns formatted Pokémon information

MCP Tools

The server provides the following tools:

  • get-pokemon: Get detailed information about a specific Pokémon by name
  • random-pokemon: Get information about a random Pokémon
  • random-pokemon-from-region: Get a random Pokémon from a specific region
  • random-pokemon-by-type: Get a random Pokémon of a specific type
  • pokemon-query: Answer natural language queries about Pokémon

Architecture

The server is built using:

  • TypeScript
  • MCP TypeScript SDK (@modelcontextprotocol/sdk)
  • Zod for input validation
  • Standard I/O transport for MCP communication

Installation

Installing via Smithery

To install Pokémcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @NaveenBandarage/poke-mcp --client claude

Manual Installation

# Clone the repository git clone https://github.com/yourusername/poke-mcp.git cd poke-mcp # Install dependencies npm install # Build the project npm run build

Usage

With Claude Desktop App

  1. Download and install Claude Desktop App
  2. Open Claude Desktop settings
  3. Go to Developer settings and edit the config file
  4. Add the following configuration:
{ "mcpServers": { "pokedex": { "command": "path/to/poke-mcp/build/index.js" } } }
  1. Restart Claude Desktop
  2. You should now see the Pokémon tools available in Claude

Example Queries

Once connected to an MCP client, you can ask questions like:

  • "Tell me about Pikachu"
  • "Give me a random Pokémon"
  • "Show me a random Pokémon from Kanto"
  • "What's a random Water Pokémon?"

Project Structure

  • src/index.ts: Main server implementation
  • src/types.ts: TypeScript type definitions for Pokémon data
  • package.json: Project dependencies and scripts
  • tsconfig.json: TypeScript configuration

Adding New Features

To add new tools or enhance existing ones:

  1. Define new helper functions to fetch and format data
  2. Register new tools using the server.tool() method
  3. Implement the tool logic to handle requests and return responses

License

ISC

Acknowledgments


This project demonstrates how to build custom MCP servers that can extend AI assistants with domain-specific knowledge and capabilities.

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

A Model Context Protocol server that provides Pokémon information by connecting to the PokeAPI, enabling users to query detailed Pokémon data, discover random Pokémon, and find Pokémon by region or type.

  1. Features
    1. How It Works
      1. MCP Tools
      2. Architecture
    2. Installation
      1. Installing via Smithery
      2. Manual Installation
    3. Usage
      1. With Claude Desktop App
      2. Example Queries
      3. Project Structure
      4. Adding New Features
    4. License
      1. Acknowledgments
        ID: 4moxmubwte