ViaFrei
The German Real-Time Mobility Context Platform for AI: traffic, trains, charging, parking, weather.
作者提供的说明(英文原文)
Google Places + trip maps via gogcli for Claude — places through gog maps, pins, shortlists, My Maps
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GOG_ACCOUNT, GOG_PATH, DISPLAY_TZ, GOG_READONLY, GOG_TIMEZONE你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"gogcli-maps": {
"command": "npx",
"args": [
"-y",
"gogcli-mcp-maps"
],
"env": {
"GOG_ACCOUNT": "your-value",
"GOG_PATH": "your-value",
"DISPLAY_TZ": "your-value",
"GOG_READONLY": "your-value",
"GOG_TIMEZONE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add gogcli-maps --env GOG_ACCOUNT=your-value --env GOG_PATH=your-value --env DISPLAY_TZ=your-value --env GOG_READONLY=your-value --env GOG_TIMEZONE=your-value -- npx -y gogcli-mcp-maps运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"gogcli-maps": {
"command": "npx",
"args": [
"-y",
"gogcli-mcp-maps"
],
"env": {
"GOG_ACCOUNT": "your-value",
"GOG_PATH": "your-value",
"DISPLAY_TZ": "your-value",
"GOG_READONLY": "your-value",
"GOG_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"gogcli-maps": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gogcli-mcp-maps"
],
"env": {
"GOG_ACCOUNT": "your-value",
"GOG_PATH": "your-value",
"DISPLAY_TZ": "your-value",
"GOG_READONLY": "your-value",
"GOG_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
GOG_ACCOUNT envGOG_PATH envDISPLAY_TZ envGOG_READONLY envGOG_TIMEZONE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 chrischall 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(4.11.0)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:ViaFrei, Open Transfer Times, IoMarkets Topup (demo)
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
The German Real-Time Mobility Context Platform for AI: traffic, trains, charging, parking, weather.
Check if a flight connection is comfortable, tight or risky, with cited airport data.
Demo only, payments switched off. Travel eSIMs and mobile top-ups priced in USDC via x402.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
[!WARNING]
AI-developed project. This codebase was built and is actively maintained by Claude Code. Review all code and tool permissions before use.
Trip mapping MCP server via gogcli. It finds places on Google (place id, name, address, Google Maps link and coordinates) and puts a trip's stops on a map as pins, not a route: each stop gets a Google Maps pin link, each day gets a Google Maps shortlist link that lets you save its places to your Google Maps Lists, and the whole trip becomes a KML file (plus a CSV) in Google Drive that you import into Google My Maps in three steps.
It calls nothing outside gog. Every Google request (Places, Geocoding, Drive) is a gog command; this package never calls Google itself, makes no network request of its own and never sees an API key.
https://www.google.com/maps/search/?api=1&query= &query_place_id= (or the coordinates, if the id cannot fit).brew install gogcli
gog auth add your@gmail.com --services drive
The places tools run gog maps places search, gog maps places details and gog maps geocode. gog reads the key from its own config; this server handles no key at all.
gog config set places_api_key <key>
Use gog's config, not an environment variable: the server strips every *_KEY variable from the environment of the gog it spawns. Without a key, gog's own error (how to set one) comes back from the places tools.
npm install -g gogcli-mcp-maps
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "gogcli-maps": { "command": "gogcli-mcp-maps", "env": { "GOG_ACCOUNT": "you@gmail.com" } } } }
claude mcp add gogcli-maps -- gogcli-mcp-maps
Plus 8 auth tools (gog_auth_*, Drive scope by default).
| Tool | Description |
|---|---|
gog_places_search | The single top Google match for free text (near is appended to the text as an area hint): place id, name, address, Maps link and lat/lng |
gog_places_resolve | Resolve 1-50 named stops (or known place ids or coordinates) to places: id, address, lat/lng, Maps link and a status each. Flags a top match whose name does not match as ambiguous |
gog_places_details | One place by id: name, address, Maps link and lat/lng |
gog_trip_map | Resolve every stop of a trip, warn about problems, return pin links and shortlist links by day, build KML + CSV, upload them to Drive Trips/ , and give the My Maps import steps |
gog 0.48 returns only the top match for a search, with its place id, name, address and Google Maps link, and no coordinates. So each stop is:
place_id → gog maps places details . Otherwise gog maps places search " , , ". gog has no location bias or result count, so near (for example Tampa, FL) is just more search text.gog maps geocode " ", taking the first result's coordinates. A stop given with lat/lng uses those and skips this step.| Status | Meaning |
|---|---|
ok | Found, and the pin is the place itself (the geocoder returned the same place id) or the coordinates you gave |
approximate | Found, but the pin is the geocoded address rather than the place, or there are no coordinates at all |
not_found | The search found nothing (a stop with given coordinates still gets its pin) |
error | gog failed for this stop; the reason is in the answer |
There are no opening times, business status, ratings or alternative matches: gog 0.48 does not return them. Every answer reports gogCalls, the number of search, details and geocode commands it ran.
gog_places_resolve runs at most 4 lookups at once, and once the request is cancelled it starts no more.
gog_trip_mapEach stop is {day, time?, name, address? | place_id?, lat?, lng?, note?, category?}. day is a date (2026-11-21) or a day number from 1, which start_date turns into dates. category picks the pin colour: lodging, food, drinks, sight, activity, event, transport or shopping.
What it does, in order:
unresolved). .kml and .csv (the title, lowercased and hyphenated) into a new folder under GOG_FILE_ROOTS (trips/).Trips/ (under drive_parent, default My Drive; a / in the title becomes -). A re-run reuses the folder and replaces the two files rather than adding copies.It returns the stops grouped by day (time, name, status, pin link, warnings) with each day's shortlist_urls, the trip-wide shortlist, the local and Drive links of both files, the folder link, and the three My Maps steps:
.kml in Trips/ . ; Share → add the same people (My Maps sharing is separate from the folder's).view: full adds places: every stop's lookup (status, place id, address, lat/lng, match confidence, cached).
gog_trip_map builds Google's documented shortlist URL:
https://www.google.com/maps/@?api=1&map_action=shortlist&place_ids=ID1%2CID2%2C...
Opening it shows those places in Google Maps, where you can save them to a list in your Google Maps profile (Lists). This is the supported way into Lists, since Lists have no API.
shortlist_urls: its places in stop order, split into several links when there are more than 20 or a link would be too long. A place visited twice is listed once.shortlist.trip_url when all its places fit in one link; otherwise shortlist.trip_note says to use the per-day links.shortlist_left_out lists the rest (no place id, or an id too long for any link). They are still on the KML map.%2C, the encoded comma: the Maps URLs guide says the comma must be encoded, and it decodes to the plain comma of Google's own example.The shortlist links are in the tool's answer only; the KML and CSV do not carry them. For a long trip, or to keep days as layers with coloured pins, use the My Maps import.
Each gog maps command is one billed Google request on the key in gog's config, at Google's published first-tier list prices (pricing, checked 2026-11-08):
| gog command | Google SKU | Price | Free each month |
|---|---|---|---|
gog maps places search | Text Search Pro (Places API (New)) | $32 per 1,000 | 5,000 |
gog maps places details | Place Details Pro (Places API (New)) | $17 per 1,000 | 5,000 |
gog maps geocode | Geocoding | $5 per 1,000 | 10,000 |
gog asks for the place id, display name, address and Maps link, which bills the Places calls at the Pro tier. There is no budget parameter: a lookup that is not cached costs one search (or one details) plus one geocode. Cache hits cost nothing.
Lookups are cached at ~/.gogcli-mcp/places-cache.json (under $HOME, written atomically, mode 0600), within Google's Places policies:
| What | Kept for |
|---|---|
| Place id | indefinitely |
| Coordinates (lat/lng) | 30 days at most |
| Name, address and Google Maps link | 24 h |
Entries are found by the normalised search text and by place id. A stop whose place id is known but whose 24 h fields have expired costs one gog maps places details, not a new search; fresh coordinates are reused, so it costs no geocode. A fully fresh entry costs nothing. A corrupt cache file is ignored and rebuilt, never an error.
Pass refresh: true to look again anyway. Only gog_places_resolve and gog_places_details take it.
The other two tools always use the cache: gog_places_search and gog_trip_map have no refresh parameter.
share_with, as reader, and only when the call also says confirm_share: true. share_with without confirm_share shares nothing and says so.gog_drive_share, listing the emails and the folder. On a client that cannot show the prompt, the two-step confirmation token takes its place (MCP_CONFIRM_MODE).GOG_READONLY=1 or upload: false, nothing is written to Drive and nothing is shared; the KML and CSV are still written locally and returned in the answer.A sample itinerary using public venues (the notes are invented):
{
"title": "T
只显示了开头部分;其余内容请在仓库中阅读