Loading
Loading
The API Freaks MCP server connects your AI assistant directly to the API Freaks platform, giving it real-time access to the full range of API Freaks APIs, right inside your workflow. It's the official API Freaks MCP server, running locally over stdio and set up with a single API key, and it works with Claude, Cursor, VS Code, Gemini CLI, Codex CLI, Windsurf, Cline, OpenCode, and any MCP-compatible client.
Set it up once and your assistant can reach every API in our catalog, with new ones added as we ship them. There's nothing to wire up per data type and no extra keys to manage.
It stays in sync with every API Freaks endpoint, so it just works, no betting your key or your results on a third-party wrapper that breaks or falls behind.
Your assistant makes the API calls for you from a plain request, so you skip writing and looking after client code just to pull data.
Make sure you have these ready:
Node.js v24 or higher
The MCP server runs through npx, which ships with Node. Check with node -v.
An API Freaks API key
Create a free account and copy your API key from the APIFreaks Dashboard on your dashboard. You'll pass it to the server as APIFREAKS_API_KEY in every setup below.
A modules list for ENABLE_MODULES
The server exposes only the modules you opt into, as a comma-separated list like ip-intelligence,currency,whois,dns,weather. See the module table below for what each one covers.
This server covers many APIs. Advertising all of them in tools/list would fill your client's context window, so you opt in to the modules you actually need. Set ENABLE_MODULES in your MCP client config and 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 ENABLE_MODULES=... line - every module you want, not only the new name - and restart your client.
ENABLE_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.
| Module | Tools |
|---|---|
ip-intelligence | IP geolocation and threat intelligence (single + bulk) |
geocoding | Forward and reverse geocoding |
whois | Domain, IP, ASN, history, reverse, bulk |
dns | Live lookup, history, reverse, bulk |
scraper | Static HTML scrape and JS-rendered scrape |
email-validation | Single and bulk email validation |
phone-validation | Single and bulk phone validation |
ssl | Live certificate and full chain |
domain | Availability checks, suggestions, bulk, subdomain lookup |
screenshot | Capture, scrolling capture, bulk |
pdf | Merge, split, compress, protect, generate, convert |
currency | Live/historical rates, converters, time series, symbols, limits |
commodity | Live/historical prices, fluctuation, time series, symbols |
financial | VAT rates, VAT numbers, IBAN, SWIFT/BIC |
zipcode | Lookup, radius, distance, city/region |
weather | Current, forecast, historical, air quality, marine, flood, astronomy |
geography | Admin units, countries, cities, regions, flags |
timezone | Lookup and convert |
user-agent | Parse single or bulk user-agent strings |
Full API reference: APIFreaks Docs.
Create your free accountThe API Freaks MCP server covers the whole platform through 19 opt-in modules exposing 109 tools — from IP intelligence, WHOIS, DNS, and SSL to weather, currency, PDF processing, and financial checks (VAT, IBAN, SWIFT) — plus geocoding, screenshots, ZIP codes, timezones, and more. Once your assistant is connected, it can use any of these tools on its own or combine several in a single request. Browse all tools and examples.
The setup is the same idea everywhere: run the server with npx -y @apifreaks/mcp, pass your key as APIFREAKS_API_KEY, and set ENABLE_MODULES to the comma-separated modules you want. Without it, only list_modules is listed, so you can call it to see every module and pick your list. Pick your client below.
Via terminal (recommended):
claude mcp add apifreaks -e APIFREAKS_API_KEY=your_apikey_here -e ENABLE_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", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
Edit claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{ "mcpServers": { "apifreaks": { "command": "npx", "args": [ "-y", "@apifreaks/mcp" ], "env": { "APIFREAKS_API_KEY": "your_apikey_here", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
Restart Claude Desktop after saving.
codex mcp add apifreaks --env APIFREAKS_API_KEY=your_apikey_here --env ENABLE_MODULES=ip-intelligence,currency,whois,dns,weather -- npx -y @apifreaks/mcp
Start a new Codex session after adding the server.
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", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
Or go to Cursor Settings → MCP and add the server via the UI.
Edit ~/.codeium/windsurf/mcp_config.json:
{ "mcpServers": { "apifreaks": { "command": "npx", "args": [ "-y", "@apifreaks/mcp" ], "env": { "APIFREAKS_API_KEY": "your_apikey_here", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
Open the MCP Servers panel in Cline, click Configure, then Advanced MCP Settings to open cline_mcp_settings.json. Or edit it directly:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json%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", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
Restart Cline after saving.
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", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
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", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
Create .vscode/mcp.json in your workspace:
{ "servers": { "apifreaks": { "type": "stdio", "command": "npx", "args": [ "-y", "@apifreaks/mcp" ], "env": { "APIFREAKS_API_KEY": "your_apikey_here", "ENABLE_MODULES": "ip-intelligence,currency,whois,dns,weather" } } } }
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 listing page and follow the prompts — it will generate the correct config for your client automatically.
You don't call tools by name. Ask in plain language and your assistant picks the right one, runs it, and works the answer into its reply.
Try asking:
For every tool the server exposes, see Supported Tools.
That means ENABLE_MODULES is unset or empty, so the server lists no API tools. Call list_modules to see each module and the tools inside it, then paste a full ENABLE_MODULES=... line with every module you want - not only the new one - and restart the client. Hyphens and underscores are interchangeable, and unknown names are ignored.
The server lists its tools even without a key, but every request needs one. Open your config, confirm APIFREAKS_API_KEY is set to a valid key from your dashboard, and restart the client.
Check that Node.js v24 or higher is installed with node -v. The server runs through npx, which ships with Node.
Still stuck? Email support@apifreaks.com or open an issue on GitHub.
APIFREAKS_API_KEY.list_modules tool is listed so you can discover what exists.