Skip to content

feat: add scrape_bing (0.7.0) (ENG-1220) - #11

Merged
rbatista191 merged 2 commits into
mainfrom
feature/eng-1220-bing-search
Nov 22, 2026
Merged

rbatista191 merged 2 commits into
mainfrom
feature/eng-1220-bing-search

Conversation

@rbatista191

Copy link
Copy Markdown
Contributor

Summary

Add scrape_bing for POST /v1/monitor/bing (ENG-1220). It returns the Bing organic results and, with include.aioverview, Bing's AI Overview, in the same shapes as scrape_google. Version 0.6.0 to 0.7.0. CI releases on merge.

Changes

  • New scrape_bing tool and bing.schema.ts, copied from the backend.
  • list_countries accepts bing.
  • Country fix for Bing AI Mode: bing-aimode.schema.ts is copied again from the backend. Bing AI Mode and Bing Search block CN, KR and RU, as in production. The old list (BY, CN, IR, RU, SY, VE) was stale.
  • The server instructions name Bing Search.
  • CI smoke test expects 10 tools.
  • README, package.json, server.json and .cursor-plugin/plugin.json descriptions name Bing Search. plugin.json has the new keyword bing-search.

Checks

  • npx tsc --noEmit: pass.
  • npx vitest run: 104/104 pass. New tests: the tool fields, the forward to /v1/monitor/bing, a blocked country (KR) refused before the request, model=bing, and the instructions.
  • npm run build: pass.
  • The stdio handshake from the CI smoke test, run by hand: 10 tools.

Checks not run

  • No live call to the API.

Merge order

Step 4 of the ENG-1220 rollout. Merge after the hosted scrape_bing (cloro-dev/backend MCP PR) and the docs page /docs/api-reference/endpoint/monitor-bing are live. The README links to that page.

After release

Proposed repo description: add "Bing Search" where the description lists Google Search and Google News.

https://claude.ai/code/session_01Vi9vyg6uVJVBT2qvUFeKeq

Add scrape_bing. It calls POST /v1/monitor/bing (ENG-1220) and returns
the Bing organic results and, with include.aioverview, Bing's AI Overview.
The fields have the same shapes as scrape_google.

- bing.schema.ts: copied from the backend. Bing Search serves the same
  countries as Bing AI Mode.
- bing-aimode.schema.ts: copied from the backend. Bing AI Mode now blocks
  CN, KR and RU, as in production. The old list (BY, CN, IR, RU, SY, VE)
  was stale.
- list_countries accepts model=bing.
- server.ts: the instructions name Bing Search.
- Tests: the tool fields, the forward to /v1/monitor/bing, a blocked
  country, model=bing and the instructions.
- CI smoke test expects 10 tools.
- README, package.json, server.json and plugin.json descriptions name
  Bing Search.
- Version 0.6.0 to 0.7.0.

Claude-Session: https://claude.ai/code/session_01Vi9vyg6uVJVBT2qvUFeKeq
The Bing Search API takes `pages` and `first` since 2026-11-22. The tool description said that it has no pages.

Claude-Session: https://claude.ai/code/session_01Vi9vyg6uVJVBT2qvUFeKeq
@rbatista191
rbatista191 merged commit 3da9e5e into main Nov 22, 2026
2 checks passed
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.

1 participant