DEV Community

Cover image for Give Your AI Agent Web Search Without an API Key: A Three-Line MCP Setup
flisk
flisk

Posted on

Give Your AI Agent Web Search Without an API Key: A Three-Line MCP Setup

Disclosure first: I build flisk search, the service used here.

Agents need to look things up. Google's results page needs JavaScript and challenges bots, so a plain request from your agent often gets nothing useful.

Option 1: MCP

Add the server to your MCP client config:

{ "mcpServers": { "flisk-search": { "url": "https://search.flisk.si/mcp" } } }
Enter fullscreen mode Exit fullscreen mode

Four read-only tools: web search, place search, reverse geocode, place details. No key, no sign-in.

Option 2: plain JSON

curl -s "https://search.flisk.si/api/search?q=mcp+servers" \
  | jq '.web[] | {title, url, source}'
Enter fullscreen mode Exit fullscreen mode

Each web result has title, url, snippet and the source it came from.

Prompt tip

Tell the agent to cite the url of every result it uses and to say when results came back empty. Empty cold results do happen.

Limits

  • No index of its own, so quality follows its sources.
  • Cold queries ~2 s, warm ~0.1 to 0.2 s: cache answers.
  • Be polite: about one request per second, and a real User-Agent.
  • Read-only: it searches, it does not browse or fetch full pages.

Try it: https://search.flisk.si

Top comments (0)