pokemon-go-mcp

GhostTypes/pokemon-go-mcp

3.3

If you are the rightful owner of pokemon-go-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A comprehensive Model Context Protocol (MCP) server that provides real-time Pokemon Go data including events, raids, research tasks, and egg hatches.

Tools
5
Resources
0
Prompts
0

Pokemon Go MCP Server

A comprehensive Model Context Protocol (MCP) server providing real-time Pokemon Go data including events, raids, research tasks, egg hatches, and Team Rocket lineups


Feature Overview

CategoryFeaturesKey Capabilities
EventsCurrent Events, Event Details, Community DaysReal-time event tracking, spawn data, bonuses, exclusive moves
RaidsRaid Bosses, Tier Filtering, Shiny TrackingComplete raid listings, type filtering, weather boost detection
ResearchField Tasks, Reward Tracking, Task FilteringTask discovery, shiny rewards, easy completion paths
EggsEgg Pools, Distance Filtering, Shiny TrackingDistance-based filtering, regional exclusives, Adventure Sync rewards
Team RocketLineups, Shadow Pokemon, Encounter RewardsComplete trainer lineups, type effectiveness, shiny shadows
Cross-PlatformUniversal Search, Daily Priorities, StatusMulti-source search, curated recommendations, cache management

Quick Start

StepCommandDescription
1. Clonegit clone <repository-url>Clone the repository
2. Navigatecd pokemon-go-mcpEnter project directory
3. Install (uv)uv syncInstall with uv package manager (recommended)
3. Install (pip)pip install -e .Install with pip
4. Runuv run python server.pyStart the MCP server

Prerequisites

  • Python 3.10 or higher
  • uv package manager (recommended) or pip

Integration Options

PlatformConfigurationNotes
Claude DesktopAdd to claude_desktop_config.jsonRequires absolute path to server.py
Claude CodeUse claude mcp add commandOr create .mcp.json manually
VS CodeCreate .vscode/mcp.jsonSupports stdio and HTTP transports
n8n WorkflowsInstall n8n-nodes-mcpHTTP transport recommended
DockerUse docker build and docker runSupports HTTP/SSE transports

Claude Desktop Configuration

{
  "mcpServers": {
    "pokemon-go": {
      "command": "uv",
      "args": ["run", "python", "/path/to/pokemon-go-mcp/pogo_mcp/server.py"]
    }
  }
}

Claude Code Configuration

# Quick add with claude mcp command
claude mcp add pokemon-go uv run python /path/to/pokemon-go-mcp/pogo_mcp/server.py

# Or manually create .mcp.json in your project directory
echo '{"servers": {"pokemon-go": {"command": "uv", "args": ["run", "python", "/path/to/pokemon-go-mcp/pogo_mcp/server.py"]}}}' > .mcp.json

VS Code Configuration

Create .vscode/mcp.json in your workspace:

{
  "servers": {
    "pokemon-go-stdio": {
      "command": "uv",
      "args": ["run", "python", "/path/to/pokemon-go-mcp/pogo_mcp/server.py"]
    },
    "pokemon-go-http": {
      "type": "http",
      "url": "http://localhost:8000",
      "description": "Pokemon Go MCP Server via HTTP"
    }
  }
}

n8n Workflows

  1. Install n8n MCP Node:

    npm install n8n-nodes-mcp
    # Set environment: N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
    
  2. Configure MCP Client Node:

    • Connection Type: HTTP Streamable (Recommended)
    • URL: http://localhost:8000 (when running with MCP_TRANSPORT=http)
    • Headers: Optional authentication headers if needed
  3. Docker Deployment for n8n:

    # Build and run the Pokemon Go MCP server
    docker build -t pokemon-go-mcp .
    docker run -d -p 8000:8000 -e MCP_TRANSPORT=http pokemon-go-mcp
    

Transport Modes

TransportCommandUse Case
HTTPMCP_TRANSPORT=http MCP_PORT=8000 python pogo_mcp/server.pyWeb integrations, automation tools
SSEMCP_TRANSPORT=sse MCP_PORT=8000 python pogo_mcp/server.pyLegacy systems
stdiopython pogo_mcp/server.pyDefault, Claude Desktop

Showcase

Pokemon Go MCP Server Showcase 1

Pokemon Go MCP Server Showcase 2

Pokemon Go MCP Server Showcase 3


Available Tools

