PowerSearch MCP
Helps AI agents search the public web and fetch content with anti-bot measures, returning clean markdown outputs suitable for citation.
README
PowerSearch MCP
PowerSearch MCP helps AI agents search and retrieve content from the public web with fewer broken fetches and clean, AI-friendly outputs ready to cite.
TL;DR
Step 1: Clone the repository then run initialize the virtual environment:
git clone https://github.com/theobjectivedad/powersearch-mcp.git
Step 2: Initialize the virtual environment:
cd powersearch-mcp
make init
Step 3: Activate the virtual environment:
source .venv/bin/activate
Step 4: Create a .env file with your desired configuration, use example-configs/example.env as a starting point.
cp example-configs/example.env .env
Step 5: (Optional) run a local instance of SearXNG:
docker run -d \
--name searxng-local \
--pull=always \
--restart unless-stopped \
-p 127.0.0.1:9876:8080 \
--tmpfs /etc/searxng:rw,noexec,nosuid,size=16m \
--tmpfs /tmp:rw,noexec,nosuid,size=512m \
--cap-drop=ALL \
--security-opt=no-new-privileges:true \
--health-cmd='python3 -c "import urllib.request; urllib.request.urlopen(\"http://127.0.0.1:8080/\", timeout=3).read(1)"' \
--health-interval=10s \
--health-timeout=3s \
--health-retries=10 \
--health-start-period=15s \
--env SEARXNG_SETTINGS_PATH=/settings.yml \
--volume "$(pwd)/searxng.yaml:/settings.yml:ro" \
searxng/searxng
Step 6: Run PowerSearch via FastMCP:
fastmcp run \
src/powersearch_mcp/app.py \
--transport=streamable-http \
--skip-source \
--skip-env
Step 7: Point your AI agent at http://localhost:8099/mcp to start searching the web!
Feature Roadmap
- ✅ SearXNG-backed meta search with configurable engines, language, safe-search, and pagination
- ✅ Strong anti-bot fetching implementation via Scrapling and Camoufox
- ✅ Search response caching at the tool-level to memory, disk, and Redis storage backends
- ✅ Automatic retries with exponential backoff for both search and fetch operations
- ✅ AI Agent-friendly responses: HTML pages are converted to markdown automatically via Trafilatura
- ✅ Support for STDIO and streaming HTTP transports
- ✅ Health check endpoint for HTTP transport
- ✅ Extensive configuration suitable for many deployment scenarios
- ✅ Authentication support for both JWT and opaque tokens
- ✅ Authorization support for embedded Eunomia policies
- ✅ Auto summarization of search results via MCP sampling
- ✅ Optional server-side fallback for clients that don't support MCP sampling
- ✅ Public Docker image on Docker Hub
- 🗓️ (Future) Client selectable synchronous (current behavior) or asynchronous SEP-1686 execution for search / fetch tools
- 🗓️ (Future) Prometheus metrics exporter
- 🗓️ (Future) Helm chart
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.