{
    "name": "amarip",
    "title": "AmarIP",
    "description": "Look up the country, network operator and autonomous system behind any IPv4 or IPv6 address. No authentication required.",
    "version": "1.0.0",
    "websiteUrl": "https://amarip.com/",
    "documentationUrl": "https://amarip.com/api",
    "openapiUrl": "https://amarip.com/api/v1/openapi.json",
    "authentication": {
        "type": "none"
    },
    "capabilities": {
        "tools": {
            "listChanged": false
        }
    },
    "tools": [
        {
            "name": "lookup_ip",
            "description": "Return country, network operator, ASN, time zone and currency for an IPv4 or IPv6 address. Coordinates are country centroids, not street addresses.",
            "inputSchema": {
                "type": "object",
                "required": [
                    "ip"
                ],
                "properties": {
                    "ip": {
                        "type": "string",
                        "description": "IPv4 or IPv6 address, e.g. 8.8.8.8"
                    }
                }
            },
            "endpoint": {
                "method": "GET",
                "url": "https://amarip.com/api/v1/ip/{ip}"
            }
        },
        {
            "name": "my_ip",
            "description": "Return details for the caller's own IP address.",
            "inputSchema": {
                "type": "object",
                "properties": {}
            },
            "endpoint": {
                "method": "GET",
                "url": "https://amarip.com/api/v1/me"
            }
        }
    ]
}
