Skip to main content
Glama

rendezvous-mcp

Nostr: npub1mgvlrnf5hm9yf0n5mf9nqmvarhvxkc6remu5ec3vf8r0txqkuk7su0e7q2

为 AI 提供公平的会面点 — 基于等时线的公平性,而非简单的中点。

npm licence TypeScript Nostr GitHub Sponsors

用于 AI 驱动的会面点发现的 MCP 服务器。让你的 AI 能够使用真实的旅行时间、场地可用性和公平性算法来回答 “我们应该在哪里见面?”。

开箱即用 — 提供免费的公共路由,无需 API 密钥。你可以自托管 Valhalla 以获得无限查询,或者使用 L402 Lightning 积分来使用我们的托管端点。

工具

工具

描述

score-venues

根据 2-10 名参与者的旅行时间公平性对候选场地进行评分

search-venues

使用 OpenStreetMap 搜索地点附近的场地

get-isochrone

获取可达性多边形(N 分钟内可到达的所有区域)

get-directions

获取两点之间的逐向导航路线

store-routing-credentials

在 Lightning 支付后存储 L402 macaroon + 原像

Related MCP server: eodiseobwa-mcp

快速开始

添加到你的 MCP 客户端配置(Claude Code、Claude Desktop、Cursor 等)中:

{
  "mcpServers": {
    "rendezvous": {
      "command": "npx",
      "args": ["rendezvous-mcp"]
    }
  }
}

然后询问你的 AI:“对于在伦敦的 Alice、在布里斯托尔的 Bob 和在伯明翰的 Carol 来说,午餐在哪里见面比较公平?”

远程 (HTTP/SSE)

对于 ChatGPT、远程 AI 代理或任何通过 HTTP 连接的客户端:

TRANSPORT=http npx rendezvous-mcp

在 3002 端口启动一个可流式传输的 HTTP 服务器,MCP 端点位于 /mcp。

ChatGPT 连接器

在 ChatGPT 设置中,添加一个 MCP 服务器,配置如下:

  • URL: http://your-host:3002/mcp

  • 传输方式: Streamable HTTP

配置

变量

默认值

描述

TRANSPORT

stdio

传输模式:stdio 或 http

PORT

3002

HTTP 服务器端口(仅限 HTTP 模式)

HOST

0.0.0.0

HTTP 绑定地址(仅限 HTTP 模式)

VALHALLA_URL

https://routing.trotters.cc

路由引擎 URL

OVERPASS_URL

公共端点

场地搜索 API

自托管路由

为了获得无速率限制的无限查询,请运行你自己的 Valhalla 实例:

{
  "mcpServers": {
    "rendezvous": {
      "command": "npx",
      "args": ["rendezvous-mcp"],
      "env": {
        "VALHALLA_URL": "http://localhost:8002"
      }
    }
  }
}

工作原理

  1. 用户询问“我们应该在哪里见面?”

  2. AI 对参与者位置进行地理编码

  3. AI 调用 search-venues 在该区域附近查找候选场地

  4. AI 使用参与者 + 候选场地调用 score-venues — 返回带有旅行时间和公平性评分的排名结果

  5. AI 展示最公平的选项以及每个人的旅行时间

为了进行更深入的分析,AI 可以使用 get-isochrone 来可视化可达性,并使用 get-directions 进行逐向导航。

L402 支付

默认的路由端点 (routing.trotters.cc) 提供免费请求。当免费额度用尽时,工具将返回带有 Lightning 发票的 payment_required 响应。支付后,调用 store-routing-credentials 来存储该会话的 macaroon。

自托管的 Valhalla 没有支付要求。

架构

这是 rendezvous-kit 之上的轻量级 MCP 封装 — 这是一个用于等时线相交、场地搜索和公平性评分的开源 TypeScript 库。每个工具都是一个提取出来的处理函数(无需 MCP 即可测试)加上一行注册代码。

开发

npm install
npm run build
npm test

许可证

MIT

支持

有关问题和功能请求,请参阅 GitHub Issues。

如果你觉得 rendezvous-mcp 有用,欢迎打赏:

  • Lightning: thedonkey@strike.me

  • Nostr zaps: npub1mgvlrnf5hm9yf0n5mf9nqmvarhvxkc6remu5ec3vf8r0txqkuk7su0e7q2

Available Tools

5 tools
get-directionsA
Read-only

Get directions between two points with distance, duration, and turn-by-turn steps. Returns a GeoJSON LineString of the route geometry.

Inputs: from (required), to (required), transport_mode (required).

get-isochroneA
Read-only

Get a reachability polygon showing everywhere reachable from a point within a given travel time. Returns a GeoJSON polygon. Useful for understanding how far someone can travel.

Inputs: lat (required), lon (required), transport_mode (required), time_minutes (required).

score-venuesA
Read-only

Score candidate venues by travel time fairness for multiple participants. Computes travel times from each participant to each venue and ranks by fairness strategy. The AI should suggest venues (from its own knowledge or via search-venues) and pass them here for scoring.

Inputs: participants (required), venues (required), transport_mode (required), fairness.

search-venuesA
Read-only

Search for venues (pubs, cafes, restaurants, parks, etc.) near a location using OpenStreetMap data. Returns name, coordinates, type, and OSM ID. Use this when you need comprehensive local venue data that may not be in your training knowledge.

Inputs: lat (required), lon (required), venue_types (required), radius_km.

store-routing-credentialsA
Idempotent

Store L402 payment credentials (macaroon + preimage) after paying a routing invoice. Call this after the user has paid the Lightning invoice returned by a payment_required response. Once stored, all subsequent routing calls (score-venues, get-isochrone, get-directions) will authenticate automatically.

Inputs: macaroon (required), preimage (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of the rendezvous domain: directions, isochrones, venue search, fairness scoring, and credential storage. No two tools overlap in purpose.

    Naming Consistency5/5

    All tool names follow a consistent verb-object pattern with hyphens (e.g., get-directions, score-venues). No mixing of conventions.

    Tool Count5/5

    5 tools cover the core workflow (search, routing, scoring, credential management) without being excessive. Well-scoped for the domain.

    Completeness4/5

    Missing minor features like venue detail retrieval or credential deletion, but the essential lifecycle (search venues, compute routes, score fairness, authenticate) is fully supported.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Geospatial API tools for AI agents — geocoding, reverse geocoding, routing, isochrone, distance matrix, static maps, H3 hexagons, elevation, GPS map-matching, point-in-polygon, address normalisation, timezone lookup, and batch geocoding. Built on OpenStreetMap infrastructure. Cost-effective alternative to Google Maps API.
      18
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Plans meetups with driving-time-balanced area suggestions and place recommendations using Kakao Local and Mobility APIs.
      -
    • F
      license
      A
      quality
      D
      maintenance
      OSM-backed multimodal navigation MCP server enabling geocoding, route planning, POI discovery, and urban layout analysis. It provides a structured city graph to LLM apps without proprietary map APIs.
      8
      -