Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
A plain-language trip description becomes dated flight deals with prices and booking links.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
HASDATA_API_KEY, x-api-key标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"google-flights-deals": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-flights-deals-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http google-flights-deals 'https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals' --header 'x-api-key: your-value'claude mcp add google-flights-deals --env HASDATA_API_KEY=your-value -- npx -y @hasdata/google-flights-deals-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"google-flights-deals": {
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals",
"headers": {
"x-api-key": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"google-flights-deals": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-flights-deals-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"google-flights-deals": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals",
"headers": {
"x-api-key": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"google-flights-deals": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hasdata/google-flights-deals-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
x-api-key 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 hasdata.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:HASDATA_API_KEY, x-api-key
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(1.0.0)于33天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Signoff
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Five gates that make an agent's 'done' provable: run them, read the verdict, audit the record.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A hosted Google Flights Deals MCP server that gives Claude, Cursor, Windsurf and any other MCP client one Google Flights Deals tool. Describe a trip in plain language, such as "cherry blossom in Japan" or "beach escape", and get dated fares from one origin airport with the typical price beside them, the airline, the stops and a booking link, as structured JSON.
1,000 free credits every month, no card required, which is about 66 searches.
https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals
An MCP client and a HasData API key from the dashboard, free to create with no card, and the free tier covers about 66 calls a month at the 15-credit rate. This is a remote server, so the simplest path is a URL and an x-api-key header, with no container to run and no Google account anywhere in the flow. A client that only speaks stdio reaches it through a thin launcher, published as @hasdata/google-flights-deals-mcp on npm and hasdata-google-flights-deals-mcp on PyPI, shown below.
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
| Field | Value |
|---|---|
| URL | https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals |
| Transport | HTTP, streamable |
| Auth header | x-api-key: HASDATA_API_KEY |
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
Claude Code
claude mcp add --transport http google-flights-deals "https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals" \
--header "x-api-key: HASDATA_API_KEY"
Claude Desktop
{
"mcpServers": { "google-flights-deals": { "type": "http", "url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }
Cursor
{
"mcpServers": { "google-flights-deals": { "type": "streamable-http", "url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }
VS Code
{
"servers": { "google-flights-deals": { "type": "http", "url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights_deals", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }
Prompts, not code. Paste one in and the agent picks the tool itself. Each is annotated with the calls it takes, because every successful call costs 15 credits.
I want to see cherry blossom in Japan, flying from LAX. What are the cheapest dates?
*One call, 15 credits. Google picks the destinations and the date range from the description.*
Beach escape from London in February, nothing over 600 pounds, direct only.
*One call, 15 credits. The price ceiling and the stops filter both need a destination pinned with arrivalId, so the agent has to name one or drop the filters.*
Same trip but to Tokyo specifically, ten days, business class.
*One call, 15 credits. With arrivalId set, the trip length and the cabin become available.*
Compare the cherry blossom idea from LAX and from JFK.
*Two calls, 30 credits. One origin per call.*
| Tool | What it returns |
|---|---|
hasdata_google_travel_flights_deals_getGoogleFlightsDeals | Dated deals with the fare, the typical price for the route, flight duration, trip length, stops, the operating airline, the airports and a Google Flights booking link, plus the destinations and date range Google derived from the query. 15 credits a call |
One tool, 15 credits per successful call.
hasdata_google_travel_flights_deals_getGoogleFlightsDeals
| Parameter | Type | Required | Notes |
|---|---|---|---|
q | string | yes | Free-text trip description, from a bare place name to a full sentence |
departureId | string | yes | Origin as a three-letter uppercase IATA code, for example LAX |
arrivalId | string | Pins the destination instead of letting Google choose. Every filter below needs it | |
type | string | roundTrip (default) or oneWay | |
travelClass | string | economy, premiumEconomy, business or first | |
outboundDate | string | An exact date, or a window as 2026-12-01,2026-12-10 | |
returnDate | string | Same spelling as outboundDate, and required alongside it | |
travelDuration | string | Preset length, week, weekend or twoWeeks | |
tripLength | string | Length in days, instead of returnDate or travelDuration | |
stops | string | nonStop, oneStopOrFewer or twoStopsOrFewer | |
maxDuration | number | Ceiling per flight in minutes | |
maxPrice | number | Ceiling in the currency of the request | |
includeAirlines / excludeAirlines | string | One or the other, never both |
The filters are the thing to get right. All of them require `arrivalId`. A prompt that asks for direct flights under a price cap while letting Google pick the destination is asking for two things that cannot be combined, and the API says so with a 422 naming the offending pair. Pin a destination or drop the filters.
searchInformation reports what Google made of the query: the departure airport in full with its city and coordinates, the dateRange it settled on, the priceRange it found and the airlines involved.
{
"searchInformation": { "query": "cherry blossom in Japan", "departure": { "airport": "LAX", "city": "Los Angeles", "country": "United States" }, "dateRange": { "from": "2027-03-01", "to": "2027-04-30" } }, "flightDeals": [ { "outboundDate": "2027-03-01", "returnDate": "2027-03-08", "price": { "value": 960, "currency": "USD" }, "typicalPrice": { "value": 1335, "currency": "USD" }, "discountPercent": 28, "durationMinutes": 1320, "tripLengthDays": 7, "stops": 1, "airlineCode": "CX", "airline": "Cathay Pacific", "multipleAirlines": false, "departureAirport": "LAX", "arrivalAirport": "HIJ", "destination": { "city": "Hiroshima", "country": "Japan", "highlight": "Peace Park Memorial & Shukkei-en garden" }, "bookingLink": "https://www.google.com/travel/flights?tfs=…" } ] }
The server exposes 7 resources, one per parameter whose accepted values are a fixed list. Reading one is cheaper than learning the vocabulary from a rejected call, and it costs no credits. Each URI is hasdata://google_travel_flights_deals/ .
| Parameter | Values | What it selects |
|---|---|---|
type | 4 | Flight type. Requires arrivalId. - 1 / roundTrip — round trip (default) - 2 / oneWay — one way A one-way deal carries no returnDate and no tripLengthDays. |
travelClass | 8 | Travel class. Requires arrivalId. - 1 / economy — economy (default) - 2 / premiumEconomy — premium economy - 3 / business — business - 4 / first — first Fares climb steeply: on LAX-NRT the same search ran $730 in economy against $2882 in business. |
travelDuration | 6 | Preset trip length. Requires arrivalId. Cannot be combined with returnDate or tripLength. - 1 / week — about a week (6-8 days) - 2 / weekend — a weekend (2-3 days) - 3 / twoWeeks — about two weeks (13-15 days) Pairs with outboundDate to limit the departure period. Ignored when type is oneWay. |
stops | 6 | Maximum number of stops. Requires arrivalId. Omitted, any number is allowed. - 1 / nonStop — direct flights only - 2 / oneStopOrFewer — at most one connection - 3 / twoStopsOrFewer — at most two connections A route with nothing at that depth returns an empty flightDeals array, not an error — nonStop on a route without a direct flight is a valid, empty answer. |
gl | 245 | The two-letter country code for the country you want to limit the search to. |
hl | 159 | The two-letter language code for the language you want to use for the search. |
currency | 71 | Parameter defines the currency of the returned prices |
The list is served without an API key, so a client can read it before a user has signed up.
Your client almost never sees an HTTP error code from a tool call. The MCP layer answers 200 and puts the failure inside the result, with isError set to true and the reason as text.
`discountPercent` is the exception, not the rule. Across 351 deals measured on 2026-10-05 it was present on 109 of them. Where it appears it matches the gap between price and typicalPrice to within a rounding step, and where it is absent that gap ran from 4% to 15%, so Google appears to publish the field only past a threshold of its own. typicalPrice was on every deal, so compute the comparison yourself rather than reporting "no discount" because the key is missing.
`airline` and `airlineCode` go missing together. In that same sample 269 deals named a carrier and 82 did not, and the split is exactly the multipleAirlines flag: every deal that set it to true omitted both fields, every deal that did not carried both. Read the flag before reporting a carrier, and say "several airlines" rather than leaving the field blank.
A filter without `arrivalId` is rejected before it runs. The API answers 422 with rule: "requiredIfExists" naming both arrivalId and the filter that triggered it, and nothing is billed. All eleven filters behave this way, so the failure is loud and cheap rather than silent.
Dates are what Google chose unless you pinned them. searchInformation.dateRange is the range it searched, which ca
只显示了开头部分;其余内容请在仓库中阅读