Skip to main content
Glama
kukapay

nearby-search-mcp

by kukapay

NearestSearch MCP 服务器

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

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

特征

  • 基于 IP 的位置检测:使用 ipapi.co 确定您的当前位置

  • Google Places 集成:根据关键字和可选类型过滤器搜索附近的地点

  • 简单界面:具有可定制半径的单一工具端点

Related MCP server: GeoIP MCP Server

要求

  • 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文件。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A MCP server that uses Amap API to provide location-based services, allowing users to get geographic information based on IP addresses and search for nearby points of interest.
    30
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that provides IP geolocation services using MaxMind's GeoIP2 databases, allowing users to retrieve geographical information for single or multiple IP addresses including country, city, coordinates, and ASN details.
    GPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server providing geocoding and place discovery services via Nominatim and OpenStreetMap. It enables users to perform forward and reverse geocoding, extract bounding boxes, and find nearby places or administrative hierarchies.
    10
    Apache 2.0
  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server for IP geolocation lookups using ipinfo.io, with single, own, and batch queries.
    1
    MIT

Latest Blog Posts

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