Quick Start
Configure the Thordata MCP Server with an API token, connect to the remote MCP endpoint, authenticate requests, and use search, history, and statistics tools.
Authentication
Supports three methods:
Path-based (Recommended): /{YOUR_API_TOKEN}/mcp
Authorization Header: Authorization: Bearer YOUR_API_TOKEN
Custom Headers: X-Thor-Serp-Token: YOUR_API_TOKEN
Example:
Path-based
curl "https://mcp.thordata.com/your_token/mcp" -d '...'Authorization Header
curl "https://mcp.thordata.com/mcp" -H "Authorization: Bearer your_token" -d '...'Custom Headers
curl "https://mcp.thordata.com/mcp" -H "X-Thor-Serp-Token: your_token" -d '...'Tools
1.list_engines
Lists all supported search engines, categories, and resource URIs. Parameters: None
Example: {"name": "list_engines"}
2.search
Execute a SERP search request. Consult the resources located under thor://engines to review the specific parameters for each engine before invoking this tool.
Parameters:
engine (Optional): Engine identifier, e.g., google, google_images, bing_images, duckduckgo.
If not provided, use the engine field in params or the default engine.
params (Required): An engine-specific parameter object; it must match the Schema resource definition of the corresponding engine.
json (Optional): Upstream response format. json->1, json_html->2, html->3.
response_mode (Optional): complete returns a complete response, compact removes common metadata fields. Default: complete
Supported Search Engines (33 total):
Example:
Result Types: Answer Box, Organic Results, News, Images, Shopping, Knowledge Cards—automatically detected and formatted by upstream APIs.
3.history
Query SERP usage history. Parameters:
page (Optional): Page number, default 1
page_size (Optional): Page Size (Common values: 20, 50, 100)
search_query(Optional): Filter by Search Keywords
search_engine (Optional): Filter by Search Engine Display Name
status (Optional): Status Filter. Possible values: all, success, error
start_time (Optional): Start Time (Unix Timestamp, seconds)
end_time (Optional): End Time (Unix Timestamp, seconds)
timezone (Optional): Time zone, e.g., Asia/Shanghai or +08:00
Example:
4.statistics
Query SERP usage statistics. Parameters:
start_date (Required): Start Date (YYYY-MM-DD format)
end_date (Required): End date, format YYYY-MM-DD
engines (Optional): Engine filter; a comma-separated string or an array of strings.
timezone (Optional): Time zone offset, e.g., +00:00, +08:00, -05:00
Example:
MCP Resources
Indexed Resources: thor://engines
Returns a list of all engines, their categories, and resource URIs.
Engine Schema Resources: thor://engines/{engine_key}
Returns the complete parameter schema definition for a specific engine, used to understand the available parameters before invoking the search tool.
HTTP Routing
GET / Return Basic Service Information (No Authentication Required)
GET /healthz Health Check (No Authentication Required)
POST /mcp MCP Protocol Endpoint (Authentication Required)
Last updated
Was this helpful?