whereami-mcp
Servidor MCP WhereAmI
Un servidor mcp liviano que le indica exactamente dónde se encuentra en función de su IP actual, desarrollado por ipapi.co .
Características
Recursos dinámicos : obtenga datos específicos (por ejemplo, IP, país, ciudad) a través de
location://{type}.Herramienta detallada : genere un informe de ubicación completo con
get_location().Indicación en lenguaje natural : pregunte "¿Dónde estoy?" para obtener resultados detallados.
Manejo robusto de errores : gestiona con elegancia los problemas de API y red.
Dependencias mínimas : solo requiere
mcpyhttpx.
Related MCP server: whoami-mcp
Instalación
Prerrequisitos
Python 3.10+
pip
Configuración
Clonar el repositorio:
git clone https://github.com/kukapay/whereami-mcp.git cd whereami-mcpInstalar dependencias:
pip install mcp httpx(Opcional) Instalar como un servicio MCP:
mcp install whereami_mcp.py --name "WhereAmI"
Uso
Ejecución del servidor
Ejecución directa:
python whereami_mcp.pyModo de desarrollo:
mcp dev whereami_mcp.py
Componentes
Recurso: location://{type}
Devuelve un detalle de ubicación específico basado en {type} .
Tipos admitidos :
ip,country,country_code,region,city,latitude,longitude,timezone,isp,asnEjemplos :
@location://ip→"8.8.8.8"@location://city→"Mountain View"@location://country→"United States"
Herramienta: get_location()
Genera una tabla Markdown detallada de datos de geolocalización.
Campos :
Propiedad intelectual
País
Código del país
Región
Ciudad
Latitud
Longitud
Zona horaria
Proveedor de servicios de Internet
ASN
Salida de muestra :
| Field | Value | |----------------|-------------------| | IP | 8.8.8.8 | | Country | United States | | Country Code | US | | Region | California | | City | Mountain View | | Latitude | 37.4223 | | Longitude | -122.0848 | | Timezone | America/Los_Angeles | | ISP | GOOGLE | | ASN | AS15169 |
Indicación: where_am_i_prompt
Consulta predefinida: «Por favor, dígame dónde estoy según mi dirección IP actual». Activa get_location() .
Ejemplos en Claude Desktop
Instalar el servidor:
mcp install whereami_mcp.py --name "WhereAmI"Datos de la consulta:
"Mi IP es
@location://ip""Estoy en
@location://city,@location://country"
Obtenga el informe completo:
"¿Dónde estoy?"
get_location()
Licencia
Licencia MIT. Consulte LICENCIA para más detalles.
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
- AlicenseBqualityDmaintenanceA lightweight mcp server that tells you exactly what time is it based on your IP.19MIT
- AlicenseAqualityDmaintenanceA lightweight MCP server that tells you exactly who you are.11MIT
- FlicenseNot gradedqualityDmaintenanceA simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.
- FlicenseAqualityDmaintenanceA simple MCP server that provides greeting tools and server information.1
Related MCP Connectors
An MCP server for deep research or task groups
A basic MCP server to operate on the Postman API.
MCP server for accessing curated awesome list documentation
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/kukapay/whereami-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server