brave_web_search
Run a general web search and return matching pages with titles, links, and excerpts.
countquery必填offset
io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 7, 2026
Web, local, news, image, and video search through the Brave Search API.
Searchport 通过本地 stdio MCP 服务器为助手提供 Brave 搜索的五类工具:网页、本地、新闻、图片和视频搜索。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
searchport is one doorway to five kinds of Brave search. A single question can be asked against the general web index, local business listings, current news, images, or videos, and every answer comes back in the same shape: a title, the address it lives at, a short excerpt, and one extra line of detail that fits the kind — how long ago a story ran, how long a video plays, where a shop is and how it is rated. It runs from the command line or as an MCP server for agents.
A Brave Search API subscription key is required. Put it in the
BRAVE_API_KEY environment variable; the key is sent to the API as the
X-Subscription-Token header and never appears in output. When the
variable is missing, every search fails with an error that names it.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Exit codes: 0 on success, 1 when a search fails (including a
missing BRAVE_API_KEY or an API error), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
Counts are clamped to the API's per-page limit of 20 and offsets to its maximum of 9. An empty result set is reported as such, not as an error; a missing key or a failed API call is reported as a tool error.
MIT — see LICENSE.
来源:README.md,提交 197c7f3
Run a general web search and return matching pages with titles, links, and excerpts.
countquery必填offsetSearch for nearby businesses and places and return their listing details.
countquery必填Search current news coverage and return matching stories with sources and summaries.
countquery必填Search for images matching a query and return image results with source pages.
countquery必填Search for videos matching a query and return video results with durations and sources.
countquery必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
npx @reneturcios/searchport web "trail running shoes"docker run -i -e BRAVE_API_KEY ghcr.io/cloudcorprecords/searchportexport BRAVE_API_KEY="your subscription key"
# General web search; --count is results per page (max 20),# --offset pages forward (max 9)searchport web "composting basics"searchport web "composting basics" --count 5 --offset 1
# The other four kinds take the same query and --countsearchport local "bakery near the mission" --count 5searchport news "trail network vote"searchport images "ridge sunrise"searchport videos "trail running form"
# Machine-readable output for any kindsearchport web "composting basics" --json
searchport --versionnpx -y @reneturcios/searchport mcp{ "mcpServers": { "searchport": { "command": "npx", "args": ["-y", "@reneturcios/searchport", "mcp"], "env": { "BRAVE_API_KEY": "your subscription key" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev # run the CLI from source via tsx