Poke-MCP logo

Poke-MCP

Community
NaveenBandarage

A repo to play around with MCP (Model Context Protocol) and to query the PokeDex API

PublisherNaveenBandarage
Repositorypoke-mcp
LanguageTypeScript
Forks
11
Stars
16
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Poke-MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    16 stars and 11 forks from the linked repository.

MseeP.ai Security Assessment Badge

smithery badge

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.

This server now supports HTTP transport using Server-Sent Events (SSE) for real-time communication, making it accessible over HTTP instead of just stdio.

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
  • HTTP transport with Server-Sent Events (SSE) for MCP communication
  • Node.js built-in HTTP server

Installation

Installing via Smithery

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

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

Manual Installation

bash
# 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

Running the HTTP Server

To start the server in HTTP mode:

bash
# Start the server (defaults to port 3000)
npm start

# Or specify a custom port
PORT=8080 npm start

The server will be available at:

  • Info endpoint: http://127.0.0.1:3000/ - Server information and status
  • SSE endpoint: http://127.0.0.1:3000/sse - Server-Sent Events connection for MCP clients
  • Message endpoint: http://127.0.0.1:3000/message - POST endpoint for sending MCP messages

With Claude Desktop App (HTTP Transport)

  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 for HTTP transport:
json
{
  "mcpServers": {
    "pokedex": {
      "transport": {
        "type": "sse",
        "url": "http://127.0.0.1:3000/sse"
      }
    }
  }
}
  1. Start the Poke-MCP server: npm start
  2. Restart Claude Desktop
  3. You should now see the Pokémon tools available in Claude

Legacy Usage (stdio)

For backward compatibility, you can still run the server with stdio transport by reverting to the stdio implementation.

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.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "naveenbandarage-poke-mcp": {
      "command": "",
      "args": []
    }
  }
}

Use Poke-MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Poke-MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Poke-MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Poke-MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "naveenbandarage-poke-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "poke-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Poke-MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Poke-MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Poke-MCP to help me with this task?
Poke-MCP
Sure. I read it.
Here is what I found using Poke-MCP.

Frequently asked questions

What is the Poke-MCP MCP server used for?

Poke-MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Poke-MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Poke-MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Poke-MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Poke-MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Poke-MCP MCP to TypingMind?

Poke-MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Poke-MCP MCP provide in TypingMind?

Poke-MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Poke-MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Poke-MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