3 comments

[ 4.1 ms ] story [ 17.5 ms ] thread
I used Serp via API many moons ago. The most interesting part of the company imo is their legal defense of different plans:

  Production - $150
  15,000 searches / month
  U.S. Legal Shield
ie. "Our U.S. Legal Shield protects your right to crawl and parse public search engine data under the First Amendment. We assume scraping and parsing liability for customers on most recurring plans unless your usage is illegal."

I imagine at least some portion of companies use them just for this liability shield.

Embedding the API key (secret) in the URL complicates secret management. Please move that to a header and allow setting via env var.
Hi, thanks for the feedback. We actually already support `Bearer: Authorization <token>` auth scheme. It is accessible on https://mcp.serpapi.com/mcp path.

I would say the /apiKey/mcp integration path is more tailored for manual Claude Desktop / VS Code users where it might be easier, than trying to insert headers somehow.

Regarding the environment variables, the MCP is stateless so the secret management is handled on the client and obviously it could be set via env vars.