APIFreaks MCP
v2.6.0APIFreaks MCP: live APIs for agents.
Values you need
| Variable | What it is | |
|---|---|---|
APIFREAKS_API_KEY | required secret | Your APIFreaks API key — get one free at apifreaks.com |
ENABLE_MODULES | required | Comma-separated modules to register (e.g. ip-intelligence,whois,dns,domain,weather). If unset, only list_modules is available — call it for needs_enable[] and a paste-ready ENABLE_MODULES=... line, then restart. Available: ip-intelligence, geocoding, whois, dns, scraper, email-validation, phone-va |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add apifreaks-mcp -e 'APIFREAKS_API_KEY=<APIFREAKS_API_KEY>' -e 'ENABLE_MODULES=<ENABLE_MODULES>' -- npx -y --package=@apifreaks/mcp@2.6.0 apifreaks-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"apifreaks-mcp": {
"args": [
"-y",
"--package=@apifreaks/mcp@2.6.0",
"apifreaks-mcp"
],
"command": "npx",
"env": {
"APIFREAKS_API_KEY": "<APIFREAKS_API_KEY>",
"ENABLE_MODULES": "<ENABLE_MODULES>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"apifreaks-mcp": {
"args": [
"-y",
"--package=@apifreaks/mcp@2.6.0",
"apifreaks-mcp"
],
"command": "npx",
"env": {
"APIFREAKS_API_KEY": "<APIFREAKS_API_KEY>",
"ENABLE_MODULES": "<ENABLE_MODULES>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "APIFREAKS_API_KEY",
"id": "apifreaks-api-key",
"password": true,
"type": "promptString"
},
{
"description": "ENABLE_MODULES",
"id": "enable-modules",
"password": true,
"type": "promptString"
}
],
"servers": {
"apifreaks-mcp": {
"args": [
"-y",
"--package=@apifreaks/mcp@2.6.0",
"apifreaks-mcp"
],
"command": "npx",
"env": {
"APIFREAKS_API_KEY": "${input:apifreaks-api-key}",
"ENABLE_MODULES": "${input:enable-modules}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.apifreaks-mcp]
command = "npx"
args = ["-y", "--package=@apifreaks/mcp@2.6.0", "apifreaks-mcp"]
env = { "APIFREAKS_API_KEY" = "<APIFREAKS_API_KEY>", "ENABLE_MODULES" = "<ENABLE_MODULES>" }For AI agents
- Ask the user for: APIFREAKS_API_KEY, ENABLE_MODULES. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_modules.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json