> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sacra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# search - MCP

> Full-text search across Sacra documents and company profiles

Searches Sacra documents and company profiles. Results include documents private to your organization unless you set `show_private_docs` to `false`. Keep queries to one or two words, such as a company name or a topic.

> [!NOTE]
>
> Calls [`POST /api/v1/search/`](https://docs.sacra.com/api-reference/documents/search) with your credential and returns its JSON response as text.

## Parameters

**search\_query** `string` *required*

Text to search for.

**limit** `integer` (default: 10)

Maximum results to return. Max 50.

**offset** `integer` (default: 0)

Number of results to skip, for pagination.

**date\_gte** `string`

Inclusive lower bound for result dates, as an ISO date or datetime, such as `2024-09-10`.

**date\_lte** `string`

Inclusive upper bound for result dates, as an ISO date or datetime.

**show\_private\_docs** `boolean` (default: true)

Set to `false` to search only Sacra's global documents.

## Response

**query** `string`

The search text.

**total\_results** `integer`

Total matches.

**limit** `integer`

Results requested.

**offset** `integer`

Results skipped.

**results** `object[]`

Matching documents and companies.

**properties**

**id** `string`

Document or company slug. Pass a document slug to `get_document_content`.

**title** `string`

Result title.

**text** `string`

Matching excerpt.

**url** `string`

Link to the result on sacra.com.

**type** `string`

Result type, such as `document`, `company`, `interview`, or `category`.

**date** `string | null`

Result date.

**is\_org\_private** `boolean`

Whether the document is private to your organization.

```json tools/call theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search",
    "arguments": {
      "search_query": "stablecoins",
      "limit": 5
    }
  }
}
```

```json Result theme={null}
{
  "query": "stablecoins",
  "total_results": 42,
  "limit": 5,
  "offset": 0,
  "results": [
    {
      "id": "example-document-slug",
      "title": "Example report title",
      "text": "Excerpt that matches the query...",
      "url": "https://sacra.com/research/example-document-slug/",
      "type": "document",
      "date": "2026-10-01T00:00:00-04:00",
      "is_org_private": false
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.