KN

kukapay/nearby-search-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

22 stars 6 forks 품질 61 트렌드 0MIT

근처에 있는 MCP 서버는 IP 기반 위치 감지로 검색합니다.

개요

근처에 있는 MCP 서버는 IP 기반 위치 감지로 검색합니다. - : 현재 위치를 결정하기 위해 ipapi.co를 사용하십시오 - : 키워드 및 옵션 유형 필터를 기반으로 인근 장소 검색 - : 사용자 정의 반경이있는 단일 도구 엔드 포인트 - Python 3.10+ - Google Cloud Platform API Key with Places API 활성화 - 인터넷 연결 - 현재 위치 근처의 장소를 검색 - 매개 변수 : - 키워드 (str) : (예 : "커피 가게") - 반경 (int, 옵션) : 미터의 검색 반경 (기본값 : 1500) - 유형 (str, 옵션) : 장소 유형 (예 : "restaurant", "cafe") 이 프로젝트는 MIT 라이센스에 따라 라이센스가 부여됩니다 - 세부 사항에 대한 라이센스 파일을 참조하십시오.

개요(AI 번역)

근처에 있는 MCP 서버는 IP 기반 위치 감지로 검색합니다.

특징

  • **IP 기반 위치 감지 **: ipapi.co를 사용하여 현재 위치를 결정합니다.
  • ** 구글 플레이스 통합 **: 키워드 및 옵션 유형 필터를 기반으로 주변 장소를 검색
  • ** 간단한 인터페이스 ** : 사용자 정의 반경이있는 단일 도구 엔드 포인트

요구 사항

  • 파이썬 3.10+
  • Google Cloud Platform API Key with Places API 활성화
  • 인터넷 연결

설치

  1. 저장소를 복제:

  2. 의존성 설치:

  3. 클라이언트 구성

₢ 킹

사용법

서버 실행

  • 개발 모드 (MCP Inspector 포함):

  • ** Claude 데스크톱에서 설치 **:

  • ** 직접 실행 **:

사용 가능한 엔드포인트

도구: search_nearby

  • 현재 위치 근처의 장소를 검색
  • 모수:
  • keyword (str) : 검색하는 방법 (예 : “커피 가게”)
  • radius (int, 선택 사항) : 미터의 검색 반경 (기본값 : 1500)
  • type (str, 옵션) : 장소 유형 (예 : “restaurant”, “cafe”)

라이센스

이 프로젝트는 MIT 라이센스에 따라 라이센스가 부여됩니다 - 세부 사항에 대한 라이센스 파일을 참조하십시오.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

NearbySearch MCP Server

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

Features

  • IP-based Location Detection: Uses ipapi.co to determine your current location
  • Google Places Integration: Searches for nearby places based on keywords and optional type filters
  • Simple Interface: Single tool endpoint with customizable radius

Requirements

  • Python 3.10+
  • Google Cloud Platform API Key with Places API enabled
  • Internet connection

Installation

  1. Clone the repository:
git clone https://github.com/kukapay/nearby-search-mcp.git
cd nearby-search-mcp
  1. Install dependencies:
# Using uv (recommended)
uv add "mcp[cli]" httpx python-dotenv

# Or using pip
pip install mcp httpx python-dotenv
  1. Client Configuration
{
  "mcpServers": {
    "nearby-search": {
      "command": "uv",
      "args": ["--directory", "path/to/nearby-search-mcp", "run", "main.py"],
      "env": {
        "GOOGLE_API_KEY": "your google api key"
      }
    }
  }
}

Usage

Running the Server

  • Development Mode (with MCP Inspector):
mcp dev main.py
  • Install in Claude Desktop:
mcp install main.py --name "NearbySearch"
  • Direct Execution:
python main.py

Available Endpoints

Tool: search_nearby

  • Searches for places near your current location
  • Parameters:
    • keyword (str): What to search for (e.g., “coffee shop”)
    • radius (int, optional): Search radius in meters (default: 1500)
    • type (str, optional): Place type (e.g., “restaurant”, “cafe”)

License

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

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "nearby-search": { "command": "uv", "args": ["--directory", "path/to/nearby-search-mcp", "run", "main.py"], "env": { "GOOGLE_API_KEY": "your google api key" } } } }