29 Days Until Google Custom Search Shuts Down: Free Repo Scanner and Drop In Replacement SpecStream AI open-sourced an MIT-licensed Claude Code skill and standalone Python scanner that finds Google Custom Search JSON API call sites in a repository, estimates migration cost, and patches them to point at SpecStream's drop-in customsearch/v1 endpoint. The tool rewrites raw URLs, googleapiclient build() calls, and Node googleapis clients, and flags LangChain and SerpApi usages, running as a dry run by default with --apply, --json, and --serpapi options. The release comes ahead of Google's January 1, 2027 shutdown of the API for existing customers, with SpecStream pricing fast search at $1 per 1,000 queries versus Google's $5. Google ends the Custom Search JSON API for existing customers on January 1, 2027 . That is 29 days from today. Every customsearch/v1 call left in your code stops answering that morning. We open sourced a Claude Code skill that finds those calls for you, prices the move, and patches each one to an endpoint that answers the same request in Google's own JSON. It is MIT licensed: Specstreamai/open-cse-migration-skill https://github.com/Specstreamai/open-cse-migration-skill . In Claude Code: /plugin marketplace add Specstreamai/open-cse-migration-skill /plugin install open-cse-migration@specstream Then ask: "migrate this repo off Google Custom Search". Or type /open-cse-migration:open-cse-migration . No agent? Clone the repo and run the scanner directly. It needs Python 3.8 or newer and nothing else: git clone https://github.com/Specstreamai/open-cse-migration-skill python3 open-cse-migration-skill/scripts/cse audit.py /path/to/your/repo --monthly-queries 250000 scripts/cse audit.py walks your repo and flags every way teams call Custom Search: | Call | What the patch does | |---|---| | www.googleapis.com/customsearch/v1 and customsearch.googleapis.com/customsearch/v1 and /siterestrict in any file | Rewrites the host to api.specstream.ai | | Python googleapiclient build "customsearch", "v1", ... | Adds client options={"api endpoint": "https://api.specstream.ai"} | | Node googleapis customsearch "v1" and cse.list ... | Prints the one line change rootUrl | | LangChain GoogleSearchAPIWrapper and GoogleSearchRun | Prints the swap to SearxSearchWrapper on the same key | | SerpApi clients and serpapi.com/search URLs | Prints the client setting; rewrites only with --serpapi | The default run is a dry run. It prints a report and a unified diff and writes nothing: bash $ python3 scripts/cse audit.py . --monthly-queries 250000 Google ends the Custom Search JSON API on 2027-01-01 29 days left . Found 2 Google Custom Search call sites and 0 SerpApi call sites in 1 file; 1 file can be patched automatically. --- a/search.py +++ b/search.py -URL = 'https://www.googleapis.com/customsearch/v1' +URL = 'https://api.specstream.ai/customsearch/v1' -s = build 'customsearch', 'v1', developerKey=KEY +s = build 'customsearch', 'v1', developerKey=KEY, client options={"api endpoint": "https://api.specstream.ai"} Cost at 250,000 searches a month: Google $1,250.00, SpecStream $250.00 fast tier, $1 per 1,000 . You save $1,000.00 a month. --apply writes the patch. build calls are patched in .py files only, so notebooks and config files keep valid syntax. --json prints the report for CI, so you can fail a build while any Google call remains. The patched calls go to SpecStream's customsearch/v1 drop in route. It returns items with title , link , snippet and displayLink , plus searchInformation and queries.nextPage . Image search works with searchType=image . Your parser does not change. | | Google Custom Search JSON API | SpecStream fast search | |---|---|---| | Price | $5 per 1,000 after 100 free a day | $1 per 1,000 | | Daily cap | 10,000 queries | None | | After January 1, 2027 | Closed to existing customers | Live | | Response format | Google JSON | The same Google JSON | SpecStream's Search API ranks first on WideSearch and scores 99 on SimpleQA Verified , with a median of 937 ms over 6,548 live calls in the week to December 1, 2026. Scores and method are on the benchmarks page https://specstream.ai/benchmarks . A new account gets $2 of credit with no card , which is 2,000 fast searches. That is enough to run your whole test suite against the new endpoint before you merge. Paste one of your own Custom Search URLs into the Google CSE migrator https://specstream.ai/tools/google-cse-migrator . It runs the same request against both endpoints and shows the results side by side. For the full picture what breaks, the timeline that works, and the change for each stack read How to replace Google Custom Search before 2027 https://specstream.ai/answers/replace-google-custom-search-before-2027 . --apply , review the diff, and ship behind a flag. cse audit.py --json to CI so no new Google call lands before January 1. The skill, the scanner and its tests are on GitHub: open-cse-migration-skill https://github.com/Specstreamai/open-cse-migration-skill . Stars and issues are welcome.