drio
Open app

NearbySearch MCP Server

Source

An MCP server for nearby place searches with IP-based location detection.

Catalog onlyCatalog onlySTDIO

Overview

NearbySearch MCP Server is a server application designed for searching nearby places using IP-based location detection.

To use the NearbySearch MCP Server, clone the repository, install the required dependencies, and run the server using the provided commands. You can then access the search functionality through the available endpoints.

  • IP-based Location Detection: Automatically detects the user's location using ipapi.co. - Google Places Integration: Allows searching for nearby places based on keywords and optional type filters. - Simple Interface: Provides a single tool endpoint with customizable search radius.
  1. Finding nearby restaurants or cafes based on user preferences.
  2. Locating essential services like hospitals or gas stations in unfamiliar areas.
  3. Enhancing mobile applications with location-based search functionalities.

Add to your AI client

Use these steps to connect NearbySearch 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": {
    "nearby-search-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nearby-search-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": {
    "nearby-search-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nearby-search-mcp-kukapay"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "nearby-search-mcp-kukapay": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nearby-search-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": {
    "nearby-search-mcp-kukapay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nearby-search-mcp-kukapay"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

How does the location detection work?

The server uses ipapi.co to determine the user's current location based on their IP address.

Do I need an API key for Google Places?

Yes, you need a Google Cloud Platform API Key with the Places API enabled to use the search functionality.

What programming language is used for this project?

The NearbySearch MCP Server is developed in Python.