Back to Browse

Apifreaks MCP Server

Developer ToolsUse Caution4.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

The official MCP server for APIFreaks, connecting your AI to the full range of APIFreaks APIs.

About

The official MCP server for APIFreaks, connecting your AI to the full range of APIFreaks APIs.

Security Report

4.2
Use Caution4.2High Risk

The APIFreaks MCP server is well-structured with proper API key authentication and appropriate permission scoping for a developer tools server. The codebase demonstrates good security practices around credential handling and input validation. Minor concerns exist around absolute path handling in PDF operations and some broad exception patterns, but these do not represent critical vulnerabilities. The server's permissions (network_http, env_vars, file_read/write) are reasonable and proportionate to its purpose as a multi-service API aggregator. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

3 files analyzed ยท 11 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

What You'll Need

Set these up before or after installing:

Your APIFreaks API key โ€” get one free at apifreaks.comRequired

Environment variable: APIFREAKS_API_KEY

Comma-separated modules to expose as tools (e.g. ip-intelligence,whois,dns,weather). If unset, only list_modules is advertised. Available: ip-intelligence, geocoding, whois, dns, scraper, email-validation, phone-validation, ssl, domain, screenshot, pdf, currency, commodity, financial, zipcode, weather, geography, timezone, user-agentOptional

Environment variable: APIFREAKS_MODULES

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-api-freaks-apifreaks-mcp": {
      "env": {
        "APIFREAKS_API_KEY": "your-apifreaks-api-key-here",
        "APIFREAKS_MODULES": "your-apifreaks-modules-here"
      },
      "args": [
        "-y",
        "@apifreaks/mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

@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, PDFs, web scrapes, VAT/IBAN/SWIFT, email and phone validation, geocoding, 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
APIFREAKS_MODULESYesComma-separated list of modules to expose. If unset or empty, only list_modules is listed (no API tools). See Modules.

Modules

This server covers many APIs. Advertising all of them in tools/list would fill the client's context window, so you opt in to the modules you actually need.

Set APIFREAKS_MODULES in your MCP client config. Only those modules are registered, so tools/list returns just that subset. If the variable is missing or empty, no API tools are listed โ€” only list_modules. Call it to see each module and the tools inside it, then paste a full APIFREAKS_MODULES=... line (every module you want, not only the new name) and restart.

APIFREAKS_MODULES=ip-intelligence,currency,whois,dns,weather

Hyphens and underscores are interchangeable (user-agent and user_agent both work). Unknown names are ignored and logged to stderr.

ModuleTools
ip-intelligenceIP geolocation and threat intelligence (single + bulk)
geocodingForward and reverse geocoding
whoisDomain, IP, ASN, history, reverse, bulk
dnsLive lookup, history, reverse, bulk
scraperStatic HTML scrape and JS-rendered scrape
email-validationSingle and bulk email validation
phone-validationSingle and bulk phone validation
sslLive certificate and full chain
domainAvailability checks, suggestions, bulk, subdomain lookup
screenshotCapture, scrolling capture, bulk
pdfMerge, split, compress, protect, generate, convert
currencyLive/historical rates, converters, time series, symbols, limits
commodityLive/historical prices, fluctuation, time series, symbols
financialVAT rates, VAT numbers, IBAN, SWIFT/BIC
zipcodeLookup, radius, distance, city/region
weatherCurrent, forecast, historical, air quality, marine, flood, astronomy
geographyAdmin units, countries, cities, regions, flags
timezoneLookup and convert
user-agentParse single or bulk user-agent strings

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 -e APIFREAKS_MODULES=ip-intelligence,currency,whois,dns,weather -- npx -y @apifreaks/mcp

Replace ip-intelligence,currency,whois,dns,weather with the modules you need. 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 -e APIFREAKS_MODULES=ip-intelligence,currency,whois,dns,weather -- 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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

Codex CLI

codex mcp add apifreaks --env APIFREAKS_API_KEY=your_apikey_here --env APIFREAKS_MODULES=ip-intelligence,currency,whois,dns,weather -- 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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

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",
        "APIFREAKS_MODULES": "ip-intelligence,currency,whois,dns,weather"
      }
    }
  }
}

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

IP Intelligence (ip-intelligence) โ€” 4 tools

Geolocation, ISP, network, and threat 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
ip_security_lookupThreat score, VPN/proxy/Tor/bot detection for a single IP
ip_security_bulk_lookupThreat intelligence for up to 50,000 IPs in one request

Geocoding (geocoding) โ€” 2 tools

Address โ†” coordinate conversion.

ToolDescription
geocode_forwardConvert an address or place name into coordinates
geocode_reverseConvert coordinates into a street address

