1. Conduid
  2. AI
  3. fatwang2/search1api-mcp
MCP server · AI

fatwang2/search1api-mcp

Official Search1API MCP server for web search, news, crawling, sitemaps, and trends—hosted with OAuth 2.1 or local via npm.

Unclaimed MIT ai
73Good

Scored 3 months ago · breakdown

About fatwang2/search1api-mcp

fatwang2/search1api-mcp is an MCP server published by superagents-lab in the AI category: official Search1API MCP server for web search, news, crawling, sitemaps, and trends—hosted with OAuth 2.1 or local via npm.

The repository has 173 stars and 38 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Install
npx search1api-mcp
Claude Code
claude mcp add search1api-mcp -- npx -y search1api-mcp
npx
npx -y search1api-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about fatwang2/search1api-mcp

Powered by Claude · Grounded in docs

I know everything about fatwang2/search1api-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 19 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.8.0v0.8.0 — source cards for remote and stdio · 13 Oct 2026Search1API MCP 0.8.0 brings source-card rendering to both hosted connections and the npm stdio package. Use `render_results` to display selected existing sources as interactive cards in MCP Apps clients. Every client also receives…
v0.7.1v0.7.1 · 12 Oct 2026Read GitHub search and Hacker News news attributes from the new HTTP API result metadata object. Preserve the existing MCP result metadata, publication dates, snippets and full-content indicators, including zero counts. No fallback to…
v0.7.0v0.7.0 · 10 Oct 2026新工具:ask 对应 `POST /ask`:传入自然语言问题,返回带来源和相关度、可以引用的结果,同时返回 `intent` 和 `errors`。每次 5 credits。 search / news `search` 引擎新增 `bingcn`、`yandex`、`grokipedia`(删除 `sogou`),新增 `page` 参数(只有 `bing`、`bingcn`、`baidu`、`grokipedia` 支持分页) `search` 和 `news` 的…
v0.6.1v0.6.1 · 3 Sep 2026恢复全量鉴权:修复客户端卡在"已登录"却无法触发 OAuth v0.6.0 把 `initialize`、`tools/list` 等发现类方法放开为匿名可访问,动机是让目录检测器在无凭证时也能枚举工具。但实际引发了大量客户端问题:许多客户端把"能列出工具"直接当作"已登录"——连接成功、UI 显示已连接,却永远不会发起 OAuth。原因是触发整个 OAuth 流程的标准化信号就是连接阶段第一个请求的 401 +…
v0.6.0v0.6.0 · 26 Aug 2026发现类方法不再需要凭证 上一版给 `/mcp` 加 server card,是为了在不放宽 `/mcp` 鉴权的前提下让 agent 做连接前发现。这一版走了另一条路:直接让 `/mcp` 的元数据方法匿名可用。 起因是给市场提交时被拒——它们的检测器一律先发 `initialize` 再发 `tools/list`,不带任何凭证,而我们对每个请求都要求 Bearer,第一步就 401。查过 MCP 规范和 Anthropic…

README

Search1API MCP Server

Smithery Glama

中文文档

The official MCP server for Search1API — web search, news, page retrieval, sitemap discovery, and trending topics in one API.

Authentication

  • OAuth-aware clients can connect to the Remote MCP URL directly, then sign in and approve access in the browser.
  • Existing integrations can continue to use an API key from the Search1API dashboard.
  • Every MCP request — including tool discovery (initialize, tools/list) — requires a credential. Unauthenticated requests draw the OAuth challenge, which is how clients trigger sign-in; pre-connect inspection is served by the static server card instead.

Quick Start (Remote MCP)

No installation required. Configure your MCP client with the remote URL. Use OAuth when the client supports it, or provide an API key.

Authentication

Three methods are supported — use whichever your client supports:

Method Format
OAuth 2.1 Connect to https://mcp.search1api.com/mcp without a key and follow the client sign-in flow
Authorization Header Authorization: Bearer YOUR_SEARCH1API_KEY
URL Query Parameter (legacy) https://mcp.search1api.com/mcp?apiKey=YOUR_SEARCH1API_KEY

Prefer OAuth or the Authorization header. Query-parameter credentials can be exposed in URLs, logs, and shell history.

Optional search and news UI

