MCP Servers (OnePiece & Geolocalizar)

Integrations

  • Used to make HTTP requests to external APIs, enabling the MCP server to fetch One Piece character data and geolocation information for IP addresses.

  • Required runtime environment for the MCP server, with version 18 or higher needed.

  • Package manager used for installing dependencies, with version 9 or higher required.

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


You must be authenticated.

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

          • -
            security
            A
            license
            -
            quality
            MCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.
            Last updated -
            7
            663
            18
            JavaScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            MCP server for maigret, a powerful OSINT tool that collects user account information from various public sources. This server provides tools for searching usernames across social networks and analyzing URLs.
            Last updated -
            19
            63
            JavaScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            A lightweight mcp server that tells you exactly where you are.
            Last updated -
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.
            Last updated -
            1
            Python
            Apache 2.0

          View all related MCP servers

          ID: lfyfcqv3fg