Open source

mcp-search: web search and page reading for AI assistants

An MCP server that lets Claude and other AI tools search the web through Brave and read pages that block bots, as clean markdown instead of menus and cookie banners.

Technologies Used:

TypeScriptMCPBrave Search APIBrightData

Why I built it

The built-in fetch tools of AI coding assistants kept failing on exactly the pages I needed: vendor docs behind Cloudflare, CVE pages, control-panel knowledge bases. When they did work they returned menus, cookie banners and “related articles” instead of the content.

What it does differently

It reads what a human reads. Pages come through BrightData Web Unlocker and get stripped of navigation, headers, footers, sidebars, sign-up forms and comment widgets. Tables stay tables, code blocks stay exact.

It asks for less. find="--some-flag" returns only the paragraphs that mention it. section="Configuration" returns whole sections, outline=true only the headings. One fetch, then several cheap lookups against a 15-minute snapshot.

It shares one key without tripping the limits. Every Claude Code session starts its own copy of the server and the remote connector runs next to them. The Brave free plan allows 1 request per second and 2,000 a month, so the count lives in a lock-guarded state file that all of them use, synced with Brave’s rate-limit headers. Every search result says how many are left this month.

I use it every day: it is the search tool behind my own Claude setup, locally and as a custom connector on claude.ai. Version 1.3, MIT licensed.

Key Features

  • web_search through the Brave Search API
  • web_fetch and web_bulk_fetch through BrightData Web Unlocker, converted to markdown
  • find, section and outline: pull one flag or one section instead of a 200k-character page
  • One Brave key shared safely by every local session and the remote connector
  • SSRF guard when it runs as a public HTTP connector

Related Projects

Do you like this project?

Let's discuss how we can create a similar solution for your business.

Get Your Free Consultation

Or call me directly: +359 896 86 3508