Remote MCP exposes render_results at the standard endpoint above. Data tools such as search, news and ask return results without automatically showing cards. When a source list helps, the model can select or combine existing results and pass them to render_results. It returns source cards in MCP Apps clients and a complete readable text list elsewhere. Rendering does not repeat a search or consume search credits; no UI URL parameter is required.

Both HTTP and stdio advertise the square Search1API logo through standard serverInfo.icons metadata. The 512×512 PNG is served publicly at https://mcp.search1api.com/assets/icon-square.png, without authentication or redirects. The server card and registry manifest use the same icon. Clients choose whether to display it; this does not replace an icon stored separately by a plugin directory.

See the rendering contract for arguments, limits and fallback behavior. The npm package includes this renderer from version 0.8.0. Update existing installations and restart the MCP connection; npx -y search1api-mcp@latest starts the latest published package.

After changing the URL, reconnect or refresh the connector's tool definitions; clients may cache them. This URL setting applies to Remote MCP only; local stdio behavior is unchanged. See MCP Apps UI for details and release status.

Claude Desktop

{
  "mcpServers": {
    "search1api": {
      "url": "https://mcp.search1api.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_SEARCH1API_KEY"
      }
    }
  }
}

Claude.ai (Web)

Install Search1API from the Claude directory, click Connect, and sign in with your Search1API account.

Avoid adding https://mcp.search1api.com/mcp through Add custom connector: that creates a separate custom connector, which Claude names after the URL's host (mcp.search1api.com) unless you type a name.

Cursor

Install as a Cursor plugin (recommended): this repo includes Agent Plugins plugin.json + mcp.json (portable) and .cursor-plugin/plugin.json (Cursor Marketplace metadata / logo) for Remote MCP with OAuth. Submit or install from cursor.directory / the Cursor Marketplace, then sign in when prompted.

For local testing, copy the plugin files into ~/.cursor/plugins/local/search1api (plugin.json, .cursor-plugin/, mcp.json, assets/). Do not symlink from outside that directory — Cursor rejects external symlink targets.

Or configure manually:

{
  "mcpServers": {
    "search1api": {
      "url": "https://mcp.search1api.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_SEARCH1API_KEY"
      }
    }
  }
}

VS Code

{
  "servers": {
    "search1api": {
      "type": "http",
      "url": "https://mcp.search1api.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_SEARCH1API_KEY"
      }
    }
  }
}

Claude Code

claude mcp add --transport http search1api https://mcp.search1api.com/mcp \
  --header "Authorization: Bearer YOUR_SEARCH1API_KEY"

Windsurf

{
  "mcpServers": {
    "search1api": {
      "serverUrl": "https://mcp.search1api.com/mcp?apiKey=YOUR_SEARCH1API_KEY"
    }
  }
}

Agent Skill

The Agent Skill has moved to search1api-cli. Install it with:

npm install -g search1api-cli
npx skills add superagents-lab/search1api-cli

Local Mode (stdio)

If you prefer to run the server locally, use Node.js 20 or newer with npx — no cloning required:

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

For self-hosted HTTP deployments behind a proxy, add any internal hostnames that reach the Node.js process to the comma-separated MCP_ALLOWED_HOSTS environment variable. mcp.search1api.com and localhost addresses are allowed by default. Browser-based clients that send an Origin header must also have their trusted origin hostnames added to the comma-separated MCP_ALLOWED_ORIGINS variable. Requests from server-side MCP clients normally omit Origin and do not require an entry.

Tools

search

Search the web using Search1API. Results include a citable id/title/url structure. Pass a result URL to crawl when you need the full page.

Parameter Required Default Description
query Yes - Search query
max_results No 10 Number of results
search_service No google google, bing, bingcn, duckduckgo, yahoo, yandex, x, reddit, github, youtube, arxiv, wechat, bilibili, imdb, wikipedia, grokipedia
page No 1 Results page (1-100); only bing, bingcn, baidu, and grokipedia paginate
crawl_results No 0 Number of top results to crawl for full content; each successful crawl adds 1 credit to the base 1-credit search request
include_sites No [] Sites to include
exclude_sites No [] Sites to exclude
time_range No - day, week, month, year

Results carry published_date in metadata when the engine exposes one; github results add kind, stars, language, and num_comments.

news

Search for news articles. hackernews results link to the discussion thread and add story_url, points, and num_comments to metadata.

