IPLocate logo

IPLocate

Organization
iplocate

MCP server for looking up IP address geolocation (IP to country, IP to city), network information, proxy and VPN detection, abuse contacts, and more - using the IPLocate.io API.

Publisheriplocate
Repositorymcp-server-iplocate
LanguageJavaScript
Forks
7
Stars
17
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    IPLocate exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    17 stars and 7 forks from the linked repository.

MCP Server for IP address geolocation and network data from IPLocate.io

Install MCP Server

An MCP (Model Context Protocol) server for IPLocate.io - providing comprehensive IP address intelligence including geolocation, network information, privacy detection, and abuse contacts.

Features

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 range, ISP information
  • Privacy & Security: VPN detection, proxy detection, Tor exit nodes, hosting providers
  • Company Data: Organization name, domain, business type
  • Abuse Contacts: Email, phone, and address for reporting malicious activity

Requirements

To follow our quick start setup instructions, you will need:

  • Node.js 18 or higher
  • npm
  • A compatible MCP client. For example, Cursor, Claude Desktop.

Quick Start

The easiest way to use this MCP server is through your MCP client. Simply configure your client with the setup instructions below:

Configure your MCP client

One-click setup:

Install MCP Server

Manual configuration:

  1. In your project directory, create the configuration:

    bash
    mkdir -p .cursor
    touch .cursor/mcp.json
  2. Add the following to .cursor/mcp.json:

    json
    {
      "mcpServers": {
        "iplocate": {
          "command": "npx",
          "args": ["-y", "@iplocate/mcp-server"],
          "env": {
            "IPLOCATE_API_KEY": "your_api_key_here"
          }
        }
      }
    }

    Replace your_api_key_here with your actual API key from IPLocate.io.

  1. Open Claude Desktop settings

    • On macOS: Cmd + ,
    • On Windows: Ctrl + ,
  2. Go to the "Developer" tab and click "Edit Config"

  3. Add the IPLocate server configuration:

    json
    {
      "mcpServers": {
        "iplocate": {
          "command": "npx",
          "args": ["-y", "@iplocate/mcp-server"],
          "env": {
            "IPLOCATE_API_KEY": "your_api_key_here"
          }
        }
      }
    }

    Replace your_api_key_here with your actual API key from IPLocate.io.

  1. Create the VS Code MCP configuration:

    bash
    mkdir -p .vscode
    touch .vscode/mcp.json
  2. Add the following to .vscode/mcp.json:

    json
    {
      "servers": {
        "iplocate": {
          "type": "stdio",
          "command": "npx",
          "args": ["-y", "@iplocate/mcp-server"],
          "env": {
            "IPLOCATE_API_KEY": "your_api_key_here"
          }
        }
      }
    }

    Replace your_api_key_here with your actual API key from IPLocate.io.

Available tools

The server provides the following tools:

lookup_ip_address_details

Get comprehensive information about an IP address including all available data.

Parameters:

  • ip (optional): IPv4 or IPv6 address to look up. If not provided, returns information about the caller's IP address.

Example:

json
{
  "ip": "8.8.8.8"
}

Returns: All available data about the IP address, including geolocation, network information, privacy, and company data.

lookup_ip_address_location

Get geographic location information for an IP address.

Parameters:

  • ip (optional): IPv4 or IPv6 address to look up.

Returns: Country, city, coordinates, timezone, postal code, and more.

lookup_ip_address_privacy

Check whether an IP address is detected as a VPN, proxy, other anonymizing service; is on an abuse blocklist; or is a hosting provider.

Parameters:

  • ip (optional): IPv4 or IPv6 address to look up.

Returns: VPN status, proxy detection, Tor exit node status, hosting provider information.

lookup_ip_address_network

Get network and ASN (Autonomous System Number) information for an IP address.

Parameters:

  • ip (optional): IPv4 or IPv6 address to look up.

Returns: ASN details, network range, ISP information, regional registry.

