FernTool Network Tools
24 free tools: IP/VPN lookup, WHOIS, DNS, SPF/DMARC, site up/down, redirects, time zones. No key.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"ip": {
"url": "https://www.ferntool.com/mcp"
}
}
}Remote endpoints
https://www.ferntool.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (30)
π’get_my_ip
Return the public IP address (and ISP, ASN, location, timezone) of the caller as seen by FernTool. Note: for remote agents this is the IP of the machine calling the MCP server.
Input Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}βͺlookup_ip(ip)
Validate an IPv4/IPv6 address and return its version, scope (public/private/loopback/...), country, ASN and network owner (DB-IP Lite + IPtoASN data).
Input Schema
{
"type": "object",
"properties": {
"ip": {
"type": "string",
"description": "IPv4 or IPv6 address"
}
},
"required": [
"ip"
]
}π’validate_ip(ip)
Check whether a string is a valid IPv4 or IPv6 address and classify it.
Input Schema
{
"type": "object",
"properties": {
"ip": {
"type": "string"
}
},
"required": [
"ip"
]
}βͺbatch_lookup_ip(ips)
Look up 1-100 IPv4/IPv6 addresses at once. Each result has version, scope, country, timezone, ASN, network owner and flags (is_tor, is_datacenter, provider).
Input Schema
{
"type": "object",
"properties": {
"ips": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 100
}
},
"required": [
"ips"
]
}βͺwhois_lookup(query)
WHOIS via RDAP for a domain (registrar, created/expiry dates, status, nameservers, DNSSEC), an IP address (network name, range, owner org, country, abuse contact) or an ASN like AS13335.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Domain, IPv4/IPv6 address, or ASN (e.g. AS13335)"
}
},
"required": [
"query"
]
}βͺdns_lookup(domain, types)
Resolve DNS records for a domain via Cloudflare 1.1.1.1 DNS-over-HTTPS. Types: A, AAAA, MX, TXT, NS, CNAME, SOA (default: all).
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string"
},
"types": {
"type": "array",
"items": {
"type": "string",
"enum": [
"A",
"AAAA",
"MX",
"TXT",
"NS",
"CNAME",
"SOA"
]
}
}
},
"required": [
"domain"
]
}βͺreverse_dns(ip)
Reverse DNS (PTR) lookup for an IPv4/IPv6 address, with forward-confirmation check.
Input Schema
{
"type": "object",
"properties": {
"ip": {
"type": "string"
}
},
"required": [
"ip"
]
}βͺsubnet_mask_convert(mask)
Convert between a subnet mask, CIDR prefix, wildcard mask and device count. Input a dotted mask (255.255.255.192 -> /26), a wildcard (0.0.0.255 -> /24), a prefix (/22) or how many devices you need ("50 hosts" -> smallest prefix that fits). Returns prefix, mask, wildcard, total and usable addresses, binary mask.
Input Schema
{
"type": "object",
"properties": {
"mask": {
"type": "string",
"description": "e.g. 255.255.255.192, /22, 0.0.0.255 or 50 hosts"
}
},
"required": [
"mask"
]
}βͺsubnet_calc(cidr, split)
IPv4/IPv6 CIDR subnet calculator: network, netmask, wildcard, broadcast, first/last usable host, total and usable addresses, block type, reverse DNS zone (in-addr.arpa / ip6.arpa). Optional split lists the smaller subnets (e.g. the /64s in a /48).
Input Schema
{
"type": "object",
"properties": {
"cidr": {
"type": "string",
"description": "e.g. 192.168.1.0/24 or 2001:db8::/48"
},
"split": {
"type": "integer",
"description": "Optional: split into subnets of this prefix length, e.g. 26 or 64 (first 64 listed plus the total count)"
}
},
"required": [
"cidr"
]
}βͺipv6_plan_networks(prefix, names)
Plan an IPv6 network: give each named network (LAN, Guest Wi-Fi, IoT, VLANs) its own /64 from a delegated prefix such as a /56 or /48. Returns each network's /64 prefix and a suggested router address (::1), plus how many /64s are left.
Input Schema
{
"type": "object",
"properties": {
"prefix": {
"type": "string",
"description": "Delegated IPv6 prefix, e.g. 2001:db8:abcd:1200::/56"
},
"names": {
"type": "array",
"items": {
"type": "string"
},
"description": "Network names, e.g. [\"Home\", \"Guest Wi-Fi\", \"Cameras\"] (up to 32; a comma-separated string also works)"
}
},
"required": [
"prefix",
"names"
]
}βͺsubnet_how_many_fit(big, small, version)
How many smaller subnets fit inside a bigger one, e.g. how many /64 networks fit in a /48 (65,536) or how many /24 in a /16 (256). Returns the count, addresses in each, usable hosts each (IPv4) and the power of 2.
Input Schema
{
"type": "object",
"properties": {
"big": {
"type": "integer",
"description": "Prefix length of the bigger block, e.g. 48 or 16"
},
"small": {
"type": "integer",
"description": "Prefix length of the smaller subnets, e.g. 64 or 24"
},
"version": {
"type": "integer",
"enum": [
4,
6
],
"description": "IP version (default 6; use 4 for IPv4)"
}
},
"required": [
"big",
"small"
]
}π’check_cgnat(wan_ip, public_ip)
Am I behind CGNAT? Give the router WAN/Internet IP (and optionally the public IP websites see). Returns behind_cgnat (yes / likely / no / unknown / not_applicable), the WAN address type and range, and a plain-language answer with next steps. 100.64.0.0/10 = CGNAT; a private WAN IP = CGNAT or a second router; WAN equal to public IP = no CGNAT.
Input Schema
{
"type": "object",
"properties": {
"wan_ip": {
"type": "string",
"description": "Router WAN / Internet IPv4 address, e.g. 100.64.12.5"
},
"public_ip": {
"type": "string",
"description": "Optional: the public IP the user sees on a what-is-my-IP site. Do not use the agent's own IP."
}
},
"required": [
"wan_ip"
]
}π’find_router_ip(ip, mask)
Which IP is my router (default gateway)? Give a device's private IPv4 address (and optionally its subnet mask) to get the most likely router address, other addresses to try, the network, and a plain-language answer on opening the router page. Explains CGNAT (100.64.x), public, link-local (169.254.x) and IPv6 inputs.
Input Schema
{
"type": "object",
"properties": {
"ip": {
"type": "string",
"description": "The device's private IP, e.g. 192.168.1.105"
},
"mask": {
"type": "string",
"description": "Optional subnet mask, e.g. 255.255.255.0 or /24 (default /24)"
}
},
"required": [
"ip"
]
}π’estimate_ai_cost(text, tokens, output_tokens)
Estimate token count and USD API cost of a text across major AI models (OpenAI GPT, Anthropic Claude, Google Gemini), and whether it fits each context window. Token counts are approximate. Pass text, or tokens directly.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"tokens": {
"type": "integer",
"minimum": 1
},
"output_tokens": {
"type": "integer",
"minimum": 0,
"description": "Expected reply length in tokens (default: same as input)"
}
}
}π‘make_qr_code(text, ecc)
Create a static QR code (never expires) for a URL, Wi-Fi string (WIFI:T:WPA;S:name;P:pass;;), mailto:, tel: or any text up to 2000 characters. Returns an SVG string plus a ferntool.com image URL that renders the same code.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"ecc": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
],
"description": "Error correction (default M)"
}
},
"required": [
"text"
]
}π’count_words(text)
Exactly count words, characters (with and without spaces), sentences and paragraphs in a text, with reading/speaking time and the most repeated words. Use this instead of estimating counts yourself.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
}
},
"required": [
"text"
]
}π’get_current_time(timezone)
Get the exact current date and time (you cannot know it otherwise). Returns Unix seconds and milliseconds, ISO 8601 in UTC and in the requested IANA time zone, weekday, ISO week and day of year.
Input Schema
{
"type": "object",
"properties": {
"timezone": {
"type": "string",
"description": "IANA time zone, e.g. Africa/Johannesburg or America/New_York (default UTC)"
}
}
}π’convert_timestamp(value, timezone)
Convert a Unix timestamp (seconds, milliseconds, microseconds or nanoseconds, auto-detected) to a readable date, or a date/time string (e.g. 2026-12-25 09:00, read in the given time zone unless it has its own offset) to a Unix timestamp. Also returns weekday, ISO week and how long ago or until.
Input Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "Timestamp like 1760000000 or a date like 2026-12-25T09:00"
},
"timezone": {
"type": "string",
"description": "IANA time zone for display and for dates without an offset (default UTC)"
}
},
"required": [
"value"
]
}π‘date_calc(start, end, include_end, add_days, add_weeks, ...)
Exact calendar maths. With end: days between two dates (plus weeks, months+days, weekdays Mon-Fri, weekend days). With add_days/add_weeks/add_months/add_years (negative to subtract): the resulting date and weekday; business_days=true skips weekends. Use this instead of counting days yourself.
Input Schema
{
"type": "object",
"properties": {
"start": {
"type": "string",
"description": "YYYY-MM-DD (default: today in timezone)"
},
"end": {
"type": "string",
"description": "YYYY-MM-DD"
},
"include_end": {
"type": "boolean",
"description": "Count the end date too (default false)"
},
"add_days": {
"type": "integer"
},
"add_weeks": {
"type": "integer"
},
"add_months": {
"type": "integer"
},
"add_years": {
"type": "integer"
},
"business_days": {
"type": "boolean",
"description": "add_days counts Monday-Friday only"
},
"timezone": {
"type": "string",
"description": "IANA zone used for today when start is omitted (default UTC)"
}
}
}βͺconvert_timezone(time, from, to)
Convert a time between time zones with daylight saving applied (you cannot do this reliably yourself). from/to accept IANA zones (Africa/Johannesburg), common abbreviations (SAST, EST, PST, GMT, CET, IST=India, CST=US Central) or big cities. Omit time for now. Returns each local date, time, UTC offset, abbreviation, hour difference and whether it is the next/previous day.
Input Schema
{
"type": "object",
"properties": {
"time": {
"type": "string",
"description": "e.g. 2026-12-25 09:00, 14:30 or 2:30pm (today in from); omit for now"
},
"from": {
"type": "string",
"description": "Source zone (default UTC)"
},
"to": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 20,
"description": "Target zones"
}
},
"required": [
"to"
]
}βͺrandom_number(min, max, count, unique, sort)
Fair, cryptographically secure random integers (you cannot produce real randomness yourself). min and max are inclusive. unique=true for no repeats (raffles, lotto, picking winners). For a coin flip use min 0, max 1; for dice use min 1, max 6.
Input Schema
{
"type": "object",
"properties": {
"min": {
"type": "integer",
"description": "default 1"
},
"max": {
"type": "integer",
"description": "default 100"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"description": "default 1"
},
"unique": {
"type": "boolean"
},
"sort": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
}
}βͺpick_random(items, mode, count, teams, dedupe)
Fairly pick random winners from a list, shuffle a list, or split people into random even teams, using a cryptographically secure generator (you cannot choose fairly at random yourself). Use for giveaways, raffles, "who goes first", random order or team splits. An item listed twice has twice the chance unless dedupe=true.
Input Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 10000,
"description": "The names or items"
},
"mode": {
"type": "string",
"enum": [
"pick",
"shuffle",
"teams"
],
"description": "default pick"
},
"count": {
"type": "integer",
"minimum": 1,
"description": "How many winners for mode=pick (default 1, never repeats an entry)"
},
"teams": {
"type": "integer",
"minimum": 2,
"description": "Number of teams for mode=teams (default 2)"
},
"dedupe": {
"type": "boolean",
"description": "Remove duplicate entries first (case-insensitive)"
}
},
"required": [
"items"
]
}π‘check_dns_propagation(domain, type)
Check whether a DNS change has spread: asks the domain's own authoritative name server (when reachable) and 8 big public resolvers (Cloudflare, Google, OpenDNS, AdGuard, NextDNS, Control D, CleanBrowsing, AliDNS) over DoH, marks which are up to date, and gives the remaining cache time (TTL) of stale answers.
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"A",
"AAAA",
"CNAME",
"MX",
"TXT",
"NS"
],
"description": "default A"
}
},
"required": [
"domain"
]
}π’check_email_security(domain, selector)
Can someone fake (spoof) email from a domain? Reads SPF (counts the 10 DNS-lookup limit, follows includes), DMARC (policy, pct, reports, inherited from the parent domain) and DKIM keys (common selectors, or the one given), detects the email provider from MX, and returns a plain verdict (protected / partial / unprotected) plus the exact TXT records to add.
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Domain or email address, e.g. example.com or [email protected]"
},
"selector": {
"type": "string",
"description": "Optional DKIM selector, e.g. google or selector1"
}
},
"required": [
"domain"
]
}π’check_website_status(url)
Is a website down? Resolves its DNS and loads the URL once (10 s timeout) from FernTool's Cloudflare edge, then returns verdict (up/down), reason (ok, blocked_bot, page_not_found, server_error, timeout, tls, dns_nxdomain...), HTTP status, response time, final URL after redirects and server country/network. One vantage point only; results cached 30 s.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Website address, e.g. example.com or https://example.com/page"
}
},
"required": [
"url"
]
}βͺtrace_redirects(url)
Where does a link really go? Follows a URL (short links like bit.ly, tracking links, QR code links) hop by hop without a browser: every redirect with status code (301/302/307/308/meta refresh), final URL and page title, plus warning signs (ends on a different site, domain registered < 30 days ago, punycode look-alike name, bare IP, no HTTPS, loops, long chains) and a copy of the final URL with tracking parameters removed. Does not scan pages for malware. Max 10 hops; cached 60 s.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The link to check, e.g. bit.ly/abc123 or https://example.com/page"
}
},
"required": [
"url"
]
}π’check_website_legit(url)
Is this website legit or a scam? Follows the URL (redirects included) and returns plain-language warning signs: domain age from RDAP (scam shops are usually days or weeks old), look-alike brand names (banks, SARS, couriers, Takealot, PayPal, Appleβ¦), risky domain endings and scam words, look-alike letters, HTTPS, whether the domain receives email and has DMARC. verdict: no_signs, mostly_ok, caution or likely_scam. Warning signs only; not a malware scan.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Website or link, e.g. example-shop.co.za or https://bit.ly/abc"
}
},
"required": [
"url"
]
}π’analyze_email_headers(headers)
Is this email real or fake? Paste the raw headers of an email (Gmail Show original, Outlook View message details). Returns who really sent it (From, Reply-To, Return-Path), the SPF/DKIM/DMARC results recorded by the receiving provider, look-alike or fake sender names (banks, SARS, couriers, free-mail accounts posing as companies), every Received hop with delays, the sending server IP with country/network, and a verdict: verified, unverified or suspicious. Nothing is stored.
Input Schema
{
"type": "object",
"properties": {
"headers": {
"type": "string",
"description": "Raw email header text"
}
},
"required": [
"headers"
]
}π‘generate_spf_record(services, domain, ips, includes, strict)
Build one valid SPF TXT record for a domain from the services that send its email (e.g. microsoft365, google, mailchimp, sendgrid, website). Optionally reads the domain's current SPF record and MX first (keeps unknown entries, warns about services it would drop), adds extra IPs/includes, and counts DNS lookups live against the 10-lookup limit. Returns the record, DNS name, lookup count, notes and a starter DMARC record. Service ids: microsoft365, google, zoho, proton, fastmail, icloud, mimecast_za, mimecast, website, mx, shopify, mailchimp, mandrill, brevo, mailerlite, constantcontact, campaignmonitor, mailjet, sendpulse, sendgrid, mailgun, amazonses, postmark, zendesk, freshdesk, helpscout, salesforce.
Input Schema
{
"type": "object",
"properties": {
"services": {
"type": "array",
"items": {
"type": "string"
},
"description": "Service ids"
},
"domain": {
"type": "string",
"description": "Optional domain to read the current record from"
},
"ips": {
"type": "array",
"items": {
"type": "string"
}
},
"includes": {
"type": "array",
"items": {
"type": "string"
}
},
"strict": {
"type": "boolean",
"description": "true = -all, default ~all"
}
}
}π’ai_service_status(service)
Live status of AI services (ChatGPT/OpenAI, Claude, Gemini API, GitHub Copilot, Perplexity, Cohere) read from their official status pages, cached ~60s. level is up, degraded, down or unknown.
Input Schema
{
"type": "object",
"properties": {
"service": {
"type": "string",
"enum": [
"chatgpt",
"claude",
"gemini",
"copilot",
"perplexity",
"cohere"
]
}
}
}Community
Evidence