x-loc-state
(string, optional): Client state or region code
How to use it
x-loc-state is exposed by the Brave Search MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the x-loc-state tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Brave Search MCP Server
npx @modelcontextprotocol/inspector node dist/index.jsOther tools in Brave Search MCP Server (39)
(string, optional): Response media type (application/json or /)
(string, optional): Brave API version (YYYY-MM-DD)
(string, optional): Use no-cache to request fresh content
(string, optional): Threshold mode ("disabled", "strict", "lenient", "balanced")
(number, optional): Results per page (1-20, default: 10)
(string, optional): Country code (default: "US")
(boolean, optional): Enable local recall
(boolean, optional): Include source metadata enrichment
(boolean, optional): Include entity information (default: false)
(boolean, optional): Get additional excerpts (Pro plans only)
(string, optional): Time filter ("pd", "pw", "pm", "py", or date range)
(string, optional): Optional geolocation token used to refine results.
(array, optional): Custom re-ranking definitions
(boolean, optional): Add source URL references (default: false)
(string, required): Summary key from web search results (use summary: true in web search)
(number, optional): Latitude of the search center (-90 to 90). Typically paired with longitude.
(string, optional): Location string used as an alternative to latitude/longitude. For US locations prefer the form <city> <state> <country name> (e.g., san francisco ca united states); for non-US locations use <city> <country name> (e.g., tokyo japan).
(number, optional): Longitude of the search center (-180 to 180). Typically paired with latitude.
(number, optional): Maximum number of snippets to include (1-256)
(number, optional): Maximum snippets per URL (1-100)
(number, optional): Approximate maximum number of context tokens (1024-32768)
(number, optional): Maximum tokens per URL (512-8192)
(number, optional): Maximum number of URLs to include (1-50)
(number, optional): Pagination offset (max 9, default: 0)
(string, required): Search terms (max 400 chars, 50 words)
(number, optional): Search radius around the supplied coordinates, in meters. If omitted, the search is performed globally.
(array, optional): Filter result types (default: ["web", "query"])
(string, optional): Content filtering ("off", "moderate", "strict", default: "moderate")
(string, optional): Search language (default: "en")
(boolean, optional): Enable spell checking (default: true)
(boolean, optional): Enable summary key generation for AI summarization
(boolean, optional): Include highlighting markers (default: true)
(string, optional): UI language (default: "en-US")
(string, optional): Measurement units ("metric" or "imperial")
(string, optional): User agent originating the request
(string, optional): Client city name
(number, optional): Client latitude (-90 to 90)
(number, optional): Client longitude (-180 to 180)
(string, optional): Client state or region name