Skip to main content
Glama
Brave Search MCP Server

Brave Search MCP Server

Official
by brave

brave_local_search

brave_local_search
Read-onlyIdempotent

Searches local businesses and places for 'near me' or location-specific queries. Returns addresses, ratings, phone numbers, and hours, with fallback to web search when no local results appear.

Instructions

Brave Local Search API provides enrichments for location search results. Access to this API is available only through the Brave Search API Pro plans; confirm the user's plan before using this tool (if the user does not have a Pro plan, use the brave_web_search tool). Searches for local businesses and places using Brave's Local Search API. Best for queries related to physical locations, businesses, restaurants, services, etc.

Returns detailed information including:
    - Business names and addresses
    - Ratings and review counts
    - Phone numbers and opening hours

Use this when the query implies 'near me', 'in my area', or mentions specific locations (e.g., 'in San Francisco'). This tool automatically falls back to brave_web_search if no local results are found.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "brave_local_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of results (1-20, default 10). Applies only to web search results (i.e., has no effect on locations, news, videos, etc.)
queryYesSearch query (max 400 chars, 50 words)
unitsNoThe measurement units. If not provided, units are derived from search country.
offsetNoPagination offset (max 9, default 0)
countryNoSearch query country, where the results come from. The country string is limited to 2 character country codes of supported countries.US
gogglesNoGoggles act as a custom re-ranking on top of Brave's search index. The parameter supports both a url where the Goggle is hosted or the definition of the Goggle. Multiple goggle URLs and/or definitions can be provided in an array. For more details, refer to the Goggles repository (i.e., https://github.com/brave/goggles-quickstart).
summaryNoEnables summary key generation in web search results for the deprecated brave_summarizer workflow. New integrations should use brave_answers directly instead of summary: true + brave_summarizer.
ui_langNoThe language of the UI. The 2 or more character language code for which the search results are provided.en-US
freshnessNoFilters search results by when they were discovered. The following values are supported: 'pd' - Discovered within the last 24 hours. 'pw' - Discovered within the last 7 days. 'pm' - Discovered within the last 31 days. 'py' - Discovered within the last 365 days. 'YYYY-MM-DDtoYYYY-MM-DD' - Timeframe is also supported by specifying the date range e.g. 2022-04-01to2022-07-30.
safesearchNoFilters search results for adult content. The following values are supported: 'off' - No filtering. 'moderate' - Filters explicit content (e.g., images and videos), but allows adult domains in search results. 'strict' - Drops all adult content from search results. The default value is 'moderate'.moderate
spellcheckNoWhether to spellcheck the provided query.
search_langNoSearch language preference. The 2 or more character language code for which the search results are provided.en
result_filterNoResult filter (default ['web', 'query'])
extra_snippetsNoA snippet is an excerpt from a page you get as a result of the query, and extra_snippets allow you to get up to 5 additional, alternative excerpts. Only available under Free AI, Base AI, Pro AI, Base Data, Pro Data and Custom plans.
text_decorationsNoWhether display strings (e.g. result snippets) should include decoration markers (e.g. highlighting characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.5
    • changedInput schema / properties / search_lang / enum
      Previous value: -[
      -  "ar",
      -  "eu",
      -  "bn",
      -  "bg",
      -  "ca",
      -  "zh-hans",
      -  "zh-hant",
      -  "hr",
      -  "cs",
      -  "da",
      -  "nl",
      -  "en",
      -  "en-gb",
      -  "et",
      -  "fi",
      -  "fr",
      -  "gl",
      -  "de",
      -  "gu",
      -  "he",
      -  "hi",
      -  "hu",
      -  "is",
      -  "it",
      -  "jp",
      -  "kn",
      -  "ko",
      -  "lv",
      -  "lt",
      -  "ms",
      -  "ml",
      -  "mr",
      -  "nb",
      -  "pl",
      -  "pt-br",
      -  "pt-pt",
      -  "pa",
      -  "ro",
      -  "ru",
      -  "sr",
      -  "sk",
      -  "sl",
      -  "es",
      -  "sv",
      -  "ta",
      -  "te",
      -  "th",
      -  "tr",
      -  "uk",
      -  "vi"
      -]New value: +[
      +  "ar",
      +  "eu",
      +  "bn",
      +  "bg",
      +  "ca",
      +  "zh-hans",
      +  "zh-hant",
      +  "hr",
      +  "cs",
      +  "da",
      +  "nl",
      +  "en",
      +  "en-gb",
      +  "et",
      +  "fi",
      +  "fr",
      +  "gl",
      +  "de",
      +  "el",
      +  "gu",
      +  "he",
      +  "hi",
      +  "hu",
      +  "is",
      +  "it",
      +  "ja",
      +  "jp",
      +  "kn",
      +  "ko",
      +  "lv",
      +  "lt",
      +  "ms",
      +  "ml",
      +  "mr",
      +  "nb",
      +  "pl",
      +  "pt-br",
      +  "pt-pt",
      +  "pa",
      +  "ro",
      +  "ru",
      +  "sr",
      +  "sk",
      +  "sl",
      +  "es",
      +  "sv",
      +  "ta",
      +  "te",
      +  "th",
      +  "tr",
      +  "uk",
      +  "vi"
      +]
    • changedInput schema / properties / summary / description
      Previous value: -"This parameter enables summary key generation in web search results. This is required for summarizer to be enabled."New value: +"Enables summary key generation in web search results for the deprecated brave_summarizer workflow. New integrations should use brave_answers directly instead of summary: true + brave_summarizer."
  2. Changed1 schema field changedv2.1.3
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed11 schema fields changedv2.0.66
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / freshness / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "pd",
      +      "pw",
      +      "pm",
      +      "py"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "pattern": "^\\d{4}-\\d{2}-\\d{2}to\\d{4}-\\d{2}-\\d{2}$",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / freshness / enum
      Removed value: -[
      -  "pd",
      -  "pw",
      -  "pm",
      -  "py",
      -  "YYYY-MM-DDtoYYYY-MM-DD"
      -]
    • removedInput schema / properties / freshness / type
      Removed value: -"string"
    • addedInput schema / properties / goggles / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / goggles / description
      Previous value: -"Goggles act as a custom re-ranking on top of Brave's search index. The parameter supports both a url where the Goggle is hosted or the definition of the Goggle. For more details, refer to the Goggles repository (i.e., https://github.com/brave/goggles-quickstart)."New value: +"Goggles act as a custom re-ranking on top of Brave's search index. The parameter supports both a url where the Goggle is hosted or the definition of the Goggle. Multiple goggle URLs and/or definitions can be provided in an array. For more details, refer to the Goggles repository (i.e., https://github.com/brave/goggles-quickstart)."
    • removedInput schema / properties / goggles / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / goggles / type
      Removed value: -"array"
    • addedInput schema / properties / units / anyOf
      Added value: +[
      +  {
      +    "const": "metric",
      +    "type": "string"
      +  },
      +  {
      +    "const": "imperial",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / units / enum
      Removed value: -[
      -  "metric",
      -  "imperial"
      -]
    • removedInput schema / properties / units / type
      Removed value: -"string"
  4. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description still adds real value beyond them: the plan-based access gate, the disclosed return contents (names, addresses, ratings, review counts, phone numbers, hours), and the silent fallback to brave_web_search — the last being a behavior an agent could otherwise misread as 'no results found'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical constraint (Pro plan required) is front-loaded and the query-shape guidance is explicit. There is mild redundancy between 'Best for queries related to physical locations, businesses, restaurants, services' and the later 'Use this when the query implies near me / mentions specific locations', and the bulleted return list is somewhat padded for a search tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter, mutation-free search tool with full schema coverage and no output schema, the description covers purpose, eligibility, trigger conditions, return contents and fallback behavior — everything an agent needs to invoke it correctly. The only omission is that the return-shape explanation is prose rather than structured, but that is acceptable given the annotation richness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% across all 15 parameters, so the schema itself documents freshness, country, ui_lang, result_filter, offset and the rest. The description adds nothing parameter-specific — notably it never notes that locations are unaffected by count/offset semantics or that country drives unit selection — so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Searches for local businesses and places using Brave's Local Search API') and characterizes the query class it serves (physical locations, restaurants, services, 'near me'). It also implicitly separates itself from brave_web_search by declaring the latter as the fallback target, so an agent can pick between the two without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit precondition (Pro plan required, otherwise use brave_web_search), an explicit trigger condition (queries implying 'near me', 'in my area', or a named location), and an explicit failure behavior (automatic fallback to brave_web_search when no local results exist). That is a rare, complete when/when-not/alternative statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.