Skip to main content
Glama

PokeAPI MCP Server

by AkhrHysd

mcp-pokeapi-server

POKEAPI と連携し、MCP(Model Context Protocol)仕様でポケモン情報を取得できるサーバーです。

概要

  • MCP プロトコル(JSON-RPC 2.0 over stdio)で、LLM アプリや MCP クライアントからポケモン情報取得ツールを提供します。
  • POKEAPI(https://pokeapi.co/)を利用。
  • スキーマバリデーションにはzodを使用。

セットアップ

npm install

ビルド

npx tsc

開発用起動(ts-node)

npx ts-node src/index.ts

MCP クライアントからの利用例

MCP クライアントや LLM アプリから、標準入力/出力で JSON-RPC リクエストを送信します。

1. ツール一覧取得(list_tools)

{ "jsonrpc": "2.0", "id": 1, "method": "list_tools" }
レスポンス例
{ "jsonrpc": "2.0", "id": 1, "result": { "tools": [ { "name": "getPokemonInfo", "description": "ポケモン名またはIDから、POKEAPIでポケモン情報を取得します。", "input_schema": { ... }, "output_schema": { ... } } ] } }

2. ポケモン情報取得(call_tool)

{ "jsonrpc": "2.0", "id": 2, "method": "call_tool", "params": { "name": "getPokemonInfo", "arguments": { "nameOrId": "pikachu" } } }
レスポンス例
{ "jsonrpc": "2.0", "id": 2, "result": { "content": [ { "type": "json", "data": { "name": "pikachu", "id": 25, "height": 4, "weight": 60, "types": ["electric"] } } ] } }

テスト

npm test

参考

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that interfaces with PokeAPI to provide Pokémon information to LLM applications through JSON-RPC over stdio.

  1. 概要
    1. セットアップ
      1. ビルド
        1. 開発用起動(ts-node)
          1. MCP クライアントからの利用例
            1. 1. ツール一覧取得(list_tools)
            2. 2. ポケモン情報取得(call_tool)
          2. テスト
            1. 参考

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides access to MongoDB databases. This server enables LLMs to inspect collection schemas and execute read-only queries.
            Last updated -
            8
            344
            254
            TypeScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to interact directly with MongoDB databases, allowing users to query collections, inspect schemas, and manage data through natural language.
            Last updated -
            1,783
            1
            TypeScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to interact directly with MongoDB databases, allowing users to query collections, inspect schemas, and manage data through natural language.
            Last updated -
            1,783
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.
            Last updated -
            TypeScript
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/AkhrHysd/mcp-pokeapi-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server