Apifreaks Mcp Server

Created By
api-freaks3 days ago
Official MCP server for APIFreaks. Real-time weather, IP, WHOIS, DNS, SSL, currency, screenshots, and more for any AI agent.
Overview

@apifreaks/mcp

npm version GitHub release Glama Node.js CI License

The official Model Context Protocol (MCP) server for APIFreaks. Add it to Claude, Cursor, Windsurf, or any MCP-compatible client and your AI can instantly query live weather, domains, IPs, DNS records, SSL certs, currency rates, commodity prices, screenshots, and more.

What can you ask once it's connected?

🌦"What's the 7-day forecast for Tokyo and should I bring an umbrella?"
🔒"Check stripe.com's SSL cert — is it valid and when does it expire?"
🌍"Who registered openai.com and when? Has the WHOIS record changed recently?"
💱"Convert 2500 USD to EUR, GBP, and JPY at today's live rate."
🔍"Check if these 20 domain names are available for registration."
📡"What DNS records does github.com have? Show me the full MX and TXT records."

Table of Contents


Requirements


Environment Variables

VariableRequiredDescription
APIFREAKS_API_KEYYesYour APIFreaks API key — get one at apifreaks.com

Getting Your API Key

Sign in or create a free account at apifreaks.com. Your API key is in the dashboard under API Keys.

Full API documentation: apifreaks.com/docs


Quick Start

The fastest way to connect it — via the Claude Code CLI:

claude mcp add apifreaks -e APIFREAKS_API_KEY=your_apikey_here -- npx -y @apifreaks/mcp

That's it. For Cursor, Windsurf, Cline, and others see the Integration Guides below.


Integration Guides

Claude Code

Via terminal (recommended):

claude mcp add apifreaks -e APIFREAKS_API_KEY=your_apikey_here -- npx -y @apifreaks/mcp

Via config file (~/.claude/settings.json):

