Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Privacy-friendly web search through a configurable SearXNG instance.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add searxng -- uvx searxng粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"searxng": {
"command": "uvx",
"args": [
"searxng"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"searxng": {
"type": "stdio",
"command": "uvx",
"args": [
"searxng"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 danchev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), MCPB。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol (MCP) server that equips AI agents with privacy-friendly web search capabilities using the SearXNG metasearch engine.
This server provides the following main features:
web_search - Perform web search using SearXNGquery (string): The search querycategories (array): Search categories, e.g. ['general', 'images', 'news']engines (array): Search engines, e.g. ['google', 'bing', 'duckduckgo']language (string): Language code for search, default is "en"max_results (integer): Maximum number of results, default is 10 (1-100)time_range (string): Time range filter ('day', 'week', 'month', 'year')If a search cannot be completed (the instance is unreachable, rate-limits the request, or returns a malformed response), the tool returns an error result describing the failure rather than an empty result list.
Each server process admits up to eight concurrent searches. Further calls return an error immediately and can be retried later. --timeout bounds the complete network operation, including streaming the response; cancellation closes the active request. Responses are limited to 2 MiB before JSON parsing.
The configured instance must serve /search directly: redirects are rejected. The client requests Accept-Encoding: identity and rejects compressed responses to prevent unbounded decompression. Result fields are also truncated to their existing limits. Missing or non-list results and upstream error objects are reported as failures, while a valid empty list remains a successful search.
Application logs omit search queries and upstream exception text. The CLI keeps HTTP dependency logging at WARNING even when --log-level=DEBUG is selected.
This software does not operate a hosted search service and does not send search queries to its maintainer. It runs on the user's device or infrastructure and sends each query, selected engines, categories, language, time range, and safe search setting directly to the configured SearXNG instance. Search results are returned to the connected MCP client.
The software does not persist queries or results, use analytics or advertising trackers, create user profiles, or share data with the maintainer. Operational logs record result counts and errors but omit query text and upstream exception details. In-memory request and result data is discarded after the request.
The selected SearXNG instance and the search engines it contacts are independent third parties. Their collection, use, sharing, and retention practices are governed by their own privacy policies. Before sending sensitive queries, users should review the selected instance's privacy notice or operate an instance they trust. The default CLI instance is https://searx.party; its policy is at https://searx.party/info/en/privacy.
Privacy questions and requests can be filed at https://github.com/danchev/searXNG/issues.
| Option | Default | Description |
|---|---|---|
--instance-url | https://searx.party | SearXNG instance base URL. Must be absolute and cannot contain credentials, a query string, or a fragment. |
--timeout | 30 | Total search network timeout, in seconds. |
--log-level | WARNING | Logging verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL. Logs are written to stderr. |
--transport | stdio | Transport to serve on: stdio or http. |
--host | 127.0.0.1 | Host to bind when --transport=http. |
--port | 8000 | Port to bind when --transport=http. |
--header | None | Custom HTTP headers to send with search requests (e.g., X-Forwarded-For: 1.2.3.4). Can be specified multiple times. |
You can run the server easily using the official container image published to the GitHub Container Registry:
docker run -p 8000:8000 ghcr.io/danchev/searxng:latest \
--transport http \ --host 0.0.0.0 \ --instance-url=https://searx.party \ --header "Authorization: Bearer my-secret-token"
By default the server speaks stdio, which is what local MCP clients (Claude Desktop, IDE integrations, uvx) launch it with.
For remote access, --transport http serves the Streamable HTTP transport at /mcp:
searxng --transport http --host 127.0.0.1 --port 8000
The legacy SSE transport is intentionally not implemented. It was
superseded by Streamable HTTP in the 2025-03-26 MCP protocol revision
and should not be used for new deployments.
Security: the server performs no authentication, so it binds to 127.0.0.1 by default. Only pass --host 0.0.0.0 on a trusted network, or put an authenticating reverse proxy in front of it.
Binding to a non-loopback host also disables the MCP SDK's DNS-rebinding protection, which it can only enable automatically for 127.0.0.1, localhost, and ::1. On a loopback bind a forged Host header is rejected with 421 Misdirected Request; on a public bind any Host is accepted. The server logs a warning at startup when this applies.
To set up SearXNG as an MCP server, add one of the following to your MCP configuration file:
UVX setup:
"mcpServers": {
"searxng": { "command": "uvx", "args": ["searxng", "--instance-url=https://searx.party"] } }
Docker setup (Local stdio):
"mcpServers": {
"searxng": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/danchev/searxng:latest", "--instance-url=https://searx.party" ] } }
This launches the server over stdio, which is the right choice for a local client.
Remote setup (Streamable HTTP):
Start the server as a long-running process:
searxng --transport http --host 0.0.0.0 --port 8000 \
--instance-url=https://searx.party
Then point the client at its /mcp endpoint:
"mcpServers": {
"searxng": { "url": "http://your-host:8000/mcp" } }
Note the --host 0.0.0.0 needed to accept connections from other machines, and the security caveat above: the server is unauthenticated, so restrict it to a trusted network or front it with an authenticating reverse proxy.
1.
{
"name": "web_search", "arguments": { "query": "climate change research", "categories": ["general"], "engines": ["google"], "language": "en", "max_results": 15, "time_range": "month" } }
You can use the MCP inspector to debug the server:
npx @modelcontextprotocol/inspector uvx searxng
AGPLv3+ License - see LICENSE for details.