Skip to content

[MCP] Add MCP Apps support for Google Jobs and Google Shopping - #52

Merged
vm-serpapi merged 4 commits into
mainfrom
feat/mcp-app-jobs
Jun 23, 2026
Merged

[MCP] Add MCP Apps support for Google Jobs and Google Shopping#52
vm-serpapi merged 4 commits into
mainfrom
feat/mcp-app-jobs

Conversation

@vm-serpapi

@vm-serpapi vm-serpapi commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Changelog

Add support for Google Jobs and Google Shopping MCP Apps custom dashboards. That completes the initial batch of core offerings that we needed.

image

Vlad M added 2 commits June 19, 2026 13:54
Adds engine-specific interactive UI for google_jobs via the search_dashboard
tool. When engine=google_jobs, the dashboard auto-dispatches to a dedicated
jobs view featuring:

- Metrics row: jobs found, with salary (%), remote (%), query
- Schedule type PieChart (Full-time vs Contract vs Part-time breakdown)
- Sortable jobs table (title, company, location, salary, type, posted, benefits)
- Click-to-expand detail card with salary/schedule/remote badges, description
  snippet, and link to full listing

Registers google_jobs in ENGINE_APP_BUILDERS alongside google_flights.
Adds engine-specific interactive UI for google_shopping via the
search_dashboard tool. When engine=google_shopping, the dashboard
auto-dispatches to a dedicated shopping view featuring:

- Metrics row: products found, price range, items on sale, avg rating
- Horizontal BarChart: top 10 cheapest sellers for price comparison
- Sortable products table (product, seller, price, was-price, discount, rating, reviews)
- Click-to-expand detail card with discount badge, old price, snippet, Google Shopping link

Registers google_shopping in ENGINE_APP_BUILDERS alongside flights and jobs.
@adarshdigievo

Copy link
Copy Markdown
Member

@vm-serpapi, can you check the currency handling for Google Shopping as well as Google flights endpoints? I tried localized searches for India, but the MCP app shows $ as the currency instead of INR (₹)
Params used for reference:

{
  "params": {
    "engine": "google_flights",
    "departure_id": "COK",
    "arrival_id": "DXB",
    "outbound_date": "2026-07-15",
    "return_date": "2026-07-22",
    "type": 1,
    "adults": 1,
    "currency": "INR",
    "hl": "en",
    "gl": "in"
  },
  "mode": "compact"
}
{
  "params": {
    "engine": "google_shopping",
    "q": "wireless headphones",
    "location": "India",
    "hl": "en",
    "gl": "in",
    "num": 20
  },
  "mode": "compact"
}
image

@vm-serpapi
vm-serpapi requested a review from adarshdigievo June 22, 2026 09:41
Previously both dashboards hardcoded $ for price formatting. Now:

- Flights: reads search_parameters.currency (e.g. "INR") and maps to
  the correct symbol (₹) via a lookup table. Falls back to USD/$
  when not specified.
- Shopping: extracts the currency prefix from the first result's price
  string (e.g. "₹6,999" → "₹") since shopping doesn't return a
  currency code in search_parameters.

Adds _currency_symbol(), _fmt_price(), _extract_currency_prefix()
helpers shared across engine builders.

@adarshdigievo adarshdigievo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google Jobs and Shopping work well when tested with the MCP inspector. Also, currencies now show correctly for shopping and flight prices.

@vm-serpapi
vm-serpapi merged commit 875974b into main Jun 23, 2026
2 checks passed
@vm-serpapi
vm-serpapi deleted the feat/mcp-app-jobs branch June 23, 2026 18:09
louzt pushed a commit to louzt/serpapi-mcp that referenced this pull request Jul 27, 2026
…pi#52)

* feat: add Google Jobs explorer dashboard (MCP App)

Adds engine-specific interactive UI for google_jobs via the search_dashboard
tool. When engine=google_jobs, the dashboard auto-dispatches to a dedicated
jobs view featuring:

- Metrics row: jobs found, with salary (%), remote (%), query
- Schedule type PieChart (Full-time vs Contract vs Part-time breakdown)
- Sortable jobs table (title, company, location, salary, type, posted, benefits)
- Click-to-expand detail card with salary/schedule/remote badges, description
  snippet, and link to full listing

Registers google_jobs in ENGINE_APP_BUILDERS alongside google_flights.

* feat: add Google Shopping price comparison dashboard (MCP App)

Adds engine-specific interactive UI for google_shopping via the
search_dashboard tool. When engine=google_shopping, the dashboard
auto-dispatches to a dedicated shopping view featuring:

- Metrics row: products found, price range, items on sale, avg rating
- Horizontal BarChart: top 10 cheapest sellers for price comparison
- Sortable products table (product, seller, price, was-price, discount, rating, reviews)
- Click-to-expand detail card with discount badge, old price, snippet, Google Shopping link

Registers google_shopping in ENGINE_APP_BUILDERS alongside flights and jobs.

* fix: use dynamic currency symbols in flights and shopping dashboards

Previously both dashboards hardcoded $ for price formatting. Now:

- Flights: reads search_parameters.currency (e.g. "INR") and maps to
  the correct symbol (₹) via a lookup table. Falls back to USD/$
  when not specified.
- Shopping: extracts the currency prefix from the first result's price
  string (e.g. "₹6,999" → "₹") since shopping doesn't return a
  currency code in search_parameters.

Adds _currency_symbol(), _fmt_price(), _extract_currency_prefix()
helpers shared across engine builders.

* ci: retrigger checks

---------

Co-authored-by: Vlad M <vlad@serpapi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants