MCP Servers (OnePiece & Geolocalizar)
MCP 服务器 (OnePieceServer 和地理定位)
该项目包含两个使用@modelcontextprotocol/sdk开发的 MCP 服务器。每个都公开了一个可由 MCP 兼容的 AI 客户端集成的有用工具。
📁 内容
onePiece.ts:用于查询海贼王角色的 MCP 服务器
geolocalizar.ts:用于对公共 IP 地址进行地理定位的 MCP 服务器
Related MCP server: MyAnimeList MCP Server
⚙️ 要求
Node.js ≥ 18
npm≥9
📦安装依赖项
npm install @modelcontextprotocol/sdk axios zod
npm install -D tsx🏴☠️ OnePieceServer MCP
📄 描述
OnePieceServer允许您查看动漫/漫画《海贼王》中人物的信息,可以单独查看,也可以从整个可用列表中查看。
🚀 运行
npx tsx onePiece.ts您还可以使用 MCP 检查器:
npx -y @modelcontextprotocol/inspector npx -y tsx onePiece.ts🛠 暴露的工具: one_piece
输入:
{ "id": "1" }完整列表:
{ "id": "todos" }输出:
{ "content": [ { "type": "text", "text": "Información del personaje: { ... }" } ] }
🌐 使用的 API
https://onepieceapi-50cm.onrender.com/personaje/{id}https://onepieceapi-50cm.onrender.com/personajes
🌍 地理定位 MCP
📄 描述
Geolocalizar允许您从公共 IP(IPv4)地址获取大致的地理信息。
🚀 运行
npx tsx main.ts或者与 MCP Inspector 一起使用:
npx -y @modelcontextprotocol/inspector npx -y tsx main.ts🛠 公开工具: geolocalizar
输入:
{ "ip": "8.8.8.8" }输出:
{ "content": [ { "type": "text", "text": "{ \"ip\": \"8.8.8.8\", \"country\": \"United States\", ... }" } ] }
🔐 验证
使用zod验证输入是否为 IPv4 格式的有效 IP。
📁 项目结构
.
├── geolocalizar.ts # MCP Geolocalizar
├── onePiece.ts # MCP OnePieceServer
├── package.json # Archivo de configuracion de NPM
└── README.md # Este archivo🧪 开发
两个服务器都使用StdioServerTransport通过stdin和stdout进行通信,从而允许从 CLI 轻松执行或与 MCP 客户端集成。
🧑💻作者
由Diego Rodríguez开发
✉️ contacto@diegorodriguez.dev
Available Tools
1 toolone_pieceC
Herramienta para buscar informacion sobre personajes de One Piece
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id del personaje |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. The description only states what the tool does (search for character information) but doesn't reveal any behavioral traits such as whether it's read-only or mutative, what format the information returns in, error conditions, rate limits, or authentication requirements. This leaves significant gaps in understanding how the tool behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence in Spanish that directly states the tool's purpose without any unnecessary words. It's appropriately sized and front-loaded, making it easy for an agent to quickly understand the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that there are no annotations and no output schema, the description is insufficiently complete. It doesn't explain what kind of information is returned (e.g., character details, biography, abilities), the format of the response, or any error handling. For a search tool with no structured output documentation, the description should provide more context about the results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage (the 'id' parameter is documented as 'Id del personaje'), so the baseline score is 3. The description doesn't add any additional meaning about the parameter beyond what the schema already provides—it doesn't explain what constitutes a valid character ID, provide examples, or clarify the search scope.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'buscar informacion sobre personajes de One Piece' (search for information about One Piece characters). It specifies both the verb (search) and resource (One Piece characters). However, since there are no sibling tools mentioned, we cannot assess differentiation from alternatives, so it cannot achieve a perfect 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any prerequisites, constraints, or contextual factors that would help an agent decide when this tool is appropriate. The absence of sibling tools means there's no explicit comparison, but the description still lacks basic usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
one_piece
TDQS
Scored across 1 tool
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.
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.
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.
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
Related MCP Connectors
Official IPinfo MCP Server - IP intelligence tools for AI assistants
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
Search and discover 25,000+ MCP servers across all major registries. Connect and pay autonomously.
Search 77,000+ MCP servers ranked by real adoption data to find the right one for any task.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides IP geolocation services using MaxMind's GeoIP2 databases, allowing users to retrieve geographical information for single or multiple IP addresses including country, city, coordinates, and ASN details.GPL 3.0
- AlicenseBqualityDmaintenanceMCP Server for interacting with the MyAnimeList API, allowing LLM clients to access and interact with anime, manga and more.154MIT
- AlicenseNot gradedqualityDmaintenanceMCP server enabling real-time weather queries via Tavily API and internet usage data by country via MongoDB.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA collection of MCP servers demonstrating math operations, weather data, and LangGraph workflows.1-