anysearch-mcp-server
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAnySearch MCP Server Skill
AnySearch MCP Server Skill
Skill by ara.so — MCP Skills collection.
AnySearch MCP Server is a unified real-time search engine for AI agents, providing general web search, 23 vertical domain searches (finance, academic, security, legal, code, etc.), parallel batch search, and full-page URL content extraction via the MCP protocol.
由ara.so开发的Skill — MCP Skills合集。
AnySearch MCP Server 是面向AI Agent的统一实时搜索引擎,通过MCP协议提供通用网页搜索、23个垂直领域搜索(金融、学术、安全、法律、代码等)、并行批量搜索以及全页面URL内容提取功能。
What It Does
功能介绍
- General Web Search: Natural language queries across the web
- Vertical Domain Search: Structured queries in 23 specialized domains
- Batch Search: Execute up to 5 independent queries in parallel
- URL Extraction: Fetch and convert full page content to Markdown
- Anonymous Access: Works without API key (lower rate limits)
- 通用网页搜索:支持自然语言的全网查询
- 垂直领域搜索:23个专业领域的结构化查询
- 批量搜索:并行执行最多5个独立查询
- URL提取:获取完整页面内容并转换为Markdown格式
- 匿名访问:无需API密钥即可使用(速率限制较低)
Installation
安装
Streamable HTTP (Recommended - No Proxy)
Streamable HTTP(推荐 - 无需代理)
For agents supporting MCP spec 2025-03-26+ (OpenCode, Claude Desktop 2025.6+):
OpenCode ( or ):
~/.opencode/config.jsonopencode.jsonjson
{
"mcp": {
"anysearch": {
"type": "streamable-http",
"url": "https://api.anysearch.com/mcp",
"headers": {
"Authorization": "Bearer ${ANYSEARCH_API_KEY}"
}
}
}
}Claude Desktop ():
claude_desktop_config.jsonjson
{
"mcpServers": {
"anysearch": {
"type": "streamable-http",
"url": "https://api.anysearch.com/mcp",
"headers": {
"Authorization": "Bearer ${ANYSEARCH_API_KEY}"
}
}
}
}适用于支持MCP规范2025-03-26+的Agent(OpenCode、Claude Desktop 2025.6+):
OpenCode( 或 ):
~/.opencode/config.jsonopencode.jsonjson
{
"mcp": {
"anysearch": {
"type": "streamable-http",
"url": "https://api.anysearch.com/mcp",
"headers": {
"Authorization": "Bearer ${ANYSEARCH_API_KEY}"
}
}
}
}Claude Desktop():
claude_desktop_config.jsonjson
{
"mcpServers": {
"anysearch": {
"type": "streamable-http",
"url": "https://api.anysearch.com/mcp",
"headers": {
"Authorization": "Bearer ${ANYSEARCH_API_KEY}"
}
}
}
}stdio Transport (Via mcp-remote Proxy)
stdio 传输(通过mcp-remote代理)
Claude Desktop ():
claude_desktop_config.jsonjson
{
"mcpServers": {
"anysearch": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.anysearch.com/mcp",
"--header",
"Authorization: Bearer ${ANYSEARCH_API_KEY}"
]
}
}
}VS Code Copilot ():
.vscode/mcp.jsonjson
{
"servers": {
"anysearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.anysearch.com/mcp",
"--header",
"Authorization: Bearer ${ANYSEARCH_API_KEY}"
]
}
}
}Cline (VS Code settings):
json
{
"mcpServers": {
"anysearch": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.anysearch.com/mcp",
"--header",
"Authorization: Bearer ${ANYSEARCH_API_KEY}"
]
}
}
}Claude Desktop():
claude_desktop_config.jsonjson
{
"mcpServers": {
"anysearch": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.anysearch.com/mcp",
"--header",
"Authorization: Bearer ${ANYSEARCH_API_KEY}"
]
}
}
}VS Code Copilot():
.vscode/mcp.jsonjson
{
"servers": {
"anysearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.anysearch.com/mcp",
"--header",
"Authorization: Bearer ${ANYSEARCH_API_KEY}"
]
}
}
}Cline(VS Code 设置):
json
{
"mcpServers": {
"anysearch": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.anysearch.com/mcp",
"--header",
"Authorization: Bearer ${ANYSEARCH_API_KEY}"
]
}
}
}SSE Transport (Via supergateway Proxy)
SSE 传输(通过supergateway代理)
Start the proxy server:
bash
npx -y supergateway \
--streamableHttp https://api.anysearch.com/mcp \
--outputTransport sse \
--port 8000 \
--oauth2Bearer ${ANYSEARCH_API_KEY}Cursor ():
.cursor/mcp.jsonjson
{
"mcpServers": {
"anysearch": {
"type": "sse",
"url": "http://localhost:8000/sse"
}
}
}Windsurf ():
~/.codeium/windsurf/mcp_config.jsonjson
{
"mcpServers": {
"anysearch": {
"serverUrl": "http://localhost:8000/sse"
}
}
}启动代理服务器:
bash
npx -y supergateway \
--streamableHttp https://api.anysearch.com/mcp \
--outputTransport sse \
--port 8000 \
--oauth2Bearer ${ANYSEARCH_API_KEY}Cursor():
.cursor/mcp.jsonjson
{
"mcpServers": {
"anysearch": {
"type": "sse",
"url": "http://localhost:8000/sse"
}
}
}Windsurf():
~/.codeium/windsurf/mcp_config.jsonjson
{
"mcpServers": {
"anysearch": {
"serverUrl": "http://localhost:8000/sse"
}
}
}API Key Configuration
API密钥配置
Optional but recommended. Get a free key at: https://anysearch.com/console/api-keys
Priority order:
- header /
Authorizationflag--api_key - environment variable
ANYSEARCH_API_KEY - file with
.envANYSEARCH_API_KEY=<key> - Anonymous access (lower rate limits)
Set environment variable:
bash
export ANYSEARCH_API_KEY="your-api-key-here"Or create file:
.envANYSEARCH_API_KEY=your-api-key-here可选但推荐。在以下地址获取免费密钥:https://anysearch.com/console/api-keys
优先级顺序:
- 请求头 /
Authorization参数--api_key - 环境变量
ANYSEARCH_API_KEY - 包含的
ANYSEARCH_API_KEY=<key>文件.env - 匿名访问(速率限制较低)
设置环境变量:
bash
export ANYSEARCH_API_KEY="your-api-key-here"或创建文件:
.envANYSEARCH_API_KEY=your-api-key-hereAvailable Tools
可用工具
search
- General or Vertical Domain Search
searchsearch
- 通用或垂直领域搜索
searchExecute a search query. For vertical searches, you MUST call first.
list_domainsParameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Search query (format depends on domain) |
| string | No | Vertical domain (e.g., |
| string | No | Sub-domain routing key (required for vertical) |
| object | No | Extra params per sub_domain schema |
| array | No | Filter: |
| string | No | |
| integer | No | 1-100, default 10 |
| string | No | |
General Web Search Example:
json
{
"query": "quantum computing breakthroughs 2025",
"max_results": 5,
"freshness": "month"
}Vertical Search Example (Stock):
First, call :
list_domainsjson
{
"domain": "finance"
}Then use the discovered and :
sub_domainquery_formatjson
{
"query": "AAPL",
"domain": "finance",
"sub_domain": "finance.us_stock",
"max_results": 5
}News Search Example:
json
{
"query": "artificial intelligence",
"content_types": ["news"],
"freshness": "week",
"max_results": 10
}Academic Search Example:
json
{
"query": "10.1038/s41586-019-1666-5",
"domain": "academic",
"sub_domain": "academic.doi"
}执行搜索查询。进行垂直搜索前,必须先调用。
list_domains参数:
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| string | 是 | 搜索查询(格式取决于领域) |
| string | 否 | 垂直领域(例如: |
| string | 否 | 子领域路由键(垂直搜索必填) |
| object | 否 | 子领域对应的额外参数 |
| array | 否 | 过滤类型: |
| string | 否 | |
| integer | 否 | 1-100,默认值为10 |
| string | 否 | |
通用网页搜索示例:
json
{
"query": "quantum computing breakthroughs 2025",
"max_results": 5,
"freshness": "month"
}垂直搜索示例(股票):
首先,调用:
list_domainsjson
{
"domain": "finance"
}然后使用返回的和:
sub_domainquery_formatjson
{
"query": "AAPL",
"domain": "finance",
"sub_domain": "finance.us_stock",
"max_results": 5
}新闻搜索示例:
json
{
"query": "artificial intelligence",
"content_types": ["news"],
"freshness": "week",
"max_results": 10
}学术搜索示例:
json
{
"query": "10.1038/s41586-019-1666-5",
"domain": "academic",
"sub_domain": "academic.doi"
}list_domains
- Query Vertical Domain Directory
list_domainslist_domains
- 查询垂直领域目录
list_domainsMUST be called before vertical search to discover available sub_domains and their query formats.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | One of | Single domain to query |
| array | One of | Batch up to 5 domains |
Single Domain Example:
json
{
"domain": "finance"
}Multiple Domains Example:
json
{
"domains": ["finance", "academic", "security"]
}Returns Markdown table with:
- : Routing key for search
sub_domain - : What the sub_domain searches
description - : Exact format required (e.g., raw ticker, DOI)
query_format - : JSON schema for optional parameters
params_schema - : If
zone, must setCNin searchzone: "cn"
垂直搜索前必须调用,用于发现可用的子领域及其查询格式。
参数:
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| string | 二选一 | 单个要查询的领域 |
| array | 二选一 | 最多批量查询5个领域 |
单个领域示例:
json
{
"domain": "finance"
}多个领域示例:
json
{
"domains": ["finance", "academic", "security"]
}返回Markdown表格包含:
- :搜索路由键
sub_domain - :子领域搜索范围
description - :要求的精确格式(例如:原始股票代码、DOI)
query_format - :可选参数的JSON schema
params_schema - :若为
zone,搜索时必须设置CNzone: "cn"
batch_search
- Parallel Search Execution
batch_searchbatch_search
- 并行搜索执行
batch_searchExecute 2-5 independent search queries in parallel. Single failure doesn't block others.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| array | Yes | 1-5 query objects, each with same fields as |
Example:
json
{
"queries": [
{
"query": "AAPL",
"domain": "finance",
"sub_domain": "finance.us_stock"
},
{
"query": "python async http client",
"domain": "code",
"sub_domain": "code.general"
},
{
"query": "CVE-2024-1234",
"domain": "security",
"sub_domain": "security.cve"
}
]
}并行执行2-5个独立搜索查询。单个查询失败不会阻塞其他查询。
参数:
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| array | 是 | 1-5个查询对象,每个对象包含与 |
示例:
json
{
"queries": [
{
"query": "AAPL",
"domain": "finance",
"sub_domain": "finance.us_stock"
},
{
"query": "python async http client",
"domain": "code",
"sub_domain": "code.general"
},
{
"query": "CVE-2024-1234",
"domain": "security",
"sub_domain": "security.cve"
}
]
}extract
- URL Content Extraction
extractextract
- URL内容提取
extractFetch full page content from a URL and return as Markdown. HTML pages only, truncated at 50,000 characters.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Target URL ( |
Example:
json
{
"url": "https://en.wikipedia.org/wiki/Quantum_computing"
}获取URL的完整页面内容并以Markdown格式返回。仅支持HTML页面,超过50000字符会被截断。
参数:
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| string | 是 | 目标URL( |
示例:
json
{
"url": "https://en.wikipedia.org/wiki/Quantum_computing"
}Supported Domains
支持的领域
23 vertical domains available:
- - Code repositories, packages, documentation
code - - Technology news, products, reviews
tech - - Fashion trends, brands, products
fashion - - Flights, hotels, destinations
travel - - Home improvement, furniture, decor
home - - Products, prices, reviews
ecommerce - - Games, platforms, news
gaming - - Movies, reviews, showtimes
film - - Songs, artists, albums
music - - Stocks, crypto, markets, companies
finance - - Papers, patents, research
academic - - Laws, regulations, cases
legal - - Companies, industries, markets
business - - Patents, trademarks, copyrights
ip - - CVEs, vulnerabilities, threats
security - - Courses, schools, materials
education - - Medical, wellness, drugs
health - - Religious texts, organizations
religion - - Geographic data, maps, places
geo - - Climate, conservation, ecology
environment - - Energy sources, efficiency, policy
energy - - User-generated content, forums
ugc
提供23个垂直领域:
- - 代码仓库、包、文档
code - - 科技新闻、产品、评测
tech - - 时尚趋势、品牌、产品
fashion - - 航班、酒店、目的地
travel - - 家居装修、家具、装饰
home - - 产品、价格、评测
ecommerce - - 游戏、平台、新闻
gaming - - 电影、评测、放映时间
film - - 歌曲、艺人、专辑
music - - 股票、加密货币、市场、公司
finance - - 论文、专利、研究
academic - - 法律、法规、案例
legal - - 公司、行业、市场
business - - 专利、商标、版权
ip - - CVE、漏洞、威胁
security - - 课程、学校、资料
education - - 医疗、健康、药品
health - - 宗教文本、组织
religion - - 地理数据、地图、地点
geo - - 气候、保护、生态
environment - - 能源来源、效率、政策
energy - - 用户生成内容、论坛
ugc
Common Usage Patterns
常见使用模式
Pattern 1: General Web Search
模式1:通用网页搜索
When user asks an open-ended question:
json
{
"query": "best practices for microservices architecture",
"max_results": 10
}当用户提出开放式问题时:
json
{
"query": "best practices for microservices architecture",
"max_results": 10
}Pattern 2: Recent News
模式2:近期新闻
When user wants current information:
json
{
"query": "SpaceX launches",
"content_types": ["news"],
"freshness": "week",
"max_results": 5
}当用户需要当前信息时:
json
{
"query": "SpaceX launches",
"content_types": ["news"],
"freshness": "week",
"max_results": 5
}Pattern 3: Vertical Search Workflow
模式3:垂直搜索流程
When user mentions structured identifiers (stock ticker, CVE, DOI, etc.):
Step 1: Identify the domain and call
list_domainsjson
{
"domain": "security"
}Step 2: Parse the response to find the correct and
sub_domainquery_formatStep 3: Execute search with exact format
json
{
"query": "CVE-2024-1234",
"domain": "security",
"sub_domain": "security.cve"
}当用户提到结构化标识符(股票代码、CVE、DOI等)时:
步骤1: 识别领域并调用
list_domainsjson
{
"domain": "security"
}步骤2: 解析响应以找到正确的和
sub_domainquery_format步骤3: 使用精确格式执行搜索
json
{
"query": "CVE-2024-1234",
"domain": "security",
"sub_domain": "security.cve"
}Pattern 4: Multi-Intent Queries
模式4:多意图查询
When user has multiple independent questions:
json
{
"queries": [
{
"query": "TSLA",
"domain": "finance",
"sub_domain": "finance.us_stock"
},
{
"query": "electric vehicle market trends",
"freshness": "month"
}
]
}当用户有多个独立问题时:
json
{
"queries": [
{
"query": "TSLA",
"domain": "finance",
"sub_domain": "finance.us_stock"
},
{
"query": "electric vehicle market trends",
"freshness": "month"
}
]
}Pattern 5: Deep Content Extraction
模式5:深度内容提取
When search results provide URLs but user needs full content:
Step 1: Search
json
{
"query": "kubernetes best practices",
"max_results": 3
}Step 2: Extract top result
json
{
"url": "https://kubernetes.io/docs/concepts/configuration/overview/"
}当搜索结果提供URL但用户需要完整内容时:
步骤1: 搜索
json
{
"query": "kubernetes best practices",
"max_results": 3
}步骤2: 提取顶部结果
json
{
"url": "https://kubernetes.io/docs/concepts/configuration/overview/"
}Pattern 6: Code Search
模式6:代码搜索
When user needs code examples:
json
{
"query": "react hooks useEffect",
"domain": "code",
"sub_domain": "code.general",
"max_results": 10
}当用户需要代码示例时:
json
{
"query": "react hooks useEffect",
"domain": "code",
"sub_domain": "code.general",
"max_results": 10
}Pattern 7: Academic Research
模式7:学术研究
When user references DOI or research topic:
json
{
"query": "10.1038/nature12373",
"domain": "academic",
"sub_domain": "academic.doi"
}当用户引用DOI或研究主题时:
json
{
"query": "10.1038/nature12373",
"domain": "academic",
"sub_domain": "academic.doi"
}Decision Flow
决策流程
Use this logic to choose the right tool:
User query
|
+-- Has structured identifiers? (ticker, CVE, DOI, IATA, patent, etc.)
| YES -> 1) list_domains(domain) -> discover sub_domain & query_format
| 2) search with domain + sub_domain + exact format
|
+-- Multiple independent questions?
| YES -> batch_search with array of queries
|
+-- Need full article/page content beyond snippets?
| YES -> search -> extract(url) from results
|
+-- Filter by content type or freshness?
| YES -> search with content_types and/or freshness params
|
+-- Otherwise -> search (general, natural language)使用以下逻辑选择合适的工具:
用户查询
|
+-- 是否包含结构化标识符?(股票代码、CVE、DOI、IATA、专利等)
| 是 -> 1) 调用list_domains(domain) -> 发现sub_domain和query_format
| 2) 使用domain + sub_domain + 精确格式执行搜索
|
+-- 是否为多个独立问题?
| 是 -> 使用batch_search传入查询数组
|
+-- 是否需要搜索摘要之外的完整文章/页面内容?
| 是 -> 先搜索 -> 从结果中提取url
|
+-- 是否需要按内容类型或时效性过滤?
| 是 -> 使用content_types和/或freshness参数执行搜索
|
+-- 其他情况 -> 执行通用自然语言搜索Vertical Search Requirements
垂直搜索要求
Before executing vertical search, you MUST:
- Call for the target domain
list_domains - Follow exactly (e.g., raw ticker "AAPL", not "Apple stock")
query_format - Use correct that matches user intent
sub_domain - Set if the sub_domain requires it (check
zone: "cn"field)zone - Include if the schema requires additional fields
sub_domain_params
执行垂直搜索前,必须:
- **调用**获取目标领域信息
list_domains - 严格遵循(例如:使用原始股票代码"AAPL",而非"Apple stock")
query_format - 使用匹配用户意图的
sub_domain - 若子领域要求,设置(查看
zone: "cn"字段)zone - 若schema要求,包含
sub_domain_params
Troubleshooting
故障排除
Issue: "Invalid query format for vertical search"
问题:"Invalid query format for vertical search"
Cause: Query doesn't match the from
query_formatlist_domainsSolution:
- Call for the domain
list_domains - Check the field
query_format - Transform user input to match exact format (e.g., extract ticker symbol from natural language)
原因: 查询格式与返回的不匹配
list_domainsquery_format解决方案:
- 调用获取该领域信息
list_domains - 查看字段
query_format - 将用户输入转换为精确格式(例如:从自然语言中提取股票代码)
Issue: "Missing required zone parameter"
问题:"Missing required zone parameter"
Cause: Sub_domain requires but it wasn't provided
zone: "cn"Solution:
- Check response for
list_domainsfieldzone - If , add
zone: "CN"to search call"zone": "cn"
原因: 子领域需要但未提供
zone: "cn"解决方案:
- 查看响应中的
list_domains字段zone - 若,在搜索请求中添加
zone: "CN""zone": "cn"
Issue: "Anonymous rate limit exceeded"
问题:"Anonymous rate limit exceeded"
Cause: No API key configured, hitting lower anonymous limits
Solution:
- Get free API key from https://anysearch.com/console/api-keys
- Set environment variable
ANYSEARCH_API_KEY - Restart agent to pick up new key
原因: 未配置API密钥,达到匿名访问的速率限制
解决方案:
- 在https://anysearch.com/console/api-keys获取免费API密钥
- 设置环境变量
ANYSEARCH_API_KEY - 重启Agent以加载新密钥
Issue: "SSE/stdio proxy not working"
问题:"SSE/stdio proxy not working"
Cause: Proxy server not running or incorrect configuration
Solution for SSE:
- Ensure proxy is running:
supergatewaynpx -y supergateway --streamableHttp https://api.anysearch.com/mcp --outputTransport sse --port 8000 --oauth2Bearer ${ANYSEARCH_API_KEY} - Check proxy is accessible:
curl http://localhost:8000/sse - Verify agent config points to
http://localhost:8000/sse
Solution for stdio:
- Use proxy (simpler, auto-detects transport)
mcp-remote - Verify can download packages
npx - Check agent restart picked up new config
原因: 代理服务器未运行或配置错误
SSE解决方案:
- 确保代理正在运行:
supergatewaynpx -y supergateway --streamableHttp https://api.anysearch.com/mcp --outputTransport sse --port 8000 --oauth2Bearer ${ANYSEARCH_API_KEY} - 检查代理是否可访问:
curl http://localhost:8000/sse - 验证Agent配置指向
http://localhost:8000/sse
stdio解决方案:
- 使用代理(更简单,自动检测传输方式)
mcp-remote - 验证可下载包
npx - 检查Agent重启后是否加载了新配置
Issue: "No results for vertical search"
问题:"No results for vertical search"
Cause: Wrong selected or malformed query
sub_domainSolution:
- Review output again
list_domains - Match user intent to field of sub_domains
description - Verify query matches exactly
query_format - Try general search first to validate the entity exists
原因: 选择了错误的或查询格式错误
sub_domain解决方案:
- 重新查看输出
list_domains - 将用户意图与子领域的字段匹配
description - 验证查询是否完全符合
query_format - 先尝试通用搜索验证实体是否存在
Issue: "Extract returns truncated content"
问题:"Extract returns truncated content"
Cause: Page content exceeds 50,000 character limit
Solution:
- This is expected behavior for very long pages
- Use search results snippets for overview
- Extract multiple specific URLs if needed
- For extremely long docs, consider asking user which sections to prioritize
原因: 页面内容超过50000字符限制
解决方案:
- 这是超长页面的预期行为
- 使用搜索摘要获取概述
- 若需要,提取多个特定URL
- 对于极长文档,可询问用户优先关注哪些部分
Configuration Quick Reference
配置快速参考
| Agent | Transport | Proxy? | Config File |
|---|---|---|---|
| OpenCode | Streamable HTTP | No | |
| Claude Desktop 2025.6+ | Streamable HTTP | No | |
| Claude Desktop (legacy) | stdio | Yes (mcp-remote) | |
| VS Code Copilot | stdio | Yes (mcp-remote) | |
| Cline | stdio | Yes (mcp-remote) | VS Code settings |
| Cursor | SSE | Yes (supergateway) | |
| Windsurf | SSE | Yes (supergateway) | |
| Agent | 传输方式 | 是否需要代理 | 配置文件 |
|---|---|---|---|
| OpenCode | Streamable HTTP | 否 | |
| Claude Desktop 2025.6+ | Streamable HTTP | 否 | |
| Claude Desktop(旧版) | stdio | 是(mcp-remote) | |
| VS Code Copilot | stdio | 是(mcp-remote) | |
| Cline | stdio | 是(mcp-remote) | VS Code 设置 |
| Cursor | SSE | 是(supergateway) | |
| Windsurf | SSE | 是(supergateway) | |
Best Practices
最佳实践
- Always call before vertical search - Don't assume you know the sub_domains
list_domains - Use batch_search for multiple intents - More efficient than sequential calls
- Prefer general search for exploratory queries - Vertical search requires exact formats
- Extract URLs sparingly - Search snippets are often sufficient
- Set appropriate - Default 10 is good, reduce for speed, increase for thoroughness
max_results - Use for time-sensitive queries - News, events, recent developments
freshness - Never include API keys in chat - Always use environment variables
- Check zone requirements - CN sub_domains require parameter
zone: "cn"
- 垂直搜索前务必调用- 不要假设已知子领域信息
list_domains - 多意图查询使用batch_search - 比顺序调用更高效
- 探索性查询优先使用通用搜索 - 垂直搜索需要精确格式
- 谨慎使用URL提取 - 搜索摘要通常已足够
- 设置合适的- 默认10即可,减少值提升速度,增加值提高全面性
max_results - 时效性查询使用- 新闻、事件、最新进展
freshness - 聊天中绝不包含API密钥 - 始终使用环境变量
- 检查区域要求 - CN子领域需要参数
zone: "cn"
Security Notes
安全说明
- All queries and URLs are sent to
https://api.anysearch.com - Do not use for sensitive data (passwords, personal info, trade secrets)
- API keys grant higher rate limits - protect them as secrets
- Anonymous access works but has lower limits
- 所有查询和URL均发送至
https://api.anysearch.com - 请勿用于敏感数据(密码、个人信息、商业机密)
- API密钥可提升速率限制 - 需妥善保管
- 匿名访问可用但速率限制较低