searchport
Integrates with the Brave Search API to provide web, local business, news, image, and video search tools. Supports query, result count, and offset controls for web search, and returns structured results including titles, URLs, excerpts, and kind-specific details such as story age, video duration, or local business address and rating.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@searchportsearch the web for trail running shoes under $150"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
searchport
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.
Install
npx @reneturcios/searchport web "trail running shoes"Or run the container image:
docker run -i -e BRAVE_API_KEY ghcr.io/cloudcorprecords/searchportThe container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Related MCP server: Brave Search MCP Server
CLI
export 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 --count
searchport local "bakery near the mission" --count 5
searchport news "trail network vote"
searchport images "ridge sunrise"
searchport videos "trail running form"
# Machine-readable output for any kind
searchport web "composting basics" --json
searchport --versionExit codes: 0 on success, 1 when a search fails (including a
missing BRAVE_API_KEY or an API error), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/searchport mcpMCP client configuration:
{
"mcpServers": {
"searchport": {
"command": "npx",
"args": ["-y", "@reneturcios/searchport", "mcp"],
"env": { "BRAVE_API_KEY": "your subscription key" }
}
}
}Tools
Tool | Input | What it returns |
|
| Web results as a numbered text block: title, URL, and excerpt per result. |
|
| Local listings: name, URL, and a detail line with address, phone, and rating when the API provides them. |
|
| News stories: headline, URL, summary, and the story's age. |
|
| Image results: title, source page URL, and the direct image URL. |
|
| Video results: title, URL, description, and duration. |
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.
Development
npm install
npm 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 tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Visit https://brave.com/search/api/ for a free API key. Search the web, local businesses, images,…
Scrape, crawl and search the web for AI agents via MCP.
Web search, scraping, RAG answers with citations, and translation as MCP tools.
Live AI-native web search with citations. One tool for every MCP client. Flat per-request pricing.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP Server implementation that integrates the Brave Search API, providing, Web Search, Local Points of Interest Search, Image Search, Video Search, News Search and LLM Context Search capabilities5219 npm130GPL 3.0

Brave Search MCP Serverofficial
AlicenseAqualityBmaintenanceAn MCP implementation that integrates the Brave Search API, providing comprehensive search capabilities including web, local business, image, video, news searches, and AI-powered summarization.834,601 npm1,547MIT- FlicenseBqualityDmaintenanceEnables web search and local business data retrieval through the Brave Search API. Provides tools for web search, local points of interest, and rich search results with customizable parameters.4-
- AlicenseNot gradedqualityNot gradedmaintenanceIntegrates Brave Search API to enable web, image, video, news, and local business searches with filtering options like result count and content freshness.219 npm-