lookup_ip_address_company

Get company/organization information for an IP address.

Parameters:

  • ip (optional): IPv4 or IPv6 address to look up.

Returns: Company name, domain, country, organization type.

lookup_ip_address_abuse_contacts

Get abuse contact information for an IP address to report malicious activity.

Parameters:

  • ip (optional): IPv4 or IPv6 address to look up.

Returns: Abuse contact email, phone, address, and network range.

Available prompts

The server also provides pre-configured prompts to help with common IP analysis tasks:

check_ip_security

Analyze an IP address for security concerns including VPN, proxy, Tor usage, and abuse history.

Example usage: "Use the check_ip_security prompt to analyze 192.168.1.1"

locate_ip_geographically

Get detailed geographic information about an IP address.

Example usage: "Use the locate_ip_geographically prompt to find where I am"

investigate_ip_ownership

Get detailed information about who owns and operates an IP address.

Example usage: "Use the investigate_ip_ownership prompt to check who owns 8.8.8.8"

ip_comparison

Compare geographic and network information between two IP addresses.

Example usage: "Use the ip_comparison prompt to compare 1.1.1.1 and 8.8.8.8"

Add your API key

You can make up to 50 requests per day without an API key.

Sign up for a free API key at IPLocate.io to increase your free quota to 1,000 requests per day.

Sign up for a free API key

  1. Visit https://iplocate.io/signup
  2. Create a free account
  3. Get your API key from the dashboard

Using an API key with this server

The 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.

Running the server manually

If you need to run the server manually (for development or testing), you have several options:

Prerequisites

  • Node.js 18 or higher
  • npm or yarn

Using npx (recommended)

bash
npx -y @iplocate/mcp-server

With API key:

On macOS/Linux:

bash
export IPLOCATE_API_KEY=your_api_key_here
npx -y @iplocate/mcp-server

On Windows:

powershell
set IPLOCATE_API_KEY=your_api_key_here
npx -y @iplocate/mcp-server

Install from npm

bash
npm install -g @iplocate/mcp-server
mcp-server-iplocate

Install from source

bash
git clone https://github.com/iplocate/mcp-server-iplocate.git
cd mcp-server-iplocate
yarn install
yarn build
yarn start

For development with auto-reload:

bash
yarn dev

Testing

You can test the server using the MCP Inspector:

bash
npx @modelcontextprotocol/inspector node dist/index.js

API Response Format

The IPLocate API returns comprehensive data about IP addresses. Here's an example response structure:

json
{
  "ip": "8.8.8.8",
  "country": "United States",
  "country_code": "US",
  "city": "Mountain View",
  "latitude": 37.386,
  "longitude": -122.0838,
  "asn": {
    "asn": "AS15169",
    "name": "Google LLC",
    "domain": "google.com"
  },
  "privacy": {
    "is_vpn": false,
    "is_proxy": false,
    "is_tor": false,
    "is_hosting": true
  }
  // ... and more fields
}

For full details, see the IPLocate API documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Acknowledgments

About IPLocate.io

Since 2017, IPLocate has set out to provide the most reliable and accurate IP address data.

We 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.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "iplocate": {
      "command": "npx",
      "args": [
        "-y",
        "@iplocate/mcp-server"
      ],
      "env": {
        "IPLOCATE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Use IPLocate MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once IPLocate is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add IPLocate as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the IPLocate MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "iplocate": {
      "command": "npx",
      "args": [
        "-y",
        "@iplocate/mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the IPLocate MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the IPLocate MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use IPLocate to help me with this task?
IPLocate
Sure. I read it.
Here is what I found using IPLocate.

Frequently asked questions

What is the IPLocate MCP server used for?

IPLocate is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use IPLocate MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use IPLocate with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use IPLocate MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With IPLocate connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect IPLocate MCP to TypingMind?

IPLocate runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does IPLocate MCP provide in TypingMind?

IPLocate exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use IPLocate MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If IPLocate requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