Skip to main content
Glama

MCP Servers (OnePiece & Geolocalizar)

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

⚙️ 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


Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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 collection of two MCP servers that enable querying One Piece anime characters and geolocating public IP addresses.

  1. 📁 Content
    1. ⚙️ Requirements
      1. 📦 Install dependencies
    2. 🏴‍☠️ OnePieceServer MCP
      1. 📄 Description
      2. 🚀 Run
      3. 🛠 Exposed tool: one_piece
      4. 🌐 API used
    3. 🌍 Geolocate MCP
      1. 📄 Description
      2. 🚀 Run
      3. 🛠 Exposed tool: geolocalizar
      4. 🔐 Validation
    4. 📁 Project Structure
      1. 🧪 Development
        1. 🧑‍💻 Author

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
            Last updated -
            3
            248
            11
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            An MCP server implementation that enables users to interact with the PokeAPI to fetch Pokemon information through natural language queries.
            Last updated -
            Python
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            An MCP server that provides detailed Pokémon information by integrating with the PokeAPI, allowing users to fetch comprehensive data about Pokémon and simulate battles.
            Last updated -
            1
            Python

          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/Haonter/MCP-Servers'

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