Skip to main content
Glama
MCP Servers (OnePiece & Geolocalizar)

MCP Servers (OnePiece & Geolocalizar)

by didacusdev

MCP-Server (OnePieceServer & Geolocate)

This project contains two MCP servers developed with @modelcontextprotocol/sdk . Each exposes a useful tool that can be integrated with an MCP-compatible AI client.


πŸ“ Content

  • onePiece.ts: MCP server for querying One Piece characters

  • geolocalizar.ts: MCP server for geolocating public IP addresses


Related MCP server: MyAnimeList MCP Server

βš™οΈ Requirements

  • Node.js β‰₯ 18

  • npm β‰₯ 9

πŸ“¦ Install dependencies

npm install @modelcontextprotocol/sdk axios zod
npm install -D tsx

πŸ΄β€β˜ οΈ OnePieceServer MCP

πŸ“„ Description

OnePieceServer allows you to view information about characters from the anime/manga One Piece, either individually or from the entire available list.

πŸš€ Run

npx tsx onePiece.ts

You can also use the MCP Inspector:

npx -y @modelcontextprotocol/inspector npx -y tsx onePiece.ts

πŸ›  Exposed tool: one_piece

  • Input :

    { "id": "1" }

    For the complete list:

    { "id": "todos" }
  • Output :

    {
      "content": [
        {
          "type": "text",
          "text": "InformaciΓ³n del personaje: { ... }"
        }
      ]
    }

🌐 API used

  • https://onepieceapi-50cm.onrender.com/personaje/{id}

  • https://onepieceapi-50cm.onrender.com/personajes


🌍 Geolocate MCP

πŸ“„ Description

Geolocalizar allows you to obtain approximate geographic information from a public IP (IPv4) address.

πŸš€ Run

npx tsx main.ts

Or use with the MCP Inspector:

npx -y @modelcontextprotocol/inspector npx -y tsx main.ts

πŸ›  Exposed tool: geolocalizar

  • Input :

    { "ip": "8.8.8.8" }
  • Output :

    {
      "content": [
        {
          "type": "text",
          "text": "{ \"ip\": \"8.8.8.8\", \"country\": \"United States\", ... }"
        }
      ]
    }

πŸ” Validation

Use zod to validate that the input is a valid IP in IPv4 format.


πŸ“ Project Structure

.
β”œβ”€β”€ geolocalizar.ts   # MCP Geolocalizar
β”œβ”€β”€ onePiece.ts       # MCP OnePieceServer
β”œβ”€β”€ package.json      # Archivo de configuracion de NPM
└── README.md         # Este archivo

πŸ§ͺ Development

Both servers communicate via stdin and stdout using StdioServerTransport , allowing easy execution from CLI or integration with MCP clients.


πŸ§‘β€πŸ’» Author

Developed by Diego RodrΓ­guez
βœ‰οΈ contacto@diegorodriguez.dev


Available Tools

1 tool
one_pieceC

Herramienta para buscar informacion sobre personajes de One Piece

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear, distinct purpose focused on searching One Piece character information.

    Naming Consistency5/5

    With only one tool, naming consistency is inherently perfect. The tool name 'one_piece' follows a clear snake_case pattern and directly reflects its domain, though there is no pattern to evaluate across multiple tools.

    Tool Count2/5

    The server has only one tool, which is too few for its apparent scope covering both One Piece and Geolocalizar domains. This minimal toolset severely limits functionality and suggests an incomplete implementation for the server's stated purpose.

    Completeness1/5

    The tool surface is severely incomplete. The server name suggests coverage of both One Piece and Geolocalizar domains, but only provides a single tool for One Piece character search, with no tools for Geolocalizar and no CRUD/lifecycle operations for either domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers