Skip to main content
Glama

nearby-search-mcp

NearestSearch MCP 服务器

用于通过基于 IP 的位置检测进行附近地点搜索的 MCP 服务器。

GitHub 许可证GitHub 上次提交Python 版本

特征

  • 基于 IP 的位置检测:使用 ipapi.co 确定您的当前位置
  • Google Places 集成:根据关键字和可选类型过滤器搜索附近的地点
  • 简单界面:具有可定制半径的单一工具端点

要求

  • Python 3.10+
  • 已启用 Places API 的 Google Cloud Platform API 密钥
  • 互联网连接

安装

  1. 克隆存储库:
git clone https://github.com/kukapay/nearby-search-mcp.git cd nearby-search-mcp
  1. 安装依赖项:
# Using uv (recommended) uv add "mcp[cli]" httpx python-dotenv # Or using pip pip install mcp httpx python-dotenv
  1. 客户端配置
{ "mcpServers": { "nearby-search": { "command": "uv", "args": ["--directory", "path/to/nearby-search-mcp", "run", "main.py"], "env": { "GOOGLE_API_KEY": "your google api key" } } } }

用法

运行服务器

  • 开发模式(使用 MCP Inspector):
mcp dev main.py
  • 在 Claude Desktop 中安装
mcp install main.py --name "NearbySearch"
  • 直接执行
python main.py

可用端点

工具: search_nearby

  • 搜索您当前位置附近的地点
  • 参数:
    • keyword (str):要搜索的内容(例如,“咖啡店”)
    • radius (int,可选):搜索半径(以米为单位)(默认值:1500)
    • type (str,可选):地点类型(例如,“餐厅”,“咖啡馆”)

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

用于通过基于 IP 的位置检测进行附近地点搜索的 MCP 服务器。

  1. 特征
    1. 要求
      1. 安装
        1. 用法
          1. 运行服务器
          2. 可用端点
        2. 执照

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            This MCP server provides access to TripAdvisor data for planning vacations, enabling users to search for and get details about locations, attractions, restaurants, and hotels through an interactive planning experience.
            Last updated -
            1
            Python
            Apache 2.0
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that retrieves detailed geographic information about IP addresses using the ipinfo.io API, helping determine user location and network details.
            Last updated -
            1
            5
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            A lightweight mcp server that tells you exactly where you are.
            Last updated -
            Python
            MIT License
          • -
            security
            -
            license
            -
            quality
            An MCP server that enables querying detailed address information from Brazilian postal codes (CEPs) via the ViaCEP API, returning data such as street names, neighborhoods, cities, states, regions, and IBGE codes.
            Last updated -
            TypeScript
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/kukapay/nearby-search-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server