brave_local_search falls back to brave_web_search when no local results are found, so a local query can come back with web results.
Two tools and one key: the smallest thing that puts current web results in front of a model. Pagination and freshness filtering are on the web tool only.
What it is
A search server over the Brave Search API with two modes. Web search handles general queries, news and articles with pagination and freshness controls. Local search looks up businesses, restaurants and services, and falls back to web search when it finds no local results.
What you get
- Web search with a result count of up to 20 per page and a pagination offset of up to 9
- Local search for businesses and services, returning detailed information
- Filtering over result types, safety levels and content freshness
Requirements
A Brave Search API account, signed up at brave.com/search/api, with a plan chosen; the free tier is 2,000 queries per month. The API key is generated from the developer dashboard and supplied as the BRAVE_API_KEY environment variable.
Setup effort
One command plus a key — npx -y @modelcontextprotocol/server-brave-search, then supply credentials
