INDIVIDUAL MCP TOOL
estimate_ai_cost
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.
LIVE ENDPOINT
https://www.ferntool.com/mcp
Connect to this endpoint to inspect the live schema for estimate_ai_cost and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- A tool name, description or schema mentions credentials.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.ferntool]
url = "https://www.ferntool.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"ferntool": {
"type": "http",
"url": "https://www.ferntool.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: ferntool
Remote MCP URL: https://www.ferntool.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"ferntool": {
"url": "https://www.ferntool.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"ferntool": {
"type": "http",
"url": "https://www.ferntool.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "ferntool",
"transport": "streamable-http",
"url": "https://www.ferntool.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
get_my_ip— Return the public IP address (and ISP, ASN, location, timezone) of the caller as seen by FernTool.lookup_ip— Validate an IPv4/IPv6 address and return its version, scope (public/private/loopback/...), country, ASN and network owner (DB-IP Lite + IPtoASN data).validate_ip— Check whether a string is a valid IPv4 or IPv6 address and classify it.batch_lookup_ip— Look up 1-100 IPv4/IPv6 addresses at once.whois_lookup— 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.dns_lookup— Resolve DNS records for a domain via Cloudflare 1.1.1.1 DNS-over-HTTPS.reverse_dns— Reverse DNS (PTR) lookup for an IPv4/IPv6 address, with forward-confirmation check.subnet_calc— IPv4/IPv6 CIDR subnet calculator: network, netmask, wildcard, broadcast, first/last usable host, total and usable addresses, block type.