About PokeAPI MCP Server
PokeAPI MCP Server is a Ruby server built with mcp_rb for Claude and other MCP clients to retrieve Pokémon information. It provides basic details, sprite image URLs, and random Pokémon data.
Key features
- 01Look up Pokémon details by name or ID
- 02Retrieve Pokémon sprite image URLs
- 03Fetch random Pokémon information
Use cases
- 01Check a Pokémon's types, height, and weight
- 02Get a Pokémon image URL for an application
- 03Discover a random Pokémon
MCP support
The MCP server exposes Pokémon lookups to clients through tools for basic details and sprite image URLs.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPokeAPI MCP Server
This project is an MCP server built with mcp_rb for retrieving Pokémon information. It utilizes the PokeAPI to fetch various Pokémon data and provides a simple interface for Claude to interact with the Pokémon database.
Features
- Retrieve basic Pokémon information (ID, name, height, weight, types)
- Get Pokémon sprite image URLs
- Fetch random Pokémon information
Setup
- First, install the required gems:
bundle install
- Start the MCP server:
ruby poke_api.rb
Usage
Claude Desktop Configuration
Add the following configuration to your Claude Desktop config file (typically located at ~/.config/claude-desktop/config.json or ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"local": {
"command": "ruby",
"args": ["/path/to/your/poke_api.rb"],
"env": {
"RUBY_ENV": "development"
},
"disabled": false,
"alwaysAllow": ["pokemon_info", "pokemon_sprite"]
}
}
}
Note: Replace /path/to/your/poke_api.rb with the actual path to your poke_api.rb file.
Available Tools
-
pokemon_info- Retrieves basic Pokémon information
- Argument:
name_or_id(Pokémon name or ID)
-
pokemon_sprite- Gets Pokémon sprite image URL
- Argument:
name_or_id(Pokémon name or ID)
Example
# Get Pikachu's information
pokemon_info("pikachu")
# Get Pikachu's sprite image URL
pokemon_sprite("pikachu")
Dependencies
- Ruby
- mcp gem
- net/http
- json
- uri
License
MIT License
We hope this README helps you understand and use the project effectively.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.