Tool NameCategoryDescription
get_current_eventsEventsList all active and upcoming events
get_event_detailsEventsDetailed information about a specific event
get_community_day_infoEventsCommunity Day specifics and featured Pokemon
get_event_spawnsEventsPokemon spawning more frequently during events
get_event_bonusesEventsActive event bonuses (XP, Stardust, etc.)
search_eventsEventsSearch events by name or type
get_current_raidsRaidsAll current raid bosses by tier
get_raid_by_tierRaidsFilter raids by tier (1, 3, 5, Mega)
get_shiny_raidsRaidsOnly shiny-eligible raid bosses
search_raid_bossRaidsFind specific Pokemon in raids
get_raids_by_typeRaidsFilter raids by Pokemon type
get_weather_boosted_raidsRaidsRaids boosted by weather conditions
get_raid_recommendationsRaidsSmart raid recommendations based on priorities
get_current_researchResearchAll field research tasks and rewards
search_research_by_rewardResearchFind tasks by Pokemon reward
get_research_by_task_typeResearchFilter by task type (catch, battle, spin, etc.)
get_shiny_research_rewardsResearchTasks with shiny reward potential
get_easy_research_tasksResearchQuick-completion tasks for efficient farming
search_research_tasksResearchSearch tasks by description
get_research_recommendationsResearchPersonalized research task recommendations
get_egg_hatchesEggsAll Pokemon currently hatching from eggs
get_egg_hatches_by_distanceEggsFilter by egg distance (2km, 5km, 10km, etc.)
get_shiny_egg_hatchesEggsShiny-eligible egg Pokemon
search_egg_pokemonEggsFind specific Pokemon in egg pools
get_regional_egg_pokemonEggsRegion-exclusive Pokemon from eggs
get_gift_exchange_pokemonEggs7km gift egg Pokemon from friends
get_route_gift_pokemonEggs7km route gift egg Pokemon
get_adventure_sync_rewardsEggsAdventure Sync weekly walking rewards
get_egg_recommendationsEggsSmart incubation strategy recommendations
get_team_rocket_lineupsTeam RocketAll current Team Rocket trainer lineups
search_rocket_by_pokemonTeam RocketFind trainers using specific Pokemon
get_shiny_shadow_pokemonTeam RocketAll Shadow Pokemon that can be shiny
get_rocket_encountersTeam RocketPokemon available as encounter rewards
get_rocket_trainers_by_typeTeam RocketFilter trainers by Pokemon type specialty
calculate_pokemon_weaknessTeam RocketType effectiveness against Shadow Pokemon
get_rocket_trainer_detailsTeam RocketDetailed information about a specific trainer
get_all_shiny_pokemonCross-PlatformAll shiny Pokemon across all sources
search_pokemon_everywhereCross-PlatformUniversal Pokemon search across all data
get_daily_prioritiesCross-PlatformCurated daily activity recommendations
get_server_statusCross-PlatformServer status and data freshness information
clear_cacheCross-PlatformForce fresh data retrieval from sources

Example Usage

Get Today's Priorities

Use the get_daily_priorities tool to get curated recommendations for:

  • Active events to participate in
  • Priority raids for shiny hunting
  • Easy research tasks with valuable rewards
  • Optimal egg hatching strategy

Find a Specific Pokemon

Use search_pokemon_everywhere with "Dratini" to find:

  • If it's featured in any current events
  • Whether it's available as a raid boss
  • Which research tasks reward it
  • If it can be hatched from eggs
  • Shiny availability across all sources

Plan Your Shiny Hunt

Use get_all_shiny_pokemon to see every shiny currently available, then:

  • get_shiny_raids for raid targets
  • get_shiny_research_rewards for research tasks
  • get_shiny_egg_hatches for egg planning
  • get_route_gift_pokemon for special route gift opportunities
  • get_shiny_shadow_pokemon for Shadow Pokemon

Architecture

pokemon-go-mcp/
├── pogo_mcp/
│   ├── __init__.py          # Package initialization
│   ├── server.py            # Main MCP server with cross-cutting tools
│   ├── api_client.py        # Local data client with caching
│   ├── types.py             # Type definitions and data classes
│   ├── utils.py             # Utility functions and formatters
│   ├── events.py            # Event-related tools
│   ├── raids.py             # Raid-related tools
│   ├── research.py          # Research-related tools
│   ├── eggs.py              # Egg-related tools
│   └── rocket_lineups.py    # Team Rocket-related tools
├── data/                    # Local JSON data files (git-ignored)
├── tests/                   # Test files
├── server.py                # Main entry point
├── pyproject.toml           # Project configuration
└── README.md                # This file
ComponentTechnologyPurpose
FastMCPMCP FrameworkModern MCP server framework for easy tool registration
Custom ScraperPythonBuilt-in scraper that collects and saves data to local JSON files
Local Data ClientPythonReads data from local JSON files with smart caching
Type SafetyPython Type HintsFull type hints and data validation throughout codebase
Modular DesignPython ModulesSeparate modules for each data domain (events, raids, etc.)

Development

Setup Development Environment

# Clone repository
git clone <repository-url>
cd pokemon-go-mcp

# Install with development dependencies
uv sync --all-extras --dev

# Code formatting
ruff format .

# Linting
ruff check .

# Type checking
pyright

Testing

CommandDescription
pytestRun all tests
pytest --cov=pogo_mcpRun tests with coverage report
pytest tests/test_events_parsing.pyTest specific module

License

This project is licensed under the MIT License - see the file for details.