Check Ip
check_ipCheck an IP address against the AbuseIPDB database. Returns abuse confidence score (0-100), ISP, usage type, country, number of reports, and last reported date. Example: check_ip("8.8.8.8").
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "118.25.6.39",
"_apiKey": "your-abuseipdb-api-key"
},
"name": "check_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to check (e.g., "118.25.6.39") | |
| _apiKey | Yes | AbuseIPDB API key |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | The IP address checked | |
| isp | Yes | Internet Service Provider name | |
| domain | Yes | Associated domain name | |
| is_public | Yes | Whether the IP is public | |
| usage_type | Yes | Type of IP usage (e.g., Commercial, Residential) | |
| country_code | Yes | Country code of the IP | |
| total_reports | Yes | Total number of abuse reports for this IP | |
| last_reported_at | Yes | ISO timestamp of last abuse report, or null | |
| abuse_confidence_score | Yes | Abuse confidence score from 0-100 |