mcp-prism-search
Integrates Brave Search as a keyed web search provider, allowing web_search to retrieve Brave results or include Brave in fallback/all-provider searches when BRAVE_API_KEY is configured.
Provides DuckDuckGo HTML/lite search providers and legacy ddg_search, plus ddg_deep_search for searching and fetching top result pages concurrently.
Integrates a self-hosted SearXNG instance as a search provider via SEARXNG_URL, enabling unlimited aggregated web search through that instance.
Provides keyless vertical search over Wikipedia through the vertical_search tool.
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., "@mcp-prism-search search all engines for the model context protocol and show me the top 10 results"
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.
web-search
MCP search aggregator: one query, refracted across many keyless search engines.
mcp-prism-search is a self-hosted Python MCP server (mcp SDK 2.x) that
aggregates web search from multiple keyless engines — Bing, DuckDuckGo
(HTML + lite), ddgs backends, FreeSerp, Keenable, Mwmbl, 4get, self-hosted
SearXNG — with automatic fallback chains, deterministic ranking, TTL caching,
SSRF-safe webpage fetching, and keyless vertical sources (Wikipedia,
HackerNews). Keyed providers with free tiers (Tavily, Exa, Brave, You.com,
Serper, Jina) plug in via env vars and are skipped when absent.
The client or agent reasons over the returned data; the server never calls LLMs, summarizes, or generates reports.
Documentation
Document | Contents |
Module map, request flow, layered SSRF/security model, domain controls, cache design | |
Dev setup, test suite layout, commands, conventions, semantic-release, dependency policy | |
Docker and docker-compose operation, HTTP hardening, health checks, LAN/proxy/tunnel examples, full env var reference |
Related MCP server: Search MCP Server
Tools
Tool | Description |
| Aggregated web search. |
| SSRF-safe webpage fetch with IP pinning, redirect validation, streamed byte cap, and clean text extraction. |
| Search once, fetch the top pages concurrently, return raw page text with progress notifications. |
| Search keyless vertical sources: |
| Legacy single-provider DuckDuckGo search (kept for compatibility). |
| Cache inspection, pruning, and clearing. |
All tools publish typed outputSchema and return validated
structuredContent. Provider failures surface as MCP isError results
(ToolError), with a provider_attempts tally for diagnostics.
Providers
Keyless (no configuration needed):
Provider | What it is |
| Bing SERP scraping — the most permissive engine from datacenter IPs |
| DuckDuckGo HTML and lite endpoints (IP-reputation dependent) |
| ddgs library multi-backend |
| FreeSerp own-index SERP (keyless JSON API) |
| Keenable web search with extracted text |
| Mwmbl community index (keyless, AGPL) |
| Keyless vertical sources |
Keyed (free tiers verified against official docs):
Provider | Free tier | Env var |
| 1,000 credits/month, or keyless mode |
|
| ~1,430 searches/month (no card) |
|
| ~1,000 searches/month (card required at signup, prepay $0) |
|
| $100 one-time credit |
|
| 2,500 Google SERP queries one-time |
|
| Search with full page content (10M token grant) |
|
| Unlimited (self-hosted) |
|
Providers whose key is missing are skipped automatically; only the keyless ones run.
Quick start
stdio (desktop MCP clients — no network, no token):
python3.12 -m venv .venv
.venv/bin/python -m pip install -e .
.venv/bin/python -m mcp_prism_search.serverStreamable HTTP (Docker compose — loopback-only by default):
MCP_AUTH_TOKEN=$(openssl rand -hex 32) docker compose up -d --build
curl -s http://127.0.0.1:49317/health # -> {"ok": true}Then call it from any MCP client at http://127.0.0.1:49317/mcp with
Authorization: Bearer <token>.
Search across every keyless engine at once:
{"query": "model context protocol", "provider": "all", "max_results": 15}Security
Layered SSRF defenses on every fetch: scheme allowlist, hostname and literal
IP blocklists (private, loopback, CGNAT, link-local, metadata), DNS
resolution checks with IP pinning (the validate-then-connect TOCTOU window is
closed), per-hop redirect re-validation with a 5-hop cap, streamed bodies
hard-capped at FETCH_MAX_BYTES, and Accept-Encoding: identity enforcement.
HTTP mode requires a bearer token and rejects known placeholder tokens at
startup. Full model: docs/architecture.md.
The server does not rotate proxies, bypass captchas, or attempt to evade rate limits: upstream blocks surface as structured errors instead.
Development
Python 3.12+, pytest (offline, 100+ tests), ruff. Conventional commits
drive semantic-release (automatic versioning, tags, releases, and
multi-arch Docker images).
python3.12 -m venv .venv && .venv/bin/python -m pip install -e '.[dev]'
.venv/bin/python -m pytest -q
.venv/bin/python -m ruff check src testsDetails: docs/development.md.
License
AGPL-3.0 — see LICENSE.
Available Tools
3 toolscache_statsCache StatsD
Inputs: no named parameters.
web_fetchWeb FetchD
Inputs: url (required), max_chars.
web_searchWeb SearchD
Inputs: query (required), provider, max_results, safe_search, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tool names target clearly different operations: web_search for discovery, web_fetch for retrieving a URL, and cache_stats for cache introspection. However, the complete absence of descriptions leaves some ambiguity about expected inputs, outputs, and when cache_stats should be used.
All names use consistent snake_case, which is predictable and readable. The only minor deviation is that web_fetch/web_search follow a resource_action pattern while cache_stats is a noun phrase, but this does not meaningfully hinder recognition.
Three tools is a reasonable minimum for a search/fetch server with cache observability. It is slightly thin, but each tool has a plausible distinct role and none appears redundant.
The core search and fetch operations are present, but the surface lacks obvious supporting operations such as cache clearing or fetch options. The presence of cache_stats without any cache management tool also creates a minor dead end.
Maintenance
Related MCP Connectors
Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.
Web search, page fetch and cited research for AI agents: 26 engines, 8 tools, one key, from $15/mo.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Agent-native search engine with live web research optimized for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceWeb search for AI agents across 6 engines (Serper, Brave, Exa, Tavily, Firecrawl, Perplexity) through one search tool. Routes each query to the cheapest engine that clears a quality bar and caches repeats. Hosted, streamable-HTTP, BYOK supported.11MIT
- AlicenseAqualityBmaintenanceEnables AI agents to perform unified web searches, GitHub, and GitLab searches with caching, reranking, and fallback across multiple providers.432 npm20MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to search the web and extract content using multiple search providers, with caching, retry logic, and options for JavaScript-heavy page rendering.-
- AlicenseAqualityBmaintenanceEnables AI agents to perform reliable web searches through multiple vendors with automatic failover, keyless-first access, TTL caching, and concurrent request coalescing.1MIT