An MCP (Model Context Protocol) server for IPLocate.io - providing comprehensive IP address intelligence including geolocation, network information, privacy detection, and abuse contacts. This MCP server provides tools to look up detailed information about IP addresses: - Geolocation: Country, city, coordinates, timezone, postal code and more - Network Information: ASN name, number, type, network
Add this skill
npx mdskills install iplocate/mcp-server-iplocateWell-documented MCP server with comprehensive IP intelligence tools and excellent setup guidance
1# MCP Server for IP address geolocation and network data from IPLocate.io23[](https://cursor.com/install-mcp?name=iplocate&config=eyJjb21tYW5kIjoibnB4IC15IEBpcGxvY2F0ZS9tY3Atc2VydmVyIiwiZW52Ijp7IklQTE9DQVRFX0FQSV9LRVkiOiIifX0%3D)45An MCP (Model Context Protocol) server for [IPLocate.io](https://iplocate.io) - providing comprehensive IP address intelligence including geolocation, network information, privacy detection, and abuse contacts.67## Features89This MCP server provides tools to look up detailed information about IP addresses:1011- **Geolocation**: Country, city, coordinates, timezone, postal code and more12- **Network Information**: ASN name, number, type, network range, ISP information13- **Privacy & Security**: VPN detection, proxy detection, Tor exit nodes, hosting providers14- **Company Data**: Organization name, domain, business type15- **Abuse Contacts**: Email, phone, and address for reporting malicious activity1617## Requirements1819To follow our quick start setup instructions, you will need:2021- Node.js 18 or higher22- npm23- A compatible MCP client. For example, Cursor, Claude Desktop.2425## Quick Start2627The easiest way to use this MCP server is through your MCP client. Simply configure your client with the setup instructions below:2829### Configure your MCP client3031<details>32<summary><strong>Cursor</strong></summary>3334One-click setup:3536[](https://cursor.com/install-mcp?name=iplocate&config=eyJjb21tYW5kIjoibnB4IC15IEBpcGxvY2F0ZS9tY3Atc2VydmVyIiwiZW52Ijp7IklQTE9DQVRFX0FQSV9LRVkiOiIifX0%3D)3738Manual configuration:39401. In your project directory, create the configuration:4142 ```bash43 mkdir -p .cursor44 touch .cursor/mcp.json45 ```46472. Add the following to `.cursor/mcp.json`:4849 ```json50 {51 "mcpServers": {52 "iplocate": {53 "command": "npx",54 "args": ["-y", "@iplocate/mcp-server"],55 "env": {56 "IPLOCATE_API_KEY": "your_api_key_here"57 }58 }59 }60 }61 ```6263 Replace `your_api_key_here` with your actual API key from [IPLocate.io](https://iplocate.io/signup).6465</details>6667<details>68<summary><strong>Claude Desktop</strong></summary>69701. Open Claude Desktop settings71 - On macOS: `Cmd + ,`72 - On Windows: `Ctrl + ,`73742. Go to the "Developer" tab and click "Edit Config"75763. Add the IPLocate server configuration:7778 ```json79 {80 "mcpServers": {81 "iplocate": {82 "command": "npx",83 "args": ["-y", "@iplocate/mcp-server"],84 "env": {85 "IPLOCATE_API_KEY": "your_api_key_here"86 }87 }88 }89 }90 ```9192 Replace `your_api_key_here` with your actual API key from [IPLocate.io](https://iplocate.io/signup).9394</details>9596<details>97<summary><strong>VS Code (Preview)</strong></summary>98991. Create the VS Code MCP configuration:100101 ```bash102 mkdir -p .vscode103 touch .vscode/mcp.json104 ```1051062. Add the following to `.vscode/mcp.json`:107108 ```json109 {110 "servers": {111 "iplocate": {112 "type": "stdio",113 "command": "npx",114 "args": ["-y", "@iplocate/mcp-server"],115 "env": {116 "IPLOCATE_API_KEY": "your_api_key_here"117 }118 }119 }120 }121 ```122123 Replace `your_api_key_here` with your actual API key from [IPLocate.io](https://iplocate.io/signup).124125</details>126127### Available tools128129The server provides the following tools:130131#### `lookup_ip_address_details`132133Get comprehensive information about an IP address including all available data.134135**Parameters:**136137- `ip` (optional): IPv4 or IPv6 address to look up. If not provided, returns information about the caller's IP address.138139**Example:**140141```json142{143 "ip": "8.8.8.8"144}145```146147**Returns:** All available data about the IP address, including geolocation, network information, privacy, and company data.148149#### `lookup_ip_address_location`150151Get geographic location information for an IP address.152153**Parameters:**154155- `ip` (optional): IPv4 or IPv6 address to look up.156157**Returns:** Country, city, coordinates, timezone, postal code, and more.158159#### `lookup_ip_address_privacy`160161Check whether an IP address is detected as a VPN, proxy, other anonymizing service; is on an abuse blocklist; or is a hosting provider.162163**Parameters:**164165- `ip` (optional): IPv4 or IPv6 address to look up.166167**Returns:** VPN status, proxy detection, Tor exit node status, hosting provider information.168169#### `lookup_ip_address_network`170171Get network and ASN (Autonomous System Number) information for an IP address.172173**Parameters:**174175- `ip` (optional): IPv4 or IPv6 address to look up.176177**Returns:** ASN details, network range, ISP information, regional registry.178179#### `lookup_ip_address_company`180181Get company/organization information for an IP address.182183**Parameters:**184185- `ip` (optional): IPv4 or IPv6 address to look up.186187**Returns:** Company name, domain, country, organization type.188189#### `lookup_ip_address_abuse_contacts`190191Get abuse contact information for an IP address to report malicious activity.192193**Parameters:**194195- `ip` (optional): IPv4 or IPv6 address to look up.196197**Returns:** Abuse contact email, phone, address, and network range.198199### Available prompts200201The server also provides pre-configured prompts to help with common IP analysis tasks:202203#### `check_ip_security`204205Analyze an IP address for security concerns including VPN, proxy, Tor usage, and abuse history.206207**Example usage:** "Use the check_ip_security prompt to analyze 192.168.1.1"208209#### `locate_ip_geographically`210211Get detailed geographic information about an IP address.212213**Example usage:** "Use the locate_ip_geographically prompt to find where I am"214215#### `investigate_ip_ownership`216217Get detailed information about who owns and operates an IP address.218219**Example usage:** "Use the investigate_ip_ownership prompt to check who owns 8.8.8.8"220221#### `ip_comparison`222223Compare geographic and network information between two IP addresses.224225**Example usage:** "Use the ip_comparison prompt to compare 1.1.1.1 and 8.8.8.8"226227## Add your API key228229You can make up to 50 requests per day without an API key.230231Sign up for a free API key at [IPLocate.io](https://iplocate.io/signup) to increase your free quota to **1,000 requests per day**.232233### Sign up for a free API key2342351. Visit [https://iplocate.io/signup](https://iplocate.io/signup)2362. Create a free account2373. Get your API key from the dashboard238239### Using an API key with this server240241The server automatically reads your API key from the `IPLOCATE_API_KEY` environment variable. Configure it in your MCP client settings (see the configuration examples above) or set it when running manually.242243## Running the server manually244245If you need to run the server manually (for development or testing), you have several options:246247### Prerequisites248249- Node.js 18 or higher250- npm or yarn251252### Using npx (recommended)253254```bash255npx -y @iplocate/mcp-server256```257258With API key:259260**On macOS/Linux:**261262```bash263export IPLOCATE_API_KEY=your_api_key_here264npx -y @iplocate/mcp-server265```266267**On Windows:**268269```powershell270set IPLOCATE_API_KEY=your_api_key_here271npx -y @iplocate/mcp-server272```273274### Install from npm275276```bash277npm install -g @iplocate/mcp-server278mcp-server-iplocate279```280281### Install from source282283```bash284git clone https://github.com/iplocate/mcp-server-iplocate.git285cd mcp-server-iplocate286yarn install287yarn build288yarn start289```290291For development with auto-reload:292293```bash294yarn dev295```296297### Testing298299You can test the server using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector):300301```bash302npx @modelcontextprotocol/inspector node dist/index.js303```304305## API Response Format306307The IPLocate API returns comprehensive data about IP addresses. Here's an example response structure:308309```json310{311 "ip": "8.8.8.8",312 "country": "United States",313 "country_code": "US",314 "city": "Mountain View",315 "latitude": 37.386,316 "longitude": -122.0838,317 "asn": {318 "asn": "AS15169",319 "name": "Google LLC",320 "domain": "google.com"321 },322 "privacy": {323 "is_vpn": false,324 "is_proxy": false,325 "is_tor": false,326 "is_hosting": true327 }328 // ... and more fields329}330```331332For full details, see the [IPLocate API documentation](https://iplocate.io/docs).333334## Contributing335336Contributions are welcome! Please feel free to submit a Pull Request.337338## License339340This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.341342## Support343344- For issues with this MCP server, please open an issue on GitHub345- For IPLocate API support, contact <support@iplocate.io>346- For IPLocate API documentation, visit [https://iplocate.io/docs](https://iplocate.io/docs)347348## Acknowledgments349350- [Model Context Protocol](https://modelcontextprotocol.io) for the MCP specification351- [Anthropic](https://anthropic.com) for the MCP TypeScript SDK352353## About IPLocate.io354355Since 2017, IPLocate has set out to provide the most reliable and accurate IP address data.356357We process 50TB+ of data to produce our comprehensive IP geolocation, IP to company, proxy and VPN detection, hosting detection, ASN, and WHOIS data sets. Our API handles over 15 billion requests a month for thousands of businesses and developers.358359- Email: [support@iplocate.io](mailto:support@iplocate.io)360- Website: [iplocate.io](https://iplocate.io)361- Documentation: [iplocate.io/docs](https://iplocate.io/docs)362- Sign up for a free API Key: [iplocate.io/signup](https://iplocate.io/signup)363
Full transparency — inspect the skill content before installing.