jmclark-lab plugs Mike into live web search and aims it at LATAM medtech

This fork now answers with fresh results pulled from the open web, and its author is quietly retargeting it from general legal AI to Latin American medical-device regulation.

searchcompliance

jmclark-lab has wired the chatbot into live Google results (via SerpApi, a service that returns search results to software). Before the model answers, the fork runs a quick web search on your question and feeds the top few results, timestamped and cited, into the assistant's context. If the search key is missing or the lookup fails, it quietly skips the step rather than breaking the chat.

The telling detail sits in an early version: searches were originally triggered only for questions touching Latin American medical-device regulators and clearance pathways. That gate has since been removed, so every message now fires a search. Practically, that means a little added latency and cost on each query, and every message you send, including anything you paste in, gets shipped to a third-party search provider.

So what Worth a look if you want AI answers grounded in current sources, but if confidentiality matters, note that this build sends every query out to an external service.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

5 commits from jmclark-lab/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
181702db feat: add SerpApi real-time web search for regulatory queries Julio G. Martinez-Clark 2026-06-30 ↗ GitHub
commit body
This file integrates SerpApi for web search functionality, enabling real-time context for regulatory pathway validation and device classification. It includes methods for checking API key availability, performing searches, and formatting results.
84399b45 Integrate real-time web search context in chat completions Julio G. Martinez-Clark 2026-06-30 ↗ GitHub
Enhanced streamChatWithTools to include real-time regulatory search context when SERPAPI_KEY is set. This allows Fugu to access current regulatory information during chat completions.
be665b77 Update .env.example with SerpApi instructions Julio G. Martinez-Clark 2026-06-30 ↗ GitHub
Added comments for SerpApi configuration and usage.
b2630dc0 refactor: enable web search for all queries, not only regulatory keywords Julio G. Martinez-Clark 2026-06-30 ↗ GitHub
a28adbb3 Merge pull request #2 from jmclark-lab/feature/serp-web-search Julio G. Martinez-Clark 2026-06-30 ↗ GitHub
feat: SerpApi real-time web search for regulatory queries

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-683.md from inside the repo you want the changes in.

⬇ Download capture-thread-683.md