Pokedex MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Pokedex MCP Server Compare Bulbasaur, Charmander, and Squirtle."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pokédex MCP Server
A local Model Context Protocol server that exposes a public, read-only Gen I Pokédex knowledge base (National Pokédex #001–#025) to Claude Desktop.
It fetches plain Markdown directly from the public GitHub repository
alexverdin/llm-pokedex-demo
over raw.githubusercontent.com — no authentication, no tokens, no git
clone, no database. Downloaded files are held in an in-memory cache (default
TTL: 10 minutes) so repeated queries don't re-download.
What it does
Tools (7):
Tool | Description |
| All 25 entries |
| Entries whose name contains |
| Get one entry by |
|
|
| Compare 2–6 |
| Rank all 25 by |
| Evolution section text for an id/name + related entries resolved by scanning other files. |
Resources (2):
pokedex://index— rawINDEX.md.pokedex://pokemon/{id}— raw entry Markdown for a 3-digit id.
Related MCP server: Pokemon MCP Server
Requirements
Node.js ≥ 20 (
node --version).An MCP client — Claude Desktop and/or OpenCode.
Installation
git clone https://github.com/alexverdin/mcp-pokedex-demo.git
cd mcp-pokedex-demo
npm install
npm run buildVerify it starts (Ctrl+C to stop — it waits for a client on stdio):
npm start
# stderr: pokedex-mcp running on stdio (repo: alexverdin/llm-pokedex-demo@main)Claude Desktop config
Add the server to claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Use an absolute path to the built entry point (dist/index.js):
{
"mcpServers": {
"pokedex": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/mcp-pokedex-demo/dist/index.js"]
}
}
}Windows example (note the doubled backslashes):
{
"mcpServers": {
"pokedex": {
"command": "node",
"args": ["C:\\Users\\you\\mcp-pokedex-demo\\dist\\index.js"]
}
}
}Restart Claude Desktop (fully quit and reopen) after editing the config. The server and its tools appear once Claude Desktop relaunches.
Optional flags
Point the server at a fork or tune the cache by adding flags to args:
"args": [
"/ABSOLUTE/PATH/TO/dist/index.js",
"--repo", "your-user/your-fork",
"--branch", "main",
"--ttl", "600000"
]--repoacceptsowner/repoor a fullgithub.comURL. Default:alexverdin/llm-pokedex-demo.--branchdefault:main.--ttlcache lifetime in ms. Default:600000(10 min).
OpenCode config
OpenCode reads MCP servers from an opencode.json file.
Add the server under the mcp block as a local (stdio) server, pointing
command at the built entry point (dist/index.js).
Config file locations (project config overrides global):
Global:
%USERPROFILE%\.config\opencode\opencode.jsonProject:
opencode.jsonin the repo root
Use an absolute path with doubled backslashes on Windows:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"pokedex": {
"type": "local",
"command": ["node", "C:\\ABSOLUTE\\PATH\\TO\\mcp-pokedex\\dist\\index.js"],
"enabled": true
}
}
}macOS / Linux example:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"pokedex": {
"type": "local",
"command": ["node", "/ABSOLUTE/PATH/TO/mcp-pokedex/dist/index.js"],
"enabled": true
}
}
}Restart the OpenCode session after editing. The server's tools then appear in the agent's tool list.
Optional flags (same as above) go in the command array after the script path:
"command": [
"node",
"C:\\ABSOLUTE\\PATH\\TO\\mcp-pokedex\\dist\\index.js",
"--repo", "your-user/your-fork",
"--branch", "main",
"--ttl", "600000"
]Example prompts
"List all Pokédex entries that are Fire type."
"Get the base stats for Pikachu."
"Compare Bulbasaur, Charmander, and Squirtle."
"What are the three fastest Pokémon in the Pokédex?"
"Show me the evolution chain for Charmander."
"Search for Pokémon whose name contains 'saur'."
Troubleshooting
Server not showing up: confirm the path in
argsis absolute and points atdist/index.js(notsrc/), and that you rannpm run build. Fully restart Claude Desktop.node: command not found: Claude Desktop must findnodeon PATH. Use an absolute path to the node binary incommandif needed (e.g./usr/local/bin/nodeor the output ofwhich node/where node).Wrong Node version: requires Node ≥ 20 (
node --version). ESM + globalfetchdepend on it.Logs:
macOS:
~/Library/Logs/Claude/mcp*.logWindows:
%APPDATA%\Claude\logs\mcp*.logThe server writes its own diagnostics to stderr (stdout is reserved for the MCP protocol).
Network: the only outbound host is
raw.githubusercontent.com. A 404 for an entry usually means an out-of-range id (valid ids are001–025).
Development
npm run dev # tsx watch mode (rebuild-free)
npm run build # compile to dist/
npm start # run compiled serverTesting with MCP Inspector
MCP Inspector lets you call tools and read resources directly, no Claude Desktop / OpenCode needed.
npm run build
npx @modelcontextprotocol/inspector node dist/index.jsTerminal prints a URL with an auth token, e.g.:
http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=<token>Open it in browser. Transport preset to stdio, command node dist/index.js.
Click Connect, then:
Tools tab — pick a tool (e.g.
get_pokemon), fill args (id: "025"), Run.Resources tab — read
pokedex://indexorpokedex://pokemon/001.
To test against a fork or non-default flags, append them after the script path:
npx @modelcontextprotocol/inspector node dist/index.js --repo your-user/your-fork --ttl 600000Ctrl+C in the terminal stops both Inspector and the server.
License
MIT — see LICENSE.
Available Tools
7 toolscompare_pokemonCompare PokémonA
Compare 2–6 entries. Returns a Markdown table of types + all base stats.
Inputs: ids (required).
get_base_statsGet base statsA
Return { hp, attack, defense, spAtk, spDef, speed, total } as numbers for an id or name.
Inputs: id, name.
get_evolution_chainGet evolution chainA
Return the Evolution section text for an id or name, plus related entries (other Pokémon whose Evolution text mentions this one, and any names this entry mentions).
Inputs: id, name.
get_pokemonGet PokémonA
Get an entry by id (e.g. "025") or name (e.g. "pikachu"). Returns parsed data by default; use format to include raw Markdown.
Inputs: id, name, format.
list_pokedex_entriesList Pokédex entriesA
Parse INDEX.md and return all entries as [{ id, name, types, file }]. Optional case-insensitive substring filter on type.
Inputs: type.
rank_by_statRank by statA
Rank all 25 entries by a base stat. order defaults to desc, limit defaults to 5.
Inputs: stat (required), limit, order.
search_by_nameSearch by nameA
Return entries whose name contains the query (case-insensitive substring).
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: search by substring, retrieve full entry, retrieve stats, compare multiple, rank by stat, get evolution chain, and list entries with optional type filter. No two tools target the same operation, so selector confusion is unlikely.
All tool names follow a consistent verb_noun pattern (search_by_name, get_pokemon, get_base_stats, compare_pokemon, rank_by_stat, get_evolution_chain, list_pokedex_entries). Naming is uniform and predictable across the entire set.
Seven tools is well-scoped for a focused Pokedex server, covering the core data access needs without unnecessary bloat. Each tool provides a distinct useful capability, fitting comfortably within the ideal 3–15 range.
The tool surface covers the full read-only lifecycle of the Pokedex domain: listing, searching, retrieving, detailed stats, comparisons, rankings, and evolution chains. There are no obvious dead ends or missing fundamental operations for the apparent scope (a 25-entry dataset).
Maintenance
Related MCP Connectors
Provide detailed Pokémon data and information through a standardized MCP interface. Enable LLMs an…
Look up Pokémon, moves, abilities, items, natures, and type matchups from PokéAPI v2.
Look up Pokemon TCG Pocket cards, sets, packs, and evaluate decks with battle simulations.
Real sold prices, history & PSA population for graded Pokémon cards (EN/JP/CN). Knows nicknames.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables users to retrieve Pokémon statistics, sprite images, and complete information using the PokeAPI. Supports querying by Pokémon name or ID number to get base stats, various sprite URLs including shiny variants, and comprehensive Pokémon data.5MIT
- FlicenseNot gradedqualityDmaintenanceProvides Pokemon information from PokeAPI including stats, types, height, and weight. Enables looking up Pokemon by name/ID, getting random Pokemon by type, and comparing Pokemon side-by-side.-
- FlicenseNot gradedqualityDmaintenanceEnables users to fetch detailed Pokémon data, build tournament squads, and simulate battles using PokéAPI. It also integrates Wikipedia to provide fun comparisons between Pokémon and their real-world animal inspirations.-
- AlicenseAqualityDmaintenanceEnables querying Pokemon information from PokeAPI, including Pokemon details, types, moves, abilities, evolution chains, and search functionality, through natural language.8MIT