WHOIS (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 (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

Scraper (scraper) โ€” 2 tools

Extract HTML or structured fields from a URL. Static mode first; JS rendering only when the page needs a browser.

ToolDescription
scraper_scrapeScrape static HTML (optional extract / form submit). Empty instructions return the full page
scraper_scrape_jsScrape with JavaScript rendering, browser steps, proxies, and optional CAPTCHA solving

Email Validation (email-validation) โ€” 2 tools

Deliverability, syntax, domain, and optional IP enrichment.

ToolDescription
email_validateValidate a single email address
email_bulk_validateValidate up to 100 email addresses in one request

Phone Validation (phone-validation) โ€” 2 tools

Carrier, line type, location, and standardized formats.

ToolDescription
phone_validateValidate a single phone number
phone_bulk_validateValidate up to 100 phone numbers in one request

SSL (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

Domain (domain) โ€” 4 tools

Domain availability checks with bulk support, suggestions, and subdomain discovery.

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

Screenshot (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_bulk_captureCapture screenshots of up to 50 webpages in one request
screenshot_capture_scrollingRecord a scrolling video or animated GIF of a webpage

PDF (pdf) โ€” 20 tools

Merge, split, extract or remove pages, convert to images, generate from templates, compress, rotate, encrypt/restrict, decrypt/unrestrict, and linearize.

Jobs (merge, split, convert, โ€ฆ) are asynchronous: they return a taskId. Check progress with pdf_task_status. Local files need an absolute path (the MCP server reads the disk). You can also pass a stored file_id. Template generation (pdf_generate, pdf_generate_bulk) is synchronous and returns a hosted pdf_url.

Completed jobs include download URLs. Add your API key as the apiKey query parameter or the X-apiKey header.

ToolDescription
pdf_mergeMerge PDFs (local paths and/or stored file IDs)
pdf_splitSplit a PDF by page ranges
pdf_extract_pagesExtract pages into a new PDF or ZIP
pdf_remove_pagesRemove pages from a PDF
pdf_to_imageConvert pages to PNG, JPG, TIFF, BMP, or GIF
pdf_generateRender a template with JSON and get a hosted PDF URL
pdf_generate_bulkRender one PDF per CSV row
pdf_compressReduce PDF file size
pdf_rotateRotate pages
pdf_encryptPassword-protect a PDF
pdf_restrictRestrict printing, copying, and editing
pdf_decryptRemove encryption
pdf_unrestrictRemove permission restrictions
pdf_linearizeLinearize for Fast Web View
pdf_task_statusCheck one async job (queued / processing / completed / failed)
pdf_file_statusMetadata for a stored file
pdf_filesList stored PDFs
pdf_file_deleteDelete a stored PDF
pdf_uploadUpload local PDFs and get file IDs
pdf_upload_binaryUpload one large PDF as raw bytes and get a file ID

Currency (currency) โ€” 12 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
currency_historical_data_limitsHistorical data availability window for every currency
currency_historical_data_limit_infoHistorical data availability window for one currency code

Commodity (commodity) โ€” 7 tools

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

ToolDescription
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)
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

Financial (financial) โ€” 9 tools

VAT rates, VAT-number checks, IBAN validation, and SWIFT/BIC lookup.

ToolDescription
financial_vat_rates_by_countryVAT rates for a country, optionally by state
financial_vat_rates_bulkVAT rates for up to 100 countries/states
financial_vat_rates_by_ipVAT rates for the country resolved from an IP address
financial_vat_validateValidate an EU (VIES) or UK (HMRC) VAT number
financial_iban_validateValidate an IBAN (format, checksum, bank/SEPA metadata)
financial_swift_lookupBank details for an 8- or 11-character SWIFT/BIC code
financial_swift_finderDrill down country โ†’ bank โ†’ city โ†’ SWIFT/BIC codes
financial_supported_countriesCountries (and VAT states) supported by VAT, IBAN, and SWIFT APIs
financial_supported_country_infoCheck whether one country is supported by VAT, IBAN, and/or SWIFT

ZIP Code (zipcode) โ€” 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_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_by_cityGet all ZIP/postal codes for a city
zipcode_bulk_lookupLook up up to 100 ZIP/postal codes at once
zipcode_distance_matchFind all ZIP code pairs within a given distance threshold
zipcode_by_regionGet all ZIP/postal codes for a state, province, or region

Weather (weather) โ€” 9 tools

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

ToolDescription
weather_currentCurrent weather for any location โ€” temperature, humidity, wind, pressure, AQI
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
weather_bulk_currentCurrent weather for up to 50 locations in one request
astronomy_lookupSunrise, sunset, moon phase, twilight, golden hour, solar noon, moonrise, and sun/moon positions

Geography (geography) โ€” 10 tools

Countries, cities, administrative units, regions, and flag images.

ToolDescription
geodb_admin_levelsAdministrative level types for a country
geodb_admin_unitsStates, provinces, and other admin units for a country
geodb_admin_unit_detailsDetails for one administrative unit
geodb_countriesList countries with ISO codes, capitals, and regions
geodb_country_detailsFull metadata for one country by alpha-2 code
geodb_citiesCities for a country, optionally filtered by admin unit
geodb_regionsList GeoDB regions (Africa, Americas, Asia, Europe, Oceania, Polar)
geodb_subregionsList subregions, optionally filtered by region
geodb_flags_supportedSupported country and organization flag identifiers
geodb_flagRetrieve a country or organization flag image

Timezone (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

User Agent (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

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.

Reviews

No reviews yet

Be the first to review this server!