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