ip-info-mcp
ip-info-mcp
Servidor de consulta de información de direcciones IP basado en el protocolo MCP (Model Context Protocol), que se comunica con los clientes de IA a través de la capa de transporte stdio.
Funciones
Consultar IP local — Obtiene la IP pública actual e información de ubicación
Consultar IP específica — Consulta la ubicación, ISP, latitud y longitud, etc. de cualquier dirección IP
Consulta integral — Admite IPv4/IPv6, incluye nombre de host, organización, código postal, zona horaria, etc.
Related MCP server: Netdetective MCP Server
Mecanismo de comunicación MCP stdio
Este proyecto utiliza la capa de transporte stdio del protocolo MCP:
┌─────────────────┐ ┌──────────────────────┐
│ AI 客户端 │ stdin │ MCP Server (本进程) │
│ (CodeBuddy 等) │◄───────►│ python server.py │
│ │ stdout │ │
└─────────────────┘ └──────────────────────┘El cliente envía solicitudes JSON-RPC a través de
stdin(por ejemplo,tools/call)El servidor devuelve respuestas JSON-RPC a través de
stdoutstderrse utiliza para la salida de registros y no afecta al protocolo de comunicaciónNo requiere servicio HTTP, arranca de forma ligera y es adecuado para la integración de herramientas locales
Inicio rápido
1. Instalar dependencias
pip install -r requirements.txt2. Configurar en el cliente de IA
En CodeBuddy, añade en Settings → MCP → Add MCP:
{
"mcpServers": {
"ip-info": {
"type": "stdio",
"command": "python",
"args": ["path/to/server.py"],
"description": "IP 地址信息查询工具"
}
}
}3. Uso
Una vez configurado, pregunta directamente en la conversación:
"¿Cuál es mi IP pública?"
"Consulta la ubicación de 8.8.8.8"
"Consulta la información de esta IP: 114.114.114.114"
Estructura del proyecto
ip-info-mcp/
├── server.py # MCP 服务器主文件
├── requirements.txt # Python 依赖
├── README.md # 本文件
└── chatmcp.yaml # chatmcp 平台配置Stack tecnológico
MCP Python SDK — Implementación del protocolo MCP
httpx — Cliente HTTP asíncrono
ip-api.com / ipinfo.io — API gratuita de consulta de IP
Licencia
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) server that enables natural language interaction with the AbstractAPI geolocation service, allowing users to retrieve geographic information about IP addresses.
- AlicenseBqualityDmaintenanceAn MCP server that provides access to the Netdetective API for querying information about IP addresses. It enables users to retrieve metadata for a specified IP address or the connecting client's default IP address.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing IP address lookup capabilities. Enables AI assistants to fetch details about public IP addresses or the user's current device IP.97ISC
- AlicenseNot gradedqualityCmaintenanceProvides IP geolocation data via ipinfo.io, enabling querying IP addresses for location, ISP, and other details through natural language.9MIT
Related MCP Connectors
IPInfo MCP — wraps ipinfo.io (free tier, no auth required for basic usage)
IP Lookup MCP — ip-api.com (free, no auth for basic usage)
IP address utilities MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yuwan0405/hackernews-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server