Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Provider-neutral web_search for AI agents. Grounding + agent search APIs, keyless defaults.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
AGENT_WEB_SEARCH_PROVIDERS, ARK_API_KEY, GEMINI_API_KEY, XAI_API_KEY, DEEPSEEK_API_KEY, AGENT_WEB_SEARCH_RESPONSES_API_KEY, AGENT_WEB_SEARCH_RESPONSES_BASE_URL, AGENT_WEB_SEARCH_MESSAGES_API_KEY, AGENT_WEB_SEARCH_MESSAGES_BASE_URL, TAVILY_API_KEY, BRAVE_SEARCH_API_KEY, PERPLEXITY_API_KEY, YDC_API_KEY, EXA_API_KEY, PARALLEL_API_KEY, ZHIPU_WEB_SEARCH_API_KEY, ZHIPU_CHAT_SEARCH_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agent-web-search": {
"command": "uvx",
"args": [
"agent-web-search-mcp"
],
"env": {
"AGENT_WEB_SEARCH_PROVIDERS": "your-value",
"ARK_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"XAI_API_KEY": "your-value",
"DEEPSEEK_API_KEY": "your-value",
"AGENT_WEB_SEARCH_RESPONSES_API_KEY": "your-value",
"AGENT_WEB_SEARCH_RESPONSES_BASE_URL": "your-value",
"AGENT_WEB_SEARCH_MESSAGES_API_KEY": "your-value",
"AGENT_WEB_SEARCH_MESSAGES_BASE_URL": "your-value",
"TAVILY_API_KEY": "your-value",
"BRAVE_SEARCH_API_KEY": "your-value",
"PERPLEXITY_API_KEY": "your-value",
"YDC_API_KEY": "your-value",
"EXA_API_KEY": "your-value",
"PARALLEL_API_KEY": "your-value",
"ZHIPU_WEB_SEARCH_API_KEY": "your-value",
"ZHIPU_CHAT_SEARCH_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add agent-web-search --env AGENT_WEB_SEARCH_PROVIDERS=your-value --env ARK_API_KEY=your-value --env GEMINI_API_KEY=your-value --env XAI_API_KEY=your-value --env DEEPSEEK_API_KEY=your-value --env AGENT_WEB_SEARCH_RESPONSES_API_KEY=your-value --env AGENT_WEB_SEARCH_RESPONSES_BASE_URL=your-value --env AGENT_WEB_SEARCH_MESSAGES_API_KEY=your-value --env AGENT_WEB_SEARCH_MESSAGES_BASE_URL=your-value --env TAVILY_API_KEY=your-value --env BRAVE_SEARCH_API_KEY=your-value --env PERPLEXITY_API_KEY=your-value --env YDC_API_KEY=your-value --env EXA_API_KEY=your-value --env PARALLEL_API_KEY=your-value --env ZHIPU_WEB_SEARCH_API_KEY=your-value --env ZHIPU_CHAT_SEARCH_API_KEY=your-value -- uvx agent-web-search-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agent-web-search": {
"command": "uvx",
"args": [
"agent-web-search-mcp"
],
"env": {
"AGENT_WEB_SEARCH_PROVIDERS": "your-value",
"ARK_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"XAI_API_KEY": "your-value",
"DEEPSEEK_API_KEY": "your-value",
"AGENT_WEB_SEARCH_RESPONSES_API_KEY": "your-value",
"AGENT_WEB_SEARCH_RESPONSES_BASE_URL": "your-value",
"AGENT_WEB_SEARCH_MESSAGES_API_KEY": "your-value",
"AGENT_WEB_SEARCH_MESSAGES_BASE_URL": "your-value",
"TAVILY_API_KEY": "your-value",
"BRAVE_SEARCH_API_KEY": "your-value",
"PERPLEXITY_API_KEY": "your-value",
"YDC_API_KEY": "your-value",
"EXA_API_KEY": "your-value",
"PARALLEL_API_KEY": "your-value",
"ZHIPU_WEB_SEARCH_API_KEY": "your-value",
"ZHIPU_CHAT_SEARCH_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agent-web-search": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-web-search-mcp"
],
"env": {
"AGENT_WEB_SEARCH_PROVIDERS": "your-value",
"ARK_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"XAI_API_KEY": "your-value",
"DEEPSEEK_API_KEY": "your-value",
"AGENT_WEB_SEARCH_RESPONSES_API_KEY": "your-value",
"AGENT_WEB_SEARCH_RESPONSES_BASE_URL": "your-value",
"AGENT_WEB_SEARCH_MESSAGES_API_KEY": "your-value",
"AGENT_WEB_SEARCH_MESSAGES_BASE_URL": "your-value",
"TAVILY_API_KEY": "your-value",
"BRAVE_SEARCH_API_KEY": "your-value",
"PERPLEXITY_API_KEY": "your-value",
"YDC_API_KEY": "your-value",
"EXA_API_KEY": "your-value",
"PARALLEL_API_KEY": "your-value",
"ZHIPU_WEB_SEARCH_API_KEY": "your-value",
"ZHIPU_CHAT_SEARCH_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
AGENT_WEB_SEARCH_PROVIDERS envAGENT_WEB_SEARCH_RESPONSES_BASE_URL envAGENT_WEB_SEARCH_MESSAGES_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 JerryLiu369 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:ARK_API_KEY, GEMINI_API_KEY, XAI_API_KEY, DEEPSEEK_API_KEY, AGENT_WEB_SEARCH_RESPONSES_API_KEY, AGENT_WEB_SEARCH_MESSAGES_API_KEY, TAVILY_API_KEY, BRAVE_SEARCH_API_KEY, PERPLEXITY_API_KEY, YDC_API_KEY, EXA_API_KEY, PARALLEL_API_KEY, ZHIPU_WEB_SEARCH_API_KEY, ZHIPU_CHAT_SEARCH_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.8.1)于16天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Agent-native web search — model-native grounding and agent search APIs behind one provider-neutral contract.
English | 简体中文
One-click remote MCP
Works with Codex CLI, Claude Code, OpenCode, Hermes, DeepSeek Harness (DSH), ordinary shell scripts, Python applications, and remote Streamable HTTP MCP clients.
Quickstart · Use with an agent · Providers · Configuration
Shared interface · Other interfaces · Troubleshooting · FAQ · Architecture · Development
Agent Web Search (PyPI: agent-web-search-mcp) is an open-source, MIT-licensed web search MCP server, CLI, and Python library for AI agents. It gives an agent three ways to reach the same provider-neutral search core: a native MCP tool, a native plugin (Hermes, DeepSeek Harness), or a CLI taught through a standard Agent Skill.
If you are an AI agent: install with
pipx install agent-web-search-mcp
(or try instantly with
uvx --from agent-web-search-mcp agent-web-search " "),
then read
skills/agent-web-search/SKILL.md—
it teaches the CLI pathway only (for MCP setups, follow Option 1
instead).
llms.txt
is the machine-readable doc index.
This is not a Google/Bing/Baidu metasearch wrapper. Traditional search aggregation fans a keyword query out to conventional engines and merges their result pages. Agent Web Search instead aggregates search capabilities built for agents: model-native web grounding, agent-oriented search APIs, and context-ready sources that accept natural-language questions and return answers, citations, or structured evidence in forms an agent can use directly. DDGS is the only conventional search backend in the current provider set.
Natural-language question
| v SearchEngine +-----------+-----------+ | | | v v v DDGS Model Agent grounding APIs (Responses, (Exa, ARK, Grok, Parallel, Gemini...) Tavily...)
Three steps, about a minute: try it instantly, install it once, then connect your agent. Requirements: Python 3.10+. Default providers (DDGS, Exa, Parallel) require no API key.
Test immediate search capabilities using uvx (no environment modification):
# Direct natural-language search with keyless defaults
uvx --from agent-web-search-mcp agent-web-search "What changed in the latest OpenAI Codex CLI?"
uvx agent-web-search-mcp --help
Install once into your global user environment (recommended):
# Recommended isolated installation
pipx install agent-web-search-mcp
python -m pip install agent-web-search-mcp
# 1. Verify the CLI and run a real search
agent-web-search --version agent-web-search "What changed in the latest OpenAI Codex CLI?"
agent-web-search-mcp --help
Two commands, two roles:
-
agent-web-search: Direct search CLI for terminals, shell scripts, and Agent Skills.
-
agent-web-search-mcp: Stdio and Streamable HTTP MCP server for MCP clients.
| Integration | Client / Environment | Setup |
|---|---|---|
| CLI + Skill *(Recommended)* | Terminal agents (Claude Code, Codex, OpenCode, Hermes) | npx skills add JerryLiu369/agent-web-search --skill agent-web-search (Details) |
| MCP (Stdio) | Codex CLI, Claude Code, Cursor, Cline, Roo Code | codex mcp add agent-web-search -- agent-web-search-mcp (Details) |
| DSH Plugin | DeepSeek Harness (desktop & web) | dsh plugin --profile desktop add github:JerryLiu369/agent-web-search (Details) |
| Hermes Plugin | Hermes Agent | hermes plugins install JerryLiu369/agent-web-search (Details) |
[!TIP]
Why CLI + Skill is recommended for shell-capable agents: If your agent already has terminal/bash execution capabilities (like Claude Code, Codex CLI, OpenCode, or Hermes), the CLI + Skill pathway offers the lowest friction and highest reliability. No MCP JSON configuration to debug, no background transport lifecycle to manage, and clean stdout JSON output taught through a standard Skill.
Traditional search aggregation (Google/Bing/Baidu wrappers, scraped SERPs) sends a keyword query to conventional engines and merges result pages. Agent Web Search instead aggregates search capabilities built for agents: one tool call returns structured, citation-ready evidence — or, through model-native grounding providers, a synthesized answer with explicit citations. A measured benchmark shows the practical difference: on a natural-language Chinese query asking for official sources, conventional SERP backends returned no government-domain results in the top 5, while the grounding provider returned official figures from China's General Administration of Customs with a working citation.
results; model-backed providers may also return an answer.The provider list is intentionally split by the kind of search capability it provides. Only DDGS is a conventional search backend; the other two groups are built around model-native grounding or agent-facing search services.
Free, keyless defaults: DDGS, Exa, and Parallel all work without an API
key. Exa and Parallel automatically use their free MCP transports until a
paid API key is provided.
| Provider | Website | Search backend | API key | Enabled by default |
|---|---|---|---|---|
| DDGS | DuckDuckGo | Conventional DuckDuckGo search | Free · no key required | Yes |
These providers use a model-native search or grounding surface. Their responses can include a model-generated answer together with citations or other explicit search evidence.
| Provider | Website | Model-native search surface | API key | Enabled by default |
|---|---|---|---|---|
| ARK | Volcengine Ark | Responses API with Doubao web-search grounding | ARK_API_KEY | No |
| Codex Alpha (experimental) | Alpha Search-compatible gateway | Model-backed Alpha Search surface | AGENT_WEB_SEARCH_CODEX_ALPHA_API_KEY | No |
| DeepSeek | DeepSeek API | Anthropic Messages API with native web search | DEEPSEEK_API_KEY | No |
| Gemini | Google AI | Gemini Google Search grounding | GEMINI_API_KEY | No |
| Grok | xAI | xAI web search and X Search | XAI_API_KEY | No |
| Responses | Responses API-compatible gateway | Generic OpenAI Responses API with web search grounding | AGENT_WEB_SEARCH_RESPONSES_API_KEY | No |
| Messages | Messages API-compatible gateway | Generic Anthropic Messages API with web search grounding | AGENT_WEB_SEARCH_MESSAGES_API_KEY | No |
| Zhipu Chat Search | Zhipu AI | GLM Chat Completions with native web search | ZHIPU_CHAT_SEARCH_API_KEY | No |
These providers expose search services for agent consumption: natural-language queries, structured source rows, high-signal excerpts, or citation-friendly metadata rather than a conventional search-page experience.
| Provider | Website | Agent-facing search surface | API key | Enabled by default |
|---|---|---|---|---|
| Exa | Exa | Semantic Search API or free MCP fallback | Free without key · optional EXA_API_KEY | Yes |
| Parallel | Parallel | Context-oriented search API or free MCP | Free without key · optional PARALLEL_API_KEY | Yes |
| Brave | Brave Search | Structured Web Search API | BRAVE_SEARCH_API_KEY | No |
| Perplexity | Perplexity API | Native structured Search API | PERPLEXITY_API_KEY | No |
| Tavily | Tavily | Agent-oriented Search API | TAVILY_API_KEY | No |
| You.com | You.com API | Unified web and news Search API | YDC_API_KEY | No |
| **Zhipu Web Sear
只显示了开头部分;其余内容请在仓库中阅读