Search1API MCP Server

Search1API MCP Server

未知

简介

Search1API MCP 服务器提供强大的搜索、爬取和推理功能,可无缝集成到 Claude Desktop、Cursor、Windsurf、Cline 等 MCP 客户端。

服务器示例

安装与配置

  1. 获取 API 密钥

    • Search1API 注册
    • 获取 API 密钥(包含 100 个免费积分)
  2. 配置 MCP 客户端

    {
      "mcpServers": {
        "search1api": {
          "command": "npx",
          "args": ["-y", "search1api-mcp"],
          "env": {
            "SEARCH1API_KEY": "YOUR_SEARCH1API_KEY"
          }
        }
      }
    }
    

核心功能

1. 网络搜索 (search)

{
  "query": "人工智能最新发展", // 必填,搜索查询内容
  "max_results": 5,          // 可选,默认 10
  "search_service": "google", // 可选,默认 "google"
  "crawl_results": 2         // 可选,爬取结果数量
}

支持的搜索引擎:google, bing, duckduckgo, yahoo, github, youtube, arxiv, wechat, bilibili, imdb, wikipedia

2. 新闻搜索 (news)

{
  "query": "全球经济新闻",     // 必填
  "search_service": "bing",  // 可选,默认 "bing"
  "time_range": "month"      // 可选,时间范围
}

支持的搜索引擎:google, bing, duckduckgo, yahoo, hackernews

3. 网页爬取 (crawl)

{
  "url": "https://example.com/article" // 必填
}

4. 深度推理 (reasoning)

{
  "content": "如何优化机器学习模型以减少过拟合?" // 必填
}

5. 获取趋势 (trending)

{
  "search_service": "github", // 必填,支持 github, hackernews
  "max_results": 5           // 可选,默认 10
}

高级选项

所有搜索功能还支持以下可选参数:

  • include_sites: 仅包含指定网站的搜索结果
  • exclude_sites: 排除指定网站的搜索结果
  • time_range: 结果时间范围 ("day", "month", "year")

支持与帮助

加入官方 Discord 获取更多帮助和讨论。

更多详情请参考中文完整文档