Skip to main content
Glama

whereami-mcp

Servidor MCP WhereAmI

PitónLicenciaEstado

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 mcp y httpx .

Instalación

Prerrequisitos

  • Python 3.10+
  • pip

Configuración

  1. Clonar el repositorio:
    git clone https://github.com/kukapay/whereami-mcp.git cd whereami-mcp
  2. Instalar dependencias:
    pip install mcp httpx
  3. (Opcional) Instalar como un servicio MCP:
    mcp install whereami_mcp.py --name "WhereAmI"

Uso

Ejecución del servidor

  • Ejecución directa:
    python whereami_mcp.py
  • Modo 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 , asn
  • Ejemplos :
    • @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

  1. Instalar el servidor:
    mcp install whereami_mcp.py --name "WhereAmI"
  2. Datos de la consulta:
    • "Mi IP es @location://ip "
    • "Estoy en @location://city , @location://country "
  3. Obtenga el informe completo:
    • "¿Dónde estoy?"
    • get_location()

Licencia

Licencia MIT. Consulte LICENCIA para más detalles.

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

Un servidor mcp liviano que te dice exactamente dónde estás.

  1. Características
    1. Instalación
      1. Prerrequisitos
      2. Configuración
    2. Uso
      1. Ejecución del servidor
      2. Componentes
      3. Ejemplos en Claude Desktop
    3. Licencia

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A lightweight MCP server that tells you exactly who you are.
        Last updated -
        1
        1
        Python
        MIT License
      • -
        security
        A
        license
        -
        quality
        An MCP server for nearby place searches with IP-based location detection.
        Last updated -
        12
        Python
        MIT License
      • -
        security
        A
        license
        -
        quality
        A lightweight gateway server that provides a unified connection entry point for accessing multiple MCP servers, supporting various protocols including Network and Local Transports.
        Last updated -
        Python
        Apache 2.0
      • -
        security
        F
        license
        -
        quality
        A MCP server that uses Amap API to provide location-based services, allowing users to get geographic information based on IP addresses and search for nearby points of interest.
        Last updated -
        9
        Python
        • Linux
        • Apple

      View all related MCP servers

      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