# Quick Start

{% stepper %}
{% step %}

### Before you begin, please ensure that you meet the following requirements:&#x20;

<table data-view="cards"><thead><tr><th></th><th data-type="image"></th><th></th></tr></thead><tbody><tr><td><a href="https://dashboard.talordata.com/reg"><strong>Talordata Account</strong></a></td><td></td><td>Register an account to get 1,000 free SERP API requests.</td></tr><tr><td><a href="https://dashboard.talordata.com/scraping/serp-api/api-token"><strong>Talordata API Token</strong></a><a href="https://dashboard.talordata.com/scraping/serp-api/api-token"> </a></td><td></td><td>Get your API key from the SERP API dashboard.</td></tr></tbody></table>

{% endstep %}

{% step %}

### Use the following endpoint to connect to a remote MCP server.

```
{
  "mcpServers": {
    "talordata": {
      "type": "http",
      "url": "https://mcp.talordata.net/YOUR_API_TOKEN/mcp"
    }
  }
}
```

{% endstep %}
{% endstepper %}

### Authentication

Supports three methods:

1. **Path-based (Recommended):** <kbd><mark style="color:red;">/{YOUR\_API\_TOKEN}/mcp<mark style="color:red;"></kbd>
2. **Authorization Header:** <kbd><mark style="color:red;">Authorization: Bearer YOUR\_API\_TOKEN<mark style="color:red;"></kbd>&#x20;
3. **Custom Headers:** <kbd><mark style="color:red;">X-Talor-Serp-Token: YOUR\_API\_TOKEN<mark style="color:red;"></kbd>

> Example:

#### **Path-based**

```
curl "https://mcp.talordata.net/your_token/mcp" -d '...'
```

#### Authorization Header

```
curl "https://mcp.talordata.net/mcp" -H "Authorization: Bearer your_token" -d '...'
```

#### **Custom Headers**

```
curl "https://mcp.talordata.net/mcp" -H "X-Talor-Serp-Token: your_token" -d '...'
```

{% hint style="info" %}
Note: The GET / and GET /healthz endpoints do not require authentication.
{% endhint %}

### Tools

#### **1.list\_engines**&#x20;

Lists all supported search engines, categories, and resource URIs.\
Parameters: None

Example: <kbd>{"name": "list\_engines"}</kbd>

#### **2.search**&#x20;

Execute a SERP search request. Consult the resources located under `talor://engines` to review the specific parameters for each engine before invoking this tool.

Parameters:

<kbd>engine</kbd> (Optional): Engine identifier, e.g., google, google\_images, bing\_images, duckduckgo.

If not provided, use the `engine` field in `params` or the default engine.

<kbd>params</kbd> (Required): An engine-specific parameter object; it must match the Schema resource definition of the corresponding engine.

<kbd>json</kbd> (Optional): Upstream response format. json->1, json\_html->2, html->3.

<kbd>response\_mode</kbd> (Optional): complete returns a complete response, compact removes common metadata fields. Default: complete

Supported Search Engines (33 total):

<details>

<summary>Google (25)</summary>

Search, Finance, Finance Markets, Flights, Hotels, Images, Jobs, Lens, Local, Maps, News, Patents, Patents Details, Play Search, Play Books, Play Games, Play Movies, Play Product, Scholar, Scholar Author, Scholar Cite, Shopping, Trends, Videos, Web&#x20;

</details>

<details>

<summary>Bing (6)</summary>

Search, Images, Maps, News, Shopping, Videos&#x20;

</details>

<details>

<summary>Yandex (1)</summary>

Search&#x20;

</details>

<details>

<summary>DuckDuckGo (1)</summary>

Search

</details>

> Example:

```
{"name": "search", "arguments": {"engine": "google", "params": {"q": "coffee shops", "location": "Austin, TX"}}} 
{"name": "search", "arguments": {"engine": "google", "params": {"q": "weather in London"}}} 
{"name": "search", "arguments": {"engine": "google", "params": {"q": "AAPL stock"}}} 
{"name": "search", "arguments": {"engine": "duckduckgo", "params": {"q": "car"}}} 
{"name": "search", "arguments": {"engine": "bing", "params": {"q": "latest news"}, "response_mode": "compact"}}
```

Result Types: Answer Box, Organic Results, News, Images, Shopping, Knowledge Cards—automatically detected and formatted by upstream APIs.

#### **3.history**&#x20;

Query SERP usage history.\
Parameters:

<kbd>page</kbd> (Optional): Page number, default 1

<kbd>page\_size</kbd> (Optional): Page Size (Common values: 20, 50, 100)

<kbd>search\_query</kbd>(Optional): Filter by Search Keywords

<kbd>search\_engine</kbd> (Optional): Filter by Search Engine Display Name&#x20;

<kbd>status</kbd> (Optional): Status Filter. Possible values: all, success, error

<kbd>start\_time</kbd> (Optional): Start Time (Unix Timestamp, seconds)

<kbd>end\_time</kbd> (Optional): End Time (Unix Timestamp, seconds)&#x20;

<kbd>timezone</kbd> (Optional): Time zone, e.g., Asia/Shanghai or +08:00

> Example:&#x20;

```
{"name": "history", "arguments": {"page": 1, "page_size": 20}} 
{"name": "history", "arguments": {"search_query": "coffee", "status": "success"}} 
{"name": "history", "arguments": {"start_time": 1700000000, "end_time": 1700100000, "timezone": "Asia/Shanghai"}}
```

#### **4.statistics**&#x20;

Query SERP usage statistics.\
Parameters:

<kbd>start\_date</kbd> (Required): Start Date (YYYY-MM-DD format)

<kbd>end\_date</kbd> (Required): End date, format YYYY-MM-DD

<kbd>engines</kbd> (Optional): Engine filter; a comma-separated string or an array of strings.

<kbd>timezone</kbd> (Optional): Time zone offset, e.g., +00:00, +08:00, -05:00

> Example:

```
{"name": "statistics", "arguments": {"start_date": "2025-01-01", "end_date": "2025-01-31"}} 
{"name": "statistics", "arguments": {"start_date": "2025-01-01", "end_date": "2025-01-31", "engines": "google,bing"}} 
{"name": "statistics", "arguments": {"start_date": "2025-01-01", "end_date": "2025-01-31", "timezone": "+08:00"}}
```

### MCP Resources

* Indexed Resources: <kbd>talor://engines</kbd>&#x20;

&#x20;     Returns a list of all engines, their categories, and resource URIs.

* Engine Schema Resources: <kbd>talor://engines/{engine\_key}</kbd>&#x20;

&#x20;     Returns the complete parameter schema definition for a specific engine, used to understand the        available parameters before invoking the search tool.

### HTTP Routing

1. <kbd>GET /</kbd> Return Basic Service Information (No Authentication Required)
2. <kbd>GET /healthz</kbd> Health Check (No Authentication Required)
3. <kbd>POST /mcp</kbd> MCP Protocol Endpoint (Authentication Required)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.talordata.com/serp-api/mcp-server/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