{
  "mcpServers": {
    "apifreaks": {
      "command": "npx",
      "args": ["-y", "@apifreaks/mcp"],
      "env": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

Codex CLI

codex mcp add apifreaks --env APIFREAKS_API_KEY=your_apikey_here -- npx -y @apifreaks/mcp

Start a new Codex session after adding the server.


Claude Desktop

Edit claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "apifreaks": {
      "command": "npx",
      "args": ["-y", "@apifreaks/mcp"],
      "env": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

Restart Claude Desktop after saving.


Cursor

Create or edit .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global):

{
  "mcpServers": {
    "apifreaks": {
      "command": "npx",
      "args": ["-y", "@apifreaks/mcp"],
      "env": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

Or go to Cursor Settings → MCP and add the server via the UI.


Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "apifreaks": {
      "command": "npx",
      "args": ["-y", "@apifreaks/mcp"],
      "env": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

Cline

Open the MCP Servers panel in Cline, click Configure, then Advanced MCP Settings to open cline_mcp_settings.json. Or edit it directly:

  • macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
  "mcpServers": {
    "apifreaks": {
      "command": "npx",
      "args": ["-y", "@apifreaks/mcp"],
      "env": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

Restart Cline after saving.


OpenCode

Edit ~/.config/opencode/config.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "apifreaks": {
      "type": "local",
      "command": ["npx", "-y", "@apifreaks/mcp"],
      "environment": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

Gemini CLI

Edit ~/.gemini/settings.json (or .gemini/settings.json in your project root for project-level config):

{
  "mcpServers": {
    "apifreaks": {
      "command": "npx",
      "args": ["-y", "@apifreaks/mcp"],
      "env": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

VS Code (GitHub Copilot / Continue)

Create .vscode/mcp.json in your workspace:

{
  "servers": {
    "apifreaks": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@apifreaks/mcp"],
      "env": {
        "APIFREAKS_API_KEY": "your_apikey_here"
      }
    }
  }
}

Glama

The APIFreaks MCP server is listed on Glama. Glama provides one-click connection and automatic configuration for Claude Desktop and other MCP clients, along with regular security scans and tool quality scoring.

Click Connect on the Glama listing page and follow the prompts — it will generate the correct config for your client automatically.


Available Tools

Weather — 8 tools

Real-time conditions, forecasts, historical data, and environmental monitoring.

ToolDescription
weather_currentCurrent weather for any location — temperature, humidity, wind, pressure, AQI
weather_bulk_currentCurrent weather for up to 50 locations in one request
weather_forecastForecast up to 16 days ahead with daily, hourly, or minutely precision
weather_historicalHistorical weather for any past date (data back to 1940)
weather_time_seriesHistorical weather over a custom date range
weather_air_qualityReal-time or forecast air quality index and pollutant breakdown
weather_marineMarine and ocean weather, real-time or forecast up to 16 days
weather_flood_forecastFlood forecast with river discharge and flow percentile data

Currency — 10 tools

Live and historical exchange rates for 170+ fiat currencies and 830+ cryptocurrencies.

ToolDescription
currency_latest_ratesLatest exchange rates for all supported currencies
currency_historical_ratesExchange rates for a specific past date
currency_latest_converterConvert an amount between currencies using live rates
currency_historical_converterConvert using rates from a specific past date
currency_time_seriesDay-by-day exchange rates over a custom date range
currency_fluctuationRate fluctuation metrics and percentage change over a period
currency_geo_convertConvert to the local currency of an IP address's country
currency_supportedFull list of supported currencies with metadata
currency_symbolsMap of currency symbols to currency names
currency_symbol_infoValidate a currency symbol and get its full name

IP Intelligence — 2 tools

Geolocation, ISP, and network data for any IP address.

ToolDescription
ipgeolocation_lookupGeolocation data for an IP, IPv6 address, or hostname
ipgeolocation_bulk_lookupGeolocation data for up to 50,000 IPs in one request

WHOIS — 6 tools

Domain and IP ownership data including historical records.

ToolDescription
whois_domain_lookupLive WHOIS record for a domain name
whois_ip_lookupWHOIS ownership and network data for an IPv4 or IPv6 address
whois_asn_lookupWHOIS data for an Autonomous System Number (ASN)
whois_domain_historyHistorical WHOIS snapshots for a domain (data back to 1986)
whois_reverse_lookupSearch WHOIS records by owner name, email, company, or keyword
whois_bulk_domain_lookupLive WHOIS data for up to 100 domains at once

DNS — 4 tools

Live DNS records, history, and reverse lookups.

ToolDescription
dns_lookupReal-time DNS records for a hostname — A, AAAA, MX, NS, TXT, CNAME, SOA, SPF
dns_historyHistorical DNS record snapshots for a hostname
dns_reverseFind all hostnames pointing to a specific DNS record value
dns_bulk_lookupReal-time DNS records for up to 100 hostnames at once

Domain — 3 tools

Domain availability checks with bulk support and suggestions.

ToolDescription
domain_check_availabilityCheck whether a domain name is available for registration
domain_check_availability_with_suggestionsCheck availability and get alternative domain suggestions
domain_bulk_check_availabilityCheck availability for up to 100 domains at once

SSL — 2 tools

Live SSL certificate data for any domain.

ToolDescription
ssl_live_lookupRetrieve the live SSL certificate for a domain
ssl_live_chain_lookupRetrieve the complete SSL certificate chain for a domain

Commodity — 7 tools

Real-time and historical prices for commodities like gold, oil, and agricultural products.

ToolDescription
commodity_symbolsList all supported commodity symbols with metadata
commodity_symbol_infoValidate a commodity symbol and get its full details
commodity_quotesList all supported quote currencies for commodity pricing
commodity_latest_ratesReal-time prices for one or more commodities
commodity_historical_ratesHistorical OHLC prices for commodities on a specific date
commodity_fluctuationPrice fluctuation metrics over a date range
commodity_time_seriesDaily OHLC prices over a date range (up to 365 days)

ZIP Code — 7 tools

Postal code lookups, radius searches, and distance calculations worldwide.

ToolDescription
zipcode_lookupLook up a ZIP or postal code — city, region, country, coordinates
zipcode_bulk_lookupLook up up to 100 ZIP/postal codes at once
zipcode_radius_searchFind all ZIP codes within a given radius of a center point
zipcode_distanceCalculate distance from a base point to up to 100 ZIP codes
zipcode_distance_matchFind all ZIP code pairs within a given distance threshold
zipcode_by_cityGet all ZIP/postal codes for a city
zipcode_by_regionGet all ZIP/postal codes for a state, province, or region

Timezone — 2 tools

Timezone lookups and conversions using any location identifier.

ToolDescription
timezone_lookupTimezone info for a location — accepts IP, city, lat/long, IATA, ICAO, or UN/LOCODE
timezone_convertConvert a date and time from one timezone to another

Screenshot — 3 tools

Capture screenshots and scrolling recordings of any webpage.

ToolDescription
screenshot_captureCapture a screenshot of a webpage and return the image URL
screenshot_capture_scrollingRecord a scrolling video or animated GIF of a webpage
screenshot_bulk_captureCapture screenshots of up to 50 webpages in one request

User Agent — 2 tools

Parse user-agent strings to extract browser, OS, and device information.

ToolDescription
user_agent_parseParse a user-agent string — browser, device, OS, engine
user_agent_bulk_parseParse up to 100 user-agent strings in a single request

Astronomy — 1 tool

Solar and lunar data for any location and date.

ToolDescription
astronomy_lookupSunrise, sunset, moon phase, twilight, golden hour, solar noon, moonrise, and sun/moon positions

Support


License

This project is licensed under the Apache License 2.0. You are free to use, modify, and distribute this software in accordance with the terms of the license.


Privacy Policy

Your API requests are processed by APIFreaks in accordance with their privacy policy. See apifreaks.com/privacy-policy for details on how data is collected and handled.

Server Config

{
  "mcpServers": {
    "apifreaks": {
      "command": "npx",
      "args": [
        "-y",
        "@apifreaks/mcp"
      ],
      "env": {
        "APIFREAKS_API_KEY": "<YOUR_APIFREAKS_API_KEY>"
      }
    }
  }
}
Project Info
Created At
3 days ago
Updated At
3 days ago
Author Name
api-freaks
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
Teardrop

a day ago