MCP
MCP search tool
Search the web with Yep and get ranked results.
The tool takes the same arguments as the body of a REST search request and returns the same response: POST /api/v1/search
At a glance
| Name | Value |
|---|---|
| Tool | search |
| OAuth scopes | search:read |
| Billing | Billed as one search when the call completes. |
| Behavior | Read-only, non-destructive, and idempotent. |
Try it
Ask your agent: Search the web with Yep for the latest news about carbon border taxes, and list five sources.
Example call
The agent sends the call as a JSON-RPC tools/call request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search",
"arguments": {
"query": "carbon border tax 2026",
"limit": 5
}
}
} A successful call returns the response in structuredContent. Its required fields have this shape:
{
"request_id": "string",
"duration_ms": 0,
"select": [
"url"
],
"results": [
{
"rank": 0,
"fields": {}
}
]
} Input
querystringRequiredThe search text.
Minimum length1
Maximum length512
limitinteger | nullOptionalThe maximum number of results. The default is 20.
Minimum1
Maximum50
langstring | nullOptionalA two-letter lowercase language code that results must match.
Pattern^[a-z]{2}$
rankingSearchRanking | nullOptionalWhat the ranking favors. The default is balanced.
Allowedprecisionbalancedauthoritycontent_gap
selectSearchResultField[]OptionalThe fields each result returns.
Default["url","title","description","language"]
Minimum items1
filterstring | nullOptionalAn expression in the filter language that every result must satisfy.
Minimum length1
Maximum length65536
max_results_per_domaininteger | nullOptionalThe maximum number of results from one registrable domain.
Minimum1
Maximum10
The filter language and every field a result can return: Filters and fields
Output
request_idstringRequiredThe reference of the request, to quote when contacting support.
duration_msintegerRequiredThe time taken to answer, in milliseconds.
Minimum0
selectSearchResultField[]RequiredThe fields each result returns, after the default is applied.
resultsProjectedPageResult[]RequiredThe results, best first.
Tool errors
A failed call sets isError and returns a structured error: Tool errors