drio
Open app

WhereAmI MCP Server

Source

A lightweight mcp server that tells you exactly where you are.

Catalog onlyCatalog onlySTDIO

Overview

WhereAmI MCP Server is a lightweight server that provides geolocation information based on the user's current IP address, utilizing the ipapi.co service.

To use the server, clone the repository, install the required dependencies, and run the server. You can query your location using predefined commands or natural language prompts.

  • Dynamic resource fetching for specific location data (IP, country, city, etc.) via location://{type}. - Comprehensive location reports generated with get_location(). - Natural language querying capability with prompts like "Where am I?". - Robust error handling for API and network issues. - Minimal dependencies required for setup.
  1. Determining the user's current IP address and location.
  2. Fetching detailed geolocation data for applications.
  3. Integrating location services into other applications or services.

Add to your AI client

Use these steps to connect WhereAmI MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "whereami-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-whereami-mcp-kukapay"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "whereami-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-whereami-mcp-kukapay"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "whereami-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-whereami-mcp-kukapay"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "whereami-mcp-kukapay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-whereami-mcp-kukapay"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "whereami-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-whereami-mcp-kukapay"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "whereami-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-whereami-mcp-kukapay"
      ]
    }
  }
}

FAQ

Can I use WhereAmI MCP Server for any IP address?

Yes! It provides location data based on the current IP address.

Is there a cost associated with using WhereAmI MCP Server?

No, it is free to use under the MIT License.

What programming language is used for WhereAmI MCP Server?

The server is built using Python.