Parameter Required Default Description
query Yes - Search query
max_results No 10 Number of results
search_service No bing google, bing, duckduckgo, yahoo, hackernews
crawl_results No 0 Number of top results to crawl for full content; each successful crawl adds 1 credit to the base 1-credit news request
include_sites No [] Sites to include
exclude_sites No [] Sites to exclude
time_range No - day, week, month, year

crawl

Extract content from a URL.

Parameter Required Description
url Yes URL to crawl

sitemap

Get all related links from a URL.

Parameter Required Description
url Yes URL to get sitemap

trending

Get trending topics from popular platforms.

Parameter Required Default Description
search_service Yes - github, hackernews
max_results No 10 Number of items

ask

Agentic search: describe the need in natural language and Search1API picks up to five engines and a time window, drops off-topic results, and returns at most 10 citable results ranked by relevance. The result also carries intent (keywords, engines, and window used) and errors (engines that failed while others completed). Costs 5 credits per completed request; use search when you already know the engine.

Parameter Required Description
query Yes The request in natural language, up to 500 characters

Version History

  • v0.7.0: New ask tool for agentic search. search adds the bingcn, yandex, and grokipedia engines and a page parameter; search and news accept time_range: "week" and pass published_date, GitHub, and Hacker News fields through in result metadata

  • v0.6.1: Bug fix — MCP discovery (initialize, tools/list, resources/*, prompts/list, server/discover) requires a credential again. Serving it anonymously made clients that equate "tools listed" with "signed in" show a connected state with no way to trigger the OAuth flow; the 401 challenge now answers every unauthenticated request, restoring OAuth sign-in at connect time. Directory visibility is unchanged via the static server card and registry metadata

  • v0.6.0: MCP discovery (initialize, tools/list, resources/*, prompts/list, server/discover) is served without a credential so clients and directories can enumerate tools before signing in; tool calls still require OAuth or an API key. Stdio mode starts without SEARCH1API_KEY and serves tool metadata, refusing only at call time. Malformed requests answer as JSON-RPC instead of an HTML error page

  • v0.5.4: OAuth issuer moved to clerk.s1.dev and is configurable with OAUTH_AUTHORIZATION_SERVER; MCP server card published at /.well-known/mcp/server-card.json; OAuth discovery documents now send cache headers

  • v0.5.3: OAuth resource and tool metadata no longer require OIDC session scopes; Smithery and Glama registry badges added

  • v0.5.2: MCP Origin validation now runs before request parsing and authentication; self-hosted HTTP deployments can configure trusted browser origins with MCP_ALLOWED_ORIGINS

  • v0.5.1: Documentation, LobeHub manifest, and MCP Registry metadata synchronized; robots.txt served on the transport host

  • v0.5.0: MCP 2026-07-28 support with automatic protocol negotiation; stateless compatibility for 2025-era HTTP clients; request-level authentication

  • v0.4.0: Structured output schemas, OAuth security schemes, safety annotations, and Official MCP Registry metadata

  • v0.3.1: OAuth 2.1 support for Remote MCP; retired reasoning tool removed

  • v0.3.0: Remote MCP support via Streamable HTTP; per-session API key authentication

  • v0.2.0: Fallback .env support for LibreChat integration

  • v0.1.8: X (Twitter) and Reddit search services

  • v0.1.7: Trending tool for GitHub and Hacker News

  • v0.1.6: Wikipedia search service

  • v0.1.5: New search parameters and services (arxiv, wechat, bilibili, imdb)

  • v0.1.3: News search

  • v0.1.2: Sitemap

  • v0.1.1: Web crawling

  • v0.1.0: Initial release

License

MIT

UI and third-party credits

The render_results MCP Apps view shows existing sources as cards with titles and domains. Every client also receives the full text and structured result list. The component is adapted from Rare UI, by Swami Malode. Its MIT + Commons Clause + Attribution terms are reproduced in THIRD_PARTY_NOTICES.md.

UI setup, sandbox origin, and release checks: MCP Apps UI.

README fetched from the repository 19 hours ago. The original is authoritative.

Questions

About fatwang2/search1api-mcp

How do I install fatwang2/search1api-mcp?

Run npx search1api-mcp, then add the server to your MCP client's configuration.

Is fatwang2/search1api-mcp safe to use with an AI agent?

Its trust score is 73 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is fatwang2/search1api-mcp still maintained?

Yes — the latest release is v0.8.0 (13 Oct 2026), and the last commit was 2 days ago. The repository has 173 stars.