Skip to main content
Glama
didacusdev

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


Install Server
A
license - permissive license
B
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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

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