PokeAPI MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PokeAPI MCP Server
A Model Context Protocol (MCP) server that provides comprehensive access to Pokémon data from the PokeAPI. Perfect for AI assistants, chatbots, and applications that need rich Pokémon information.
🚀 Features
9 Comprehensive Tools for accessing Pokémon data
LLM-Optimized Responses with clean formatting and emojis
Smart Data Processing handling PokeAPI gotchas
Docker Ready with secure containerization
No Authentication Required - works out of the box
Error Handling with user-friendly messages
Related MCP server: Pokemon MCP Server
🛠️ Available Tools
Tool | Description | Example |
| Get detailed Pokémon info (stats, types, abilities, sprites) |
|
| Get species data (flavor text, evolution info, capture rate) |
|
| Get evolution chain by ID |
|
| Get type effectiveness and damage relations |
|
| Get TM/HM/TR information |
|
| Get Pokédex entries and descriptions |
|
| List Pokémon with pagination |
|
| List all Pokémon types |
|
| Find Pokémon of specific type |
|
📋 Prerequisites
Docker Desktop with MCP Toolkit enabled
Docker MCP CLI plugin (
docker mcpcommand)MCP-compatible client (Claude Desktop, Cursor, etc.)
🚀 Quick Start
1. Clone the Repository
git clone https://github.com/joereg4/pokeapi-mcp-server.git
cd pokeapi-mcp-server2. Pull the Docker Image
docker pull joereg4/pokeapi-mcp-server:latest3. Set Up MCP Configuration
For Cursor:
Add to your ~/.cursor/mcp.json:
{
"mcpServers": {
"pokeapi": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "/var/run/docker.sock:/var/run/docker.sock",
"-v", "/Users/yourusername/.docker/mcp:/mcp",
"docker/mcp-gateway",
"--catalog=/mcp/catalogs/docker-mcp.yaml",
"--catalog=/mcp/catalogs/custom.yaml",
"--config=/mcp/config.yaml",
"--registry=/mcp/registry.yaml",
"--tools-config=/mcp/tools.yaml",
"--transport=stdio"
]
}
}
}For Claude Desktop:
Add to your Claude Desktop config:
{
"mcpServers": {
"pokeapi": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "/var/run/docker.sock:/var/run/docker.sock",
"-v", "/Users/yourusername/.docker/mcp:/mcp",
"docker/mcp-gateway",
"--catalog=/mcp/catalogs/docker-mcp.yaml",
"--catalog=/mcp/catalogs/custom.yaml",
"--config=/mcp/config.yaml",
"--registry=/mcp/registry.yaml",
"--tools-config=/mcp/tools.yaml",
"--transport=stdio"
]
}
}
}4. Create MCP Catalog
mkdir -p ~/.docker/mcp/catalogs
cat > ~/.docker/mcp/catalogs/custom.yaml << EOF
version: 2
name: custom
displayName: Custom MCP Servers
registry:
pokeapi:
description: "Access Pokémon data from PokeAPI"
title: "PokeAPI"
type: server
dateAdded: "2025-01-27T00:00:00Z"
image: pokeapi-mcp-server:latest
ref: ""
readme: ""
toolsUrl: ""
source: ""
upstream: ""
icon: ""
tools:
- name: get_pokemon
- name: get_pokemon_species
- name: get_evolution_chain
- name: get_type
- name: get_machine
- name: get_pokedex
- name: list_pokemon
- name: list_types
- name: search_pokemon_by_type
secrets: []
metadata:
category: integration
tags:
- pokemon
- gaming
- api
license: MIT
owner: local
EOF5. Update Registry
echo "registry:" >> ~/.docker/mcp/registry.yaml
echo " pokeapi:" >> ~/.docker/mcp/registry.yaml
echo " ref: \"\"" >> ~/.docker/mcp/registry.yaml6. Restart Your MCP Client
Restart Cursor, Claude Desktop, or your MCP client to load the new server.
💡 Usage Examples
Once configured, you can use natural language queries:
Basic Pokémon Information
"Get information about Pikachu"
"Show me Charizard's stats and abilities"
"What are Mewtwo's base stats?"
Evolution and Species Data
"What are the evolution chains for Eevee?"
"Get species information for Bulbasaur"
"Show me Pikachu's evolution chain"
Type Effectiveness
"What are the damage relations for electric type?"
"Show me all fire type Pokémon"
"What types are weak to water?"
Pokédex and Lists
"List the first 50 Pokémon"
"Get the National Pokédex information"
"Show me all available Pokémon types"
Technical Information
"What machine teaches Thunderbolt?"
"Get machine information for TM01"
🏗️ Architecture
Your MCP Client → MCP Gateway → PokeAPI MCP Server → PokeAPIThe server acts as a bridge between your MCP client and the PokeAPI, providing:
Formatted responses optimized for LLM consumption
Error handling with user-friendly messages
Data processing to handle PokeAPI quirks
Pagination support for large datasets
🧪 Testing
Test the Server Directly
# Test MCP protocol
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | docker run -i --rm pokeapi-mcp-server python pokeapi_server.py
# Test a specific tool
docker run --rm pokeapi-mcp-server python -c "
import asyncio
import sys
sys.path.append('.')
from pokeapi_server import get_pokemon
print(asyncio.run(get_pokemon('pikachu')))
"Verify MCP Integration
# Check if server appears in MCP list
docker mcp server list🔧 Development
Local Development
# Install dependencies
pip install -r requirements.txt
# Run server directly
python pokeapi_server.py
# Test with MCP protocol
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | python pokeapi_server.pyAdding New Tools
Add function to
pokeapi_server.pywith@mcp.tool()decoratorUpdate the catalog entry with new tool name
Rebuild Docker image:
docker build -t pokeapi-mcp-server .Restart your MCP client
🐛 Troubleshooting
Tools Not Appearing
✅ Verify Docker image built successfully
✅ Check catalog and registry files exist
✅ Ensure MCP client configuration is correct
✅ Restart your MCP client completely
API Errors
✅ PokeAPI is free with no rate limits
✅ Server includes 10-second timeout handling
✅ Check network connectivity if requests fail
✅ Verify Pokémon names/IDs are correct
Common Issues
"Resource not found": Check spelling of Pokémon names (use lowercase)
"Network error": Verify internet connection and PokeAPI availability
"Tools not loading": Ensure Docker is running and MCP configuration is correct
📊 Data Processing Features
The server intelligently processes PokeAPI data:
🖼️ Sprite Handling: Extracts and formats sprite URLs, handles missing sprites gracefully
🌐 Language Filtering: Automatically filters flavor text to English
🔄 Evolution Chain Flattening: Converts complex evolution data to readable trees
⚔️ Move Data Processing: Shows version group details and limits results for readability
🎯 Type Relationship Formatting: Clear display of damage multipliers and relationships
🔒 Security
✅ No Authentication Required - PokeAPI is public
✅ Non-root Container - Runs as unprivileged user
✅ HTTPS Only - All API requests use secure connections
✅ No Data Storage - No sensitive information stored or logged
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Quick Start for Contributors
Fork the repository
Create a feature branch:
git checkout -b feature-nameMake your changes
Test thoroughly
Commit your changes:
git commit -m 'Add some feature'Push to the branch:
git push origin feature-nameSubmit a pull request
Documentation
CONTRIBUTING.md - Detailed contribution guidelines
DEVELOPER.md - Technical implementation details
CHANGELOG.md - Version history and changes
🙏 Acknowledgments
PokeAPI for providing the comprehensive Pokémon database
Model Context Protocol for the MCP specification
Docker for containerization support
📞 Support
If you encounter any issues or have questions:
Check the Troubleshooting section
Search existing Issues
Create a new issue with detailed information about your problem
Made with ❤️ for the Pokémon and AI communities
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Discover, inspect and run 63,000+ agent tools from one balance. Pay per call, no subscriptions.
Access Pollinations models and API capabilities through agent tools.
17 pay-per-call web, finance, legal and onchain tools for AI agents. USDC on Base via x402/MPP.
Pay-per-call tools for AI agents, paid in USDC on Base or Solana. Web search, page and PDF reading, crypto news, Hyperliquid perps, market pulse, Chainlink price history, token checks, SEC filings, weather and more. Free calls every day, and a failed call costs nothing. Works with Tollkit Wallet.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI agents to access comprehensive Pokémon data through PokeAPI, including detailed Pokémon information, type effectiveness charts, encounter locations, and search capabilities. Provides a complete toolkit for retrieving stats, abilities, sprites, battle mechanics, and wild encounter data for all Pokémon.41-
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to fetch Pokémon data, list popular Pokémon, and build tournament squads via the PokéAPI.34-
- AlicenseBqualityDmaintenanceEmpowers AI assistants to fetch and explore comprehensive Pokémon data from PokeAPI via 47 tools covering Pokémon, moves, items, game mechanics, and more.47137 npm2ISC
- AlicenseAqualityDmaintenanceEnables querying Pokemon information from PokeAPI, including Pokemon details, types, moves, abilities, evolution chains, and search functionality, through natural language.8